summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2012-11-01 17:23:06 +0100
committerTor Didriksen <tor.didriksen@oracle.com>2012-11-01 17:23:06 +0100
commit86c0a80b0dc961530d3376d21028510c180d2cbc (patch)
treefa77d300b92a13c2e2cb00a9c6bc09d904be00e1 /tests
parent40b8b951428bd91275234d67ebba858bdfb844cd (diff)
downloadmariadb-git-86c0a80b0dc961530d3376d21028510c180d2cbc.tar.gz
Bug#14840488 VALGRIND ERRORS IN MYSQL_CLIENT_TEST
Add missing DBUG_RETURNs, otherwise the debug-stack gets messed up, and _db_enter_ and _db_exit_ will access data outside the current stack frame.
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index c38695db1b1..e6544e99c7e 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -15278,6 +15278,7 @@ static void test_bug27876()
rc= mysql_query(mysql, "set names default");
myquery(rc);
+ DBUG_VOID_RETURN;
}