mirror of
https://github.com/MariaDB/server.git
synced 2025-05-07 04:01:59 +03:00
Merged lp:maria/maria-10.0-galera up to revision 3879. Added a new functions to handler API to forcefully abort_transaction, producing fake_trx_id, get_checkpoint and set_checkpoint for XA. These were added for future possiblity to add more storage engines that could use galera replication.
23 lines
1.0 KiB
Plaintext
23 lines
1.0 KiB
Plaintext
--source include/big_test.inc
|
|
--source include/have_xtradb.inc
|
|
|
|
drop table if exists t1;
|
|
#
|
|
# test for bug LP#875797 "Using 'innodb_sys_indexes' causes core dump"
|
|
#
|
|
# disable version_commit as it could contain wsrep
|
|
#select @@version_comment limit 1 ;
|
|
--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
|