summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKentoku <kentokushiba@gmail.com>2019-04-09 05:40:14 +0900
committerKentoku <kentokushiba@gmail.com>2019-04-12 15:48:32 +0900
commit78f58ed1a0128f93e1eff582919fc246bb343a4c (patch)
tree3d44f77c8bb7d7d89d28c291f433aebf27350270
parentd14f8f4a9c6b2d9ae73b15b644d0b3d62cc52f55 (diff)
downloadmariadb-git-78f58ed1a0128f93e1eff582919fc246bb343a4c.tar.gz
Fix valgrind error caused by vp/spider.ha test.
-rw-r--r--storage/spider/spd_sys_table.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/spider/spd_sys_table.cc b/storage/spider/spd_sys_table.cc
index 8f8605b85bd..45dd4a06781 100644
--- a/storage/spider/spd_sys_table.cc
+++ b/storage/spider/spd_sys_table.cc
@@ -2427,6 +2427,7 @@ int spider_get_sys_tables_static_link_id(
) {
int error_num = 0;
DBUG_ENTER("spider_get_sys_tables_static_link_id");
+ *static_link_id = NULL;
if (
!table->field[24]->is_null() &&
(*static_link_id = get_field(mem_root, table->field[24]))