Commit 65683807 authored by Monty's avatar Monty

Fixed usage of unitialised value error in test_sql_service

This caused valgrind errors when using plugins.test_sql_service
parent 6d6e721b
...@@ -129,6 +129,7 @@ void auditing(MYSQL_THD thd, unsigned int event_class, const void *ev) ...@@ -129,6 +129,7 @@ void auditing(MYSQL_THD thd, unsigned int event_class, const void *ev)
static int run_test(MYSQL_THD thd, struct st_mysql_sys_var *var, void *save, static int run_test(MYSQL_THD thd, struct st_mysql_sys_var *var, void *save,
struct st_mysql_value *value) struct st_mysql_value *value)
{ {
*(my_bool*) save= 0; /* Set value for sql_service_run_test */
return (test_passed= (do_tests() == 0)) == 0; return (test_passed= (do_tests() == 0)) == 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment