summaryrefslogtreecommitdiff
path: root/client/mysqltest.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2019-08-12 15:47:24 +0300
committerSergei Golubchik <serg@mariadb.org>2019-08-23 22:03:54 +0200
commit97dd057702d167559cdaee86eb0b1a455d925168 (patch)
tree08d714f224348c2829e5e78b9f0dd4b447485f45 /client/mysqltest.cc
parentb444b6b9100f8fff0d5b19597e21f35fe4c9d9cb (diff)
downloadmariadb-git-97dd057702d167559cdaee86eb0b1a455d925168.tar.gz
Fixed issues when running mtr with --valgrind
- Note that some issues was also fixed in 10.2 and 10.4. I also fixed them here to be able to continue with making 10.5 valgrind safe again - Disable connection threads warnings when doing shutdown
Diffstat (limited to 'client/mysqltest.cc')
-rw-r--r--client/mysqltest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index 5f28bf422e1..21f5780ffcb 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -10200,7 +10200,7 @@ void append_replace_regex(char* expr, char *expr_end, struct st_replace_regex* r
/* Allow variable for the *entire* list of replacements */
if (*p == '$')
{
- const char *v_end;
+ const char *v_end= 0;
VAR *val= var_get(p, &v_end, 0, 1);
if (val)