summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/mysqlcheck.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index 3e341f13e5a..b32e21ff18f 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -942,6 +942,7 @@ static int handle_request_for_tables(char *tables, size_t length,
DBUG_RETURN(1);
if (dont_quote)
{
+ DBUG_ASSERT(op);
DBUG_ASSERT(strlen(op)+strlen(tables)+strlen(options)+8+1 <= query_size);
/* No backticks here as we added them before */