diff options
Diffstat (limited to 'client/mysqltest.cc')
-rw-r--r-- | client/mysqltest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc index 9fc692d0d04..b2fcb8fe39e 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -5434,7 +5434,9 @@ void do_block(enum block_cmd cmd, struct st_command* command) if (*expr_start == '!') { not_expr= TRUE; - expr_start++; /* Step past the '!' */ + expr_start++; /* Step past the '!', then any whitespace */ + while (*expr_start && my_isspace(charset_info, *expr_start)) + expr_start++; } /* Find ending ')' */ expr_end= strrchr(expr_start, ')'); |