mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
bug#30337 DELETE ... WHERE PK IN (..) and AFTER DELETE trigger crashes API node: Disable multi_read_range if there are after delete/update triggers
This commit is contained in:
parent
3afa32dc2b
commit
8dd40ef670
1 changed files with 2 additions and 1 deletions
|
@ -6464,7 +6464,8 @@ ha_ndbcluster::read_multi_range_first(KEY_MULTI_RANGE **found_range_p,
|
|||
if (uses_blob_value(m_retrieve_all_fields) ||
|
||||
(cur_index_type == UNIQUE_INDEX &&
|
||||
has_null_in_unique_index(active_index) &&
|
||||
null_value_index_search(ranges, ranges+range_count, buffer)))
|
||||
null_value_index_search(ranges, ranges+range_count, buffer))
|
||||
|| m_delete_cannot_batch || m_update_cannot_batch)
|
||||
{
|
||||
m_disable_multi_read= TRUE;
|
||||
DBUG_RETURN(handler::read_multi_range_first(found_range_p,
|
||||
|
|
Loading…
Reference in a new issue