Browse Source

fix mysqlest crash on ./mtr --sp innodb_fts.innodb-fts-stopword

bb-10.2-MDEV-23857
Sergei Golubchik 5 years ago
parent
commit
c9f9e38bb5
  1. 4
      client/mysqltest.cc

4
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))
{

Loading…
Cancel
Save