mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
fix mysqlest crash on ./mtr --sp innodb_fts.innodb-fts-stopword
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user