Commit de9e3930 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

MDEV-20108: [ERROR] mysqld got signal 11 in st_select_lex::add_table_to_list

Use the same select as for usual table list (forgotten oracle mode parser fixed)
parent e9c1701e
......@@ -16934,7 +16934,7 @@ table_lock:
? MDL_SHARED_WRITE
: MDL_SHARED_NO_READ_WRITE;
if (unlikely(!Select->
if (unlikely(!Lex->current_select_or_default()->
add_table_to_list(thd, $1, $2, table_options,
lock_type, mdl_type)))
MYSQL_YYABORT;
......
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