mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
MDEV-9606 Server crashes in fix_fields, main.null fails with ps-protocol #2
This commit is contained in:
parent
e6d51aac77
commit
216b5cc9b6
1 changed files with 2 additions and 1 deletions
|
@ -2708,7 +2708,8 @@ Item_func_nullif::fix_length_and_dec()
|
|||
m_cache->setup(current_thd, args[0]);
|
||||
m_cache->store(args[0]);
|
||||
m_cache->set_used_tables(args[0]->used_tables());
|
||||
args[0]= args[2]= m_cache;
|
||||
thd->change_item_tree(&args[0], m_cache);
|
||||
thd->change_item_tree(&args[2], m_cache);
|
||||
}
|
||||
set_handler_by_field_type(args[2]->field_type());
|
||||
collation.set(args[2]->collation);
|
||||
|
|
Loading…
Reference in a new issue