MDEV-17399 JSON_TABLE.

test crashing after any_db assinged nonzero lenght fixed.
This commit is contained in:
Alexey Botchkov 2021-04-12 23:07:00 +04:00
parent 1db1f85996
commit 67b31a6e4c

View file

@ -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