Skip to content

Commit 59998d3

Browse files
committed
MDEV-23446 Missed error code fix
1 parent 3ffd5f2 commit 59998d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/sql_update.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2461,7 +2461,7 @@ int multi_update::send_data(List<Item> &not_used_values)
24612461
if (has_vers_fields && table->versioned(VERS_TIMESTAMP))
24622462
{
24632463
store_record(table, record[2]);
2464-
if (vers_insert_history_row(table))
2464+
if (unlikely(error= vers_insert_history_row(table)))
24652465
{
24662466
restore_record(table, record[2]);
24672467
goto error;

0 commit comments

Comments
 (0)