1
0
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:
Alexey Botchkov
2018-05-16 09:44:22 +04:00
parent cd15e764a8
commit a639eff594
10 changed files with 122 additions and 8 deletions

View File

@@ -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