summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb_fts
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-02-10 14:31:39 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2020-02-10 14:31:39 +0100
commit594282a534ed6b3693e9d86668fb1ee55a311aab (patch)
treec93d7d6110ff853d2ec0d27b9cbd30a76eca2fcc /mysql-test/suite/innodb_fts
parentb08579aa28d979e9e45239ff507c22a3399c92a7 (diff)
parent716161ea03c5018f308017dd9279731a322e26bc (diff)
downloadmariadb-git-594282a534ed6b3693e9d86668fb1ee55a311aab.tar.gz
Merge branch '10.1' into 10.2
Diffstat (limited to 'mysql-test/suite/innodb_fts')
-rw-r--r--mysql-test/suite/innodb_fts/r/misc_debug2.result6
-rw-r--r--mysql-test/suite/innodb_fts/t/misc_debug2.test11
2 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb_fts/r/misc_debug2.result b/mysql-test/suite/innodb_fts/r/misc_debug2.result
new file mode 100644
index 00000000000..e9daa2d6b30
--- /dev/null
+++ b/mysql-test/suite/innodb_fts/r/misc_debug2.result
@@ -0,0 +1,6 @@
+call mtr.add_suppression("InnoDB: Table '.*' tablespace is set as discarded.");
+CREATE TABLE mdev21563(f1 VARCHAR(100), FULLTEXT idx(f1))ENGINE=InnoDB;
+set debug_dbug="+d,fts_instrument_sync_request";
+INSERT INTO mdev21563 VALUES('This is a test');
+ALTER TABLE mdev21563 DISCARD TABLESPACE;
+DROP TABLE mdev21563;
diff --git a/mysql-test/suite/innodb_fts/t/misc_debug2.test b/mysql-test/suite/innodb_fts/t/misc_debug2.test
new file mode 100644
index 00000000000..31c026e3db9
--- /dev/null
+++ b/mysql-test/suite/innodb_fts/t/misc_debug2.test
@@ -0,0 +1,11 @@
+--source include/have_innodb.inc
+--source include/have_debug.inc
+--source include/not_embedded.inc
+call mtr.add_suppression("InnoDB: Table '.*' tablespace is set as discarded.");
+
+CREATE TABLE mdev21563(f1 VARCHAR(100), FULLTEXT idx(f1))ENGINE=InnoDB;
+set debug_dbug="+d,fts_instrument_sync_request";
+INSERT INTO mdev21563 VALUES('This is a test');
+ALTER TABLE mdev21563 DISCARD TABLESPACE;
+--source include/restart_mysqld.inc
+DROP TABLE mdev21563;