mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-30263 Assertion failure in Protocol::end_statement upon HANDLER READ with invalid timestamp
Process save_in_field() return codes as in other places (<0 is real error)
This commit is contained in:
@ -700,7 +700,7 @@ mysql_ha_fix_cond_and_key(SQL_HANDLER *handler,
|
||||
MY_BITMAP *old_map= dbug_tmp_use_all_columns(table, &table->write_set);
|
||||
int res= item->save_in_field(key_part->field, 1);
|
||||
dbug_tmp_restore_column_map(&table->write_set, old_map);
|
||||
if (res)
|
||||
if (res < 0 || thd->is_error())
|
||||
return 1;
|
||||
}
|
||||
key_len+= key_part->store_length;
|
||||
|
Reference in New Issue
Block a user