summaryrefslogtreecommitdiff
path: root/mysql-test/suite/gcol/r/gcol_select_myisam.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/gcol/r/gcol_select_myisam.result')
-rw-r--r--mysql-test/suite/gcol/r/gcol_select_myisam.result27
1 files changed, 11 insertions, 16 deletions
diff --git a/mysql-test/suite/gcol/r/gcol_select_myisam.result b/mysql-test/suite/gcol/r/gcol_select_myisam.result
index d5e4bdabb38..d0fe7fbd0d4 100644
--- a/mysql-test/suite/gcol/r/gcol_select_myisam.result
+++ b/mysql-test/suite/gcol/r/gcol_select_myisam.result
@@ -1122,27 +1122,25 @@ DROP TABLE t2, t3;
CREATE TABLE t1(a INT);
INSERT INTO t1 VALUES(2147483647);
ALTER TABLE t1 ADD COLUMN b SMALLINT AS (a) VIRTUAL;
-Warnings:
-Warning 1264 Out of range value for column 'b' at row 1
+ERROR 22003: Out of range value for column 'b' at row 1
ALTER TABLE t1 DROP COLUMN b;
+ERROR 42000: Can't DROP COLUMN `b`; check that it exists
ALTER TABLE t1 ADD COLUMN c SMALLINT AS (a) VIRTUAL;
-Warnings:
-Warning 1264 Out of range value for column 'c' at row 1
+ERROR 22003: Out of range value for column 'c' at row 1
ALTER TABLE t1 DROP COLUMN c;
+ERROR 42000: Can't DROP COLUMN `c`; check that it exists
ALTER TABLE t1 ADD COLUMN d SMALLINT AS (a) VIRTUAL;
-Warnings:
-Warning 1264 Out of range value for column 'd' at row 1
+ERROR 22003: Out of range value for column 'd' at row 1
ALTER TABLE t1 DROP COLUMN d;
+ERROR 42000: Can't DROP COLUMN `d`; check that it exists
ALTER TABLE t1 ADD COLUMN c INT AS(a) VIRTUAL;
ALTER TABLE t1 CHANGE c c SMALLINT AS(a) VIRTUAL;
-Warnings:
-Warning 1264 Out of range value for column 'c' at row 1
+ERROR 22003: Out of range value for column 'c' at row 1
ALTER TABLE t1 MODIFY c TINYINT AS(a) VIRTUAL;
-Warnings:
-Warning 1264 Out of range value for column 'c' at row 1
+ERROR 22003: Out of range value for column 'c' at row 1
SELECT * FROM t1;
a c
-2147483647 127
+2147483647 2147483647
DROP TABLE t1;
CREATE TABLE t1(a INT);
INSERT INTO t1 VALUES(2147483647);
@@ -1153,12 +1151,9 @@ ERROR 0A000: LOCK=NONE is not supported. Reason: COPY algorithm requires a lock.
ALTER TABLE t1 ADD COLUMN e SMALLINT AS (a) VIRTUAL, ALGORITHM=COPY, LOCK=NONE;
ERROR 0A000: LOCK=NONE is not supported. Reason: COPY algorithm requires a lock. Try LOCK=SHARED
ALTER TABLE t1 ADD COLUMN f SMALLINT AS (a) VIRTUAL, ALGORITHM=COPY, LOCK=SHARED;
-Warnings:
-Warning 1264 Out of range value for column 'f' at row 1
+ERROR 22003: Out of range value for column 'f' at row 1
ALTER TABLE t1 ADD COLUMN g SMALLINT AS (a) VIRTUAL, ALGORITHM=COPY, LOCK=EXCLUSIVE;
-Warnings:
-Warning 1264 Out of range value for column 'f' at row 1
-Warning 1264 Out of range value for column 'g' at row 1
+ERROR 22003: Out of range value for column 'g' at row 1
DROP TABLE t1;
#
# Bug#21980430 GCOLS: CRASHING