mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-18921 Server crashes in bitmap_bits_set or bitmap_is_set upon UPDATE IGNORE .. FOR PORTION with binary logging
The fix is same as for MDEV-18859: initialize table->rpl_write_set in FOR PORTION OF case.
This commit is contained in:
committed by
Sergei Golubchik
parent
7e3e2d060b
commit
5fc6ad95d4
@ -567,9 +567,14 @@ int mysql_update(THD *thd,
|
||||
goto err;
|
||||
|
||||
if (table_list->has_period())
|
||||
{
|
||||
table->use_all_columns();
|
||||
table->rpl_write_set= table->write_set;
|
||||
}
|
||||
else
|
||||
{
|
||||
table->mark_columns_needed_for_update();
|
||||
}
|
||||
|
||||
table->update_const_key_parts(conds);
|
||||
order= simple_remove_const(order, conds);
|
||||
|
Reference in New Issue
Block a user