diff options
author | Monty <monty@mariadb.org> | 2022-12-20 15:01:28 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2022-12-20 22:34:53 +0200 |
commit | 65683807e911bc3b5548b4a1163a58b0f9659027 (patch) | |
tree | 9f46bfbd1684138f500a710a62d08eb09b102b01 /plugin | |
parent | 6d6e721b60443ee3216011a97ca0712897bce860 (diff) | |
download | mariadb-git-65683807e911bc3b5548b4a1163a58b0f9659027.tar.gz |
Fixed usage of unitialised value error in test_sql_servicebb-10.7-monty
This caused valgrind errors when using plugins.test_sql_service
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/test_sql_service/test_sql_service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/test_sql_service/test_sql_service.c b/plugin/test_sql_service/test_sql_service.c index c2dbb93bf20..8b326c6fa46 100644 --- a/plugin/test_sql_service/test_sql_service.c +++ b/plugin/test_sql_service/test_sql_service.c @@ -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; } |