Commit 7ba8b2ae authored by Elena Stepanova's avatar Elena Stepanova

MDEV-4232 : percona.innodb_sys_index fails due to a wrong version_comment

parent 55da5f1f
...@@ -3,7 +3,7 @@ Warnings: ...@@ -3,7 +3,7 @@ Warnings:
Note 1051 Unknown table 't1' Note 1051 Unknown table 't1'
select @@version_comment limit 1 ; select @@version_comment limit 1 ;
@@version_comment @@version_comment
Source distribution, wsrep_X.Y.rZ Source distribution, wsrep_<version>
SELECT COUNT(*) FROM `information_schema`.`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 ; 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%' ; SHOW TABLE STATUS FROM `information_schema` LIKE 'INNODB\_SYS\_INDEXES%' ;
......
...@@ -5,7 +5,7 @@ drop table if exists t1; ...@@ -5,7 +5,7 @@ drop table if exists t1;
# #
# test for bug LP#875797 "Using 'innodb_sys_indexes' causes core dump" # test for bug LP#875797 "Using 'innodb_sys_indexes' causes core dump"
# #
--replace_regex /wsrep_[0-9]+\.[a-zA-Z0-9]+\.r[0-9X]+/wsrep_X.Y.rZ/ --replace_regex /wsrep_[0-9\.Xr]+/wsrep_<version>/
select @@version_comment limit 1 ; select @@version_comment limit 1 ;
--disable_result_log --disable_result_log
SELECT COUNT(*) FROM `information_schema`.`INNODB_SYS_INDEXES` ; SELECT COUNT(*) FROM `information_schema`.`INNODB_SYS_INDEXES` ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment