summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKentoku SHIBA <kentokushiba@gmail.com>2020-08-26 22:25:26 +0900
committerKentoku SHIBA <kentokushiba@gmail.com>2020-08-26 22:26:51 +0900
commit05aa7ae7ba667ae9f35ad762ea435a67dcc58c0d (patch)
tree3a16189b9d739d67d45590b87b39693221e6ba75
parentb47d61d04fe59368a4d2c2de1bd04d9a8b5a20e5 (diff)
downloadmariadb-git-05aa7ae7ba667ae9f35ad762ea435a67dcc58c0d.tar.gz
Fix a compiler warning
-rw-r--r--storage/spider/spd_ping_table.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/spider/spd_ping_table.cc b/storage/spider/spd_ping_table.cc
index 18d60fddb5d..f220a9d97c2 100644
--- a/storage/spider/spd_ping_table.cc
+++ b/storage/spider/spd_ping_table.cc
@@ -759,6 +759,7 @@ int spider_get_ping_table_gtid_pos(
if (spider_sys_open_and_lock_tables(thd, &tables,
&open_tables_backup_tables))
{
+ error_num = my_errno;
goto error_open_table_tables;
}
table_tables = tables_tables.table;