diff options
author | Sergei Golubchik <serg@mariadb.org> | 2021-06-12 12:38:45 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-06-12 12:38:53 +0200 |
commit | c9f9e38bb52cea32ffef7585dfa089a407908a30 (patch) | |
tree | 9aac6b74a60a68f64a8ef983b4fea34ab15fed54 /client | |
parent | 887f46a618ac2351dbf9f391f13aca9ba6fa9c54 (diff) | |
download | mariadb-git-c9f9e38bb52cea32ffef7585dfa089a407908a30.tar.gz |
fix mysqlest crash on ./mtr --sp innodb_fts.innodb-fts-stopword
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc index 1587d7513b3..6d5b6ff31b6 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -8574,7 +8574,7 @@ void run_query(struct st_connection *cn, struct st_command *command, int flags) log_file.flush(); dynstr_set(&ds_res, 0); - if (view_protocol_enabled && + if (view_protocol_enabled && mysql && complete_query && match_re(&view_re, query)) { @@ -8620,7 +8620,7 @@ void run_query(struct st_connection *cn, struct st_command *command, int flags) dynstr_free(&query_str); } - if (sp_protocol_enabled && + if (sp_protocol_enabled && mysql && complete_query && match_re(&sp_re, query)) { |