mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-15813 ASAN use-after-poison in hp_hashnr upon HANDLER READ on a versioned HEAP table.
Check index capabilities before executing HANDLER READ command.
This commit is contained in:
@@ -80,5 +80,6 @@ void mysql_ha_rm_temporary_tables(THD *thd);
|
||||
SQL_HANDLER *mysql_ha_read_prepare(THD *thd, TABLE_LIST *tables,
|
||||
enum enum_ha_read_modes mode,
|
||||
const char *keyname,
|
||||
List<Item> *key_expr, Item *cond);
|
||||
List<Item> *key_expr, enum ha_rkey_function ha_rkey_mode,
|
||||
Item *cond);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user