mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
handler interface cleanups:
more logical table/index_flags return HA_ERR_WRONG_COMMAND instead of abstract methods where appropriate max_keys and other limits renamed to max_supported_keys/etc max_keys/etc are now wrappers to max_supported_keys/etc ha_index_init/ha_rnd_init/ha_index_end/ha_rnd_end are now wrappers to real {index,rnd}_{init,end} to enforce strict pairing
This commit is contained in:
@ -90,7 +90,7 @@ public:
|
||||
int init()
|
||||
{
|
||||
key_part_info= head->key_info[index].key_part;
|
||||
return error=file->index_init(index);
|
||||
return error=file->ha_index_init(index);
|
||||
}
|
||||
virtual int get_next();
|
||||
virtual bool reverse_sorted() { return 0; }
|
||||
|
Reference in New Issue
Block a user