summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2015-05-18 17:34:50 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2015-05-20 11:43:43 +0200
commitc1fb91ef7386d09cc1f61a7c2a653e66200c82af (patch)
treee6640454cb373a4440e6ec80d38c02abf6c1e0ee /client
parent80333ad847d9f1708fa02fb47a976e96f014bc50 (diff)
downloadmariadb-git-c1fb91ef7386d09cc1f61a7c2a653e66200c82af.tar.gz
MDEV-7921: main.sp_sync fails in buildbot with valgrind
Part 1: first 2 cases of valgrind complain. context_analysis_only can be used on non-started LEX (opening tables) obviouse fixes in DBUG and is_lex_started assignment.
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index 5a54c67684b..07fab058470 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -2667,7 +2667,7 @@ void var_query_set(VAR *var, const char *query, const char** query_end)
report_or_die("Query '%s' didn't return a result set", ds_query.str);
dynstr_free(&ds_query);
eval_expr(var, "", 0);
- return;
+ DBUG_VOID_RETURN;
}
dynstr_free(&ds_query);