[Commits] 5a3bf84: MDEV-7692 MariaDB - mysql-test - SUITE:percona - percona.innodb_sys_index 'xtradb' fails - @@version_comment

elenst at montyprogram.com elenst at montyprogram.com
Thu Mar 12 18:55:54 EET 2015


revision-id: 5a3bf84468b386d4a784c468d32e7beaa0bef7d1
parent(s): 34f37aa0c0aa87cfb6908500e937516ff37ea6f0
committer: Elena Stepanova
branch nick: 5.5
timestamp: 2015-03-12 18:53:31 +0200
message:

MDEV-7692 MariaDB - mysql-test - SUITE:percona - percona.innodb_sys_index 'xtradb' fails - @@version_comment

The test checked version_comment which is not helpful, and it would
cause the mismatch on any build apart from default source builds.
Fixed by removing the check

---
 mysql-test/suite/percona/innodb_sys_index.result |    3 ---
 mysql-test/suite/percona/innodb_sys_index.test   |    1 -
 2 files changed, 4 deletions(-)

diff --git a/mysql-test/suite/percona/innodb_sys_index.result b/mysql-test/suite/percona/innodb_sys_index.result
index 8bf4fa7..1f1bd81 100644
--- a/mysql-test/suite/percona/innodb_sys_index.result
+++ b/mysql-test/suite/percona/innodb_sys_index.result
@@ -1,9 +1,6 @@
 drop table if exists t1;
 Warnings:
 Note	1051	Unknown table 't1'
-select @@version_comment limit 1 ;
-@@version_comment
-Source distribution
 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%' ;
diff --git a/mysql-test/suite/percona/innodb_sys_index.test b/mysql-test/suite/percona/innodb_sys_index.test
index 212baed..d8c22e7 100644
--- a/mysql-test/suite/percona/innodb_sys_index.test
+++ b/mysql-test/suite/percona/innodb_sys_index.test
@@ -5,7 +5,6 @@ drop table if exists t1;
 #
 # test for bug LP#875797 "Using 'innodb_sys_indexes' causes core dump"
 #
-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 ;


More information about the commits mailing list