summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb/r/change_column_char_null.result
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/mysql-test/tokudb/r/change_column_char_null.result')
-rw-r--r--storage/tokudb/mysql-test/tokudb/r/change_column_char_null.result31
1 files changed, 31 insertions, 0 deletions
diff --git a/storage/tokudb/mysql-test/tokudb/r/change_column_char_null.result b/storage/tokudb/mysql-test/tokudb/r/change_column_char_null.result
new file mode 100644
index 00000000000..e048f10df10
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb/r/change_column_char_null.result
@@ -0,0 +1,31 @@
+DROP TABLE IF EXISTS t;
+SET SESSION TOKUDB_DISABLE_SLOW_ALTER=ON;
+SET SESSION DEFAULT_STORAGE_ENGINE='TokuDB';
+CREATE TABLE t (a CHAR(100), b BINARY(100));
+ALTER TABLE t CHANGE COLUMN a a CHAR(1) NOT NULL;
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+ALTER TABLE t CHANGE COLUMN a a CHAR(100) NOT NULL;
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+ALTER TABLE t CHANGE COLUMN a a CHAR(200) NOT NULL;
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+ALTER TABLE t CHANGE COLUMN b b BINARY(1) NOT NULL;
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+ALTER TABLE t CHANGE COLUMN b b BINARY(100) NOT NULL;
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+ALTER TABLE t CHANGE COLUMN b b BINARY(200) NOT NULL;
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+DROP TABLE t;
+CREATE TABLE t (a CHAR(100) NOT NULL, b CHAR(100) NOT NULL);
+ALTER TABLE t CHANGE COLUMN a a CHAR(1);
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+ALTER TABLE t CHANGE COLUMN a a CHAR(100);
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+ALTER TABLE t CHANGE COLUMN a a CHAR(200);
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+ALTER TABLE t CHANGE COLUMN b b BINARY(1);
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+ALTER TABLE t CHANGE COLUMN b b BINARY(100);
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+ALTER TABLE t CHANGE COLUMN b b BINARY(200);
+ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
+DROP TABLE t;