Commit 6a0c05b7 authored by Monty's avatar Monty

Fixed bugs in s3 test cases

parent 00bd52b1
......@@ -34,7 +34,7 @@ PARTITION BY KEY(pk) PARTITIONS 2;
CREATE VIEW v1 AS SELECT * FROM t1;
INSERT INTO t1 VALUES (NULL,'ill'),(NULL,'loop');
ALTER TABLE t1 ENGINE=S3;
connect con1,localhost,root,,test;
connect con1,localhost,root,,$database;
SELECT * FROM t1 WHERE c BETWEEN 'bar' AND 'foo';
connection default;
SELECT pk FROM v1;
......
......@@ -43,8 +43,7 @@ CREATE TABLE t1 (
CREATE VIEW v1 AS SELECT * FROM t1;
INSERT INTO t1 VALUES (NULL,'ill'),(NULL,'loop');
ALTER TABLE t1 ENGINE=S3;
--connect (con1,localhost,root,,test)
--connect (con1,localhost,root,,$database)
--send
SELECT * FROM t1 WHERE c BETWEEN 'bar' AND 'foo';
......
......@@ -6,7 +6,7 @@
--source include/master-slave.inc
--source create_database.inc
connection slave;
sync_slave_with_master;
let $MYSQLD_DATADIR= `select @@datadir`;
--replace_result $database database
--eval use $database
......
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