-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 30c965f
- Loading branch information
Showing
4 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
storage/connect/mysql-test/connect/r/alter_not_embedded.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |