Skip to content
Permalink
Browse files
Fixed usage of unitialised value error in test_sql_service
This caused valgrind errors when using plugins.test_sql_service
  • Loading branch information
montywi committed Dec 20, 2022
1 parent 6d6e721 commit 6568380
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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,
struct st_mysql_value *value)
{
*(my_bool*) save= 0; /* Set value for sql_service_run_test */
return (test_passed= (do_tests() == 0)) == 0;
}

0 comments on commit 6568380

Please sign in to comment.