Commit 67b31a6e authored by Alexey Botchkov's avatar Alexey Botchkov

MDEV-17399 JSON_TABLE.

test crashing after any_db assinged nonzero lenght fixed.
parent 1db1f859
......@@ -132,7 +132,7 @@ static int show_create_db(THD *thd, LEX *lex);
static bool alter_routine(THD *thd, LEX *lex);
static bool drop_routine(THD *thd, LEX *lex);
const LEX_CSTRING any_db= {"*any*", 0};
const LEX_CSTRING any_db= {STRING_WITH_LEN("*any*")};
const LEX_CSTRING command_name[257]={
{ STRING_WITH_LEN("Sleep") }, //0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment