1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-11071: Assertion `thd->transaction.stmt.is_empty()' failed in Locked_tables_list::unlock_locked_table

fix_length_and_dec now return result (error/OK)
This commit is contained in:
Oleksandr Byelkin
2018-05-08 15:26:26 +02:00
parent c55de8d40b
commit 6b8802e8dd
26 changed files with 778 additions and 518 deletions

View File

@ -13527,7 +13527,8 @@ COND *Item_func_eq::build_equal_items(THD *thd,
List_iterator_fast<Item_equal> it(cond_equal.current_level);
while ((item_equal= it++))
{
item_equal->fix_length_and_dec();
if (item_equal->fix_length_and_dec())
return NULL;
item_equal->update_used_tables();
set_if_bigger(thd->lex->current_select->max_equal_elems,
item_equal->n_field_items());