2011-11-24 18:07:36 +01:00
|
|
|
--source include/big_test.inc
|
2012-02-23 07:50:11 +01:00
|
|
|
--source include/have_xtradb.inc
|
2011-11-24 18:07:36 +01:00
|
|
|
|
|
|
|
drop table if exists t1;
|
|
|
|
#
|
|
|
|
# test for bug LP#875797 "Using 'innodb_sys_indexes' causes core dump"
|
|
|
|
#
|
|
|
|
--disable_result_log
|
|
|
|
SELECT COUNT(*) FROM `information_schema`.`INNODB_SYS_INDEXES` ;
|
|
|
|
CREATE TABLE test.t1 ( `a` SERIAL NOT NULL , `b` VARCHAR( 255 ) NOT NULL , INDEX ( `b` ) ) ENGINE = InnoDB ;
|
|
|
|
SHOW TABLE STATUS FROM `information_schema` LIKE 'INNODB\_SYS\_INDEXES%' ;
|
|
|
|
drop table test.t1;
|
|
|
|
SHOW TABLE STATUS FROM `information_schema` LIKE 'INNODB\_SYS\_INDEXES%' ;
|
|
|
|
SELECT COUNT(*) FROM `information_schema`.`INNODB_SYS_INDEXES` ;
|
|
|
|
CREATE TABLE test.t1 ( `a` SERIAL NOT NULL , `b` VARCHAR( 255 ) NOT NULL , INDEX ( `b` ) ) ENGINE = InnoDB ;
|
|
|
|
SHOW TABLE STATUS FROM `information_schema` LIKE 'INNODB\_SYS\_INDEXES%' ;
|
|
|
|
SELECT COUNT(*) FROM `information_schema`.`INNODB_SYS_INDEXES` ;
|
|
|
|
drop table test.t1;
|
|
|
|
SHOW TABLE STATUS FROM `information_schema` LIKE 'INNODB\_SYS\_INDEXES%' ;
|
|
|
|
--enable_result_log
|