Skip to content
/ server Public
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions mysql-test/suite/s3/clone.result
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
DROP TABLE IF EXISTS t1;
#
# SELECT using ror_merged scan fails with s3 tables
#
DROP TABLE IF EXISTS t1;
Warnings:
Note 1051 Unknown table 'test.t1'
CREATE TABLE t1 (a INT, b INT, KEY(a), KEY(b)) ENGINE=Aria;
INSERT INTO t1 VALUES (0,0),(0,10),(3,10);
ALTER TABLE t1 ENGINE=S3;
Expand Down
11 changes: 10 additions & 1 deletion mysql-test/suite/s3/clone.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,22 @@
--source include/have_sequence.inc
--source include/have_innodb.inc

#
# Create unique database for running the tests
#
--source create_database.inc
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings

--echo #
--echo # SELECT using ror_merged scan fails with s3 tables
--echo #

DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a INT, b INT, KEY(a), KEY(b)) ENGINE=Aria;
INSERT INTO t1 VALUES (0,0),(0,10),(3,10);
ALTER TABLE t1 ENGINE=S3;
SELECT * FROM t1 WHERE a = 99 OR b = 2;
DROP TABLE t1;

--source drop_database.inc