mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-20207: Assertion ! is_set() failed in Diagnostics_area::set_eof_status
upon HANDLER READ Analysis: The error state is not stored while checking condition and key name. Fix: Return true while checking condition and key name if error is reported because geometry object can't be created from the data in the index value for HANDLER READ.
This commit is contained in:
@ -613,8 +613,10 @@ mysql_ha_fix_cond_and_key(SQL_HANDLER *handler,
|
||||
if (!in_prepare)
|
||||
{
|
||||
MY_BITMAP *old_map= dbug_tmp_use_all_columns(table, &table->write_set);
|
||||
(void) item->save_in_field(key_part->field, 1);
|
||||
int res= item->save_in_field(key_part->field, 1);
|
||||
dbug_tmp_restore_column_map(&table->write_set, old_map);
|
||||
if (res)
|
||||
return 1;
|
||||
}
|
||||
key_len+= key_part->store_length;
|
||||
keypart_map= (keypart_map << 1) | 1;
|
||||
|
Reference in New Issue
Block a user