Skip to content

Commit 6a0c05b

Browse files
committed
Fixed bugs in s3 test cases
1 parent 00bd52b commit 6a0c05b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

mysql-test/suite/s3/alter2.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ PARTITION BY KEY(pk) PARTITIONS 2;
3434
CREATE VIEW v1 AS SELECT * FROM t1;
3535
INSERT INTO t1 VALUES (NULL,'ill'),(NULL,'loop');
3636
ALTER TABLE t1 ENGINE=S3;
37-
connect con1,localhost,root,,test;
37+
connect con1,localhost,root,,$database;
3838
SELECT * FROM t1 WHERE c BETWEEN 'bar' AND 'foo';
3939
connection default;
4040
SELECT pk FROM v1;

mysql-test/suite/s3/alter2.test

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ CREATE TABLE t1 (
4343
CREATE VIEW v1 AS SELECT * FROM t1;
4444
INSERT INTO t1 VALUES (NULL,'ill'),(NULL,'loop');
4545
ALTER TABLE t1 ENGINE=S3;
46-
47-
--connect (con1,localhost,root,,test)
46+
--connect (con1,localhost,root,,$database)
4847
--send
4948
SELECT * FROM t1 WHERE c BETWEEN 'bar' AND 'foo';
5049

mysql-test/suite/s3/replication_partition.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
--source include/master-slave.inc
77
--source create_database.inc
88

9-
connection slave;
9+
sync_slave_with_master;
1010
let $MYSQLD_DATADIR= `select @@datadir`;
1111
--replace_result $database database
1212
--eval use $database

0 commit comments

Comments
 (0)