summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/r
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-11-26 14:05:15 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-11-26 14:05:15 +0200
commit1afed2077491329797dd577c5b1e6594e4a82f65 (patch)
treea6869ae2e32dc2a7db8e01e2a69f3e350da831ee /mysql-test/suite/innodb/r
parent06972b2fbc3d3ae77e8a7ca4558d2e9ee64eba6d (diff)
parent9669536c2355efb6f71babc9d2e615e9125c816b (diff)
downloadmariadb-git-1afed2077491329797dd577c5b1e6594e4a82f65.tar.gz
Merge 10.2 into 10.3
The test galera_sst_mariabackup_table_options was disabled, because the server refuses to start up due to wrong parameters.
Diffstat (limited to 'mysql-test/suite/innodb/r')
-rw-r--r--mysql-test/suite/innodb/r/truncate.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/truncate.result b/mysql-test/suite/innodb/r/truncate.result
index 3ade1e7f8de..c8a81256d79 100644
--- a/mysql-test/suite/innodb/r/truncate.result
+++ b/mysql-test/suite/innodb/r/truncate.result
@@ -6,3 +6,15 @@ connection default;
TRUNCATE TABLE t;
disconnect dml;
DROP TABLE t;
+#
+# MDEV-17816 Crash in TRUNCATE TABLE when table creation fails
+#
+CREATE TABLE t1 (c VARCHAR(1024), KEY(c)) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
+INSERT INTO t1 SET c='character';
+ALTER TABLE t1 ROW_FORMAT=REDUNDANT;
+TRUNCATE TABLE t1;
+ERROR HY000: Index column size too large. The maximum column size is 767 bytes
+SELECT * FROM t1;
+c
+character
+DROP TABLE t1;