summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/r/truncate.result
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-09-22 14:33:03 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-09-22 14:33:03 +0300
commitfde3d895d9dca494be9fa077835fb2f606a5f3d0 (patch)
tree88d575fb32e849aad9ce33bba064593d02613f7a /mysql-test/suite/innodb/r/truncate.result
parent2cf489d4305227115177b435ec536fe8f84daa6b (diff)
parent78efa1093076307946873f322b45a14d1ed5ffb0 (diff)
downloadmariadb-git-fde3d895d9dca494be9fa077835fb2f606a5f3d0.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'mysql-test/suite/innodb/r/truncate.result')
-rw-r--r--mysql-test/suite/innodb/r/truncate.result11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/truncate.result b/mysql-test/suite/innodb/r/truncate.result
index 0e5ffeea34f..180414f47c7 100644
--- a/mysql-test/suite/innodb/r/truncate.result
+++ b/mysql-test/suite/innodb/r/truncate.result
@@ -39,3 +39,14 @@ TRUNCATE t1;
SELECT * FROM t1;
a
DROP TEMPORARY TABLE t1;
+#
+# MDEV-23705 Assertion 'table->data_dir_path || !space'
+#
+CREATE TABLE t(c INT) ENGINE=InnoDB;
+ALTER TABLE t DISCARD TABLESPACE;
+RENAME TABLE t TO u;
+TRUNCATE u;
+Warnings:
+Warning 1814 Tablespace has been discarded for table `u`
+TRUNCATE u;
+DROP TABLE u;