mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
InnoDB support for HANDLER
mysql-test/r/innodb.result: remove handler test from innodb.test mysql-test/t/innodb.test: remove handler test from innodb.test sql/ha_innodb.cc: HANDLER support sql/ha_innodb.h: HANDLER support sql/handler.h: HANDLER support for InnoDB sql/sql_handler.cc: HANDLER support for InnoDB
This commit is contained in:
@ -117,6 +117,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
|
||||
keyname,tables->name);
|
||||
return -1;
|
||||
}
|
||||
table->file->index_init(keyno);
|
||||
}
|
||||
|
||||
List<Item> list;
|
||||
@ -127,7 +128,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
|
||||
|
||||
insert_fields(thd,tables,tables->db,tables->name,&it);
|
||||
|
||||
table->file->index_init(keyno);
|
||||
table->file->init_table_handle_for_HANDLER(); // Only InnoDB requires it
|
||||
|
||||
select_limit+=offset_limit;
|
||||
send_fields(thd,list,1);
|
||||
|
Reference in New Issue
Block a user