mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
33 lines
854 B
Text
33 lines
854 B
Text
# t/handler_innodb.test
|
|
#
|
|
# test of HANDLER ...
|
|
#
|
|
# Last update:
|
|
# 2006-07-31 ML test refactored (MySQL 5.1)
|
|
# code of t/handler.test and t/innodb_handler.test united
|
|
# main testing code put into handler.inc
|
|
# rename t/innodb_handler.test to t/handler_innodb.test
|
|
#
|
|
|
|
if (`select plugin_auth_version < "5.6.15" from information_schema.plugins where plugin_name='innodb'`)
|
|
{
|
|
--skip Not fixed in InnoDB before 5.6.15
|
|
}
|
|
|
|
--source include/have_innodb.inc
|
|
|
|
let $engine_type= InnoDB;
|
|
|
|
--source init.inc
|
|
--source handler.inc
|
|
|
|
#
|
|
# LP#697610 ha_index_prev(uchar*): Assertion `inited==INDEX'
|
|
#
|
|
|
|
CREATE TABLE t1 (f1 integer, f2 integer, primary key (f1), key (f2)) engine=innodb;
|
|
INSERT INTO t1 VALUES (1,1),(2,2),(3,3);
|
|
HANDLER t1 OPEN;
|
|
HANDLER t1 READ FIRST WHERE f2 <= 1;
|
|
HANDLER t1 READ `PRIMARY` PREV;
|
|
DROP TABLE t1;
|