1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

multi_delete: fix unlikely -> likely

This commit is contained in:
Nikita Malyavin
2024-04-25 23:35:44 +02:00
parent 55a39f13e4
commit f8ac3a7c0e

View File

@@ -1612,7 +1612,7 @@ int multi_delete::do_table_deletes(TABLE *table, SORT_INFO *sort_info,
during ha_delete_row.
Also, don't execute the AFTER trigger if the row operation failed.
*/
if (unlikely(!local_error))
if (likely(!local_error))
{
deleted++;
if (table->triggers &&