Moved test for online alter in connect to separate test
This was needed as mtr --embedded connect.alter failed as online is ignored for embedder server. This fixes a wrong commit 30c965f8664cd0aad44847c0b99b618d385c2ffe
This commit is contained in:
parent
aea1af0df6
commit
058510a62f
@ -272,11 +272,3 @@ line
|
||||
2Two
|
||||
3Three
|
||||
DROP TABLE t1, t2;
|
||||
# MDEV-31777 ER_GET_ERRNO upon online alter with concurrent DML on
|
||||
# CONNECT table
|
||||
CREATE TABLE t (a INT) ENGINE=CONNECT TABLE_TYPE=DOS;
|
||||
Warnings:
|
||||
Warning 1105 No file name. Table will use t.dos
|
||||
ALTER TABLE t FORCE, ALGORITHM=COPY, LOCK=NONE;
|
||||
ERROR 0A000: LOCK=NONE is not supported. Reason: CONNECT. Try LOCK=SHARED
|
||||
DROP TABLE t;
|
||||
|
@ -0,0 +1,8 @@
|
||||
# MDEV-31777 ER_GET_ERRNO upon online alter with concurrent DML on
|
||||
# CONNECT table
|
||||
CREATE TABLE t (a INT) ENGINE=CONNECT TABLE_TYPE=DOS;
|
||||
Warnings:
|
||||
Warning 1105 No file name. Table will use t.dos
|
||||
ALTER TABLE t FORCE, ALGORITHM=COPY, LOCK=NONE;
|
||||
ERROR 0A000: LOCK=NONE is not supported. Reason: CONNECT. Try LOCK=SHARED
|
||||
DROP TABLE t;
|
@ -133,14 +133,6 @@ SELECT * from t2;
|
||||
|
||||
DROP TABLE t1, t2;
|
||||
|
||||
|
||||
--echo # MDEV-31777 ER_GET_ERRNO upon online alter with concurrent DML on
|
||||
--echo # CONNECT table
|
||||
CREATE TABLE t (a INT) ENGINE=CONNECT TABLE_TYPE=DOS;
|
||||
--error ER_ALTER_OPERATION_NOT_SUPPORTED_REASON
|
||||
ALTER TABLE t FORCE, ALGORITHM=COPY, LOCK=NONE;
|
||||
DROP TABLE t;
|
||||
|
||||
#
|
||||
# Clean up
|
||||
#
|
||||
|
@ -0,0 +1,9 @@
|
||||
# Disable test for embedded as 'online' is ignored
|
||||
--source include/not_embedded.inc
|
||||
|
||||
--echo # MDEV-31777 ER_GET_ERRNO upon online alter with concurrent DML on
|
||||
--echo # CONNECT table
|
||||
CREATE TABLE t (a INT) ENGINE=CONNECT TABLE_TYPE=DOS;
|
||||
--error ER_ALTER_OPERATION_NOT_SUPPORTED_REASON
|
||||
ALTER TABLE t FORCE, ALGORITHM=COPY, LOCK=NONE;
|
||||
DROP TABLE t;
|
Loading…
x
Reference in New Issue
Block a user