summaryrefslogtreecommitdiff
path: root/mysql-test/main/fulltext.test
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-04-22 14:45:55 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-04-22 14:45:55 +0300
commit455cf6196c8c73f5a50004ac7f31a9be8ac14bbe (patch)
tree2d9d696bba2590c63278fee0047a046f58b51a31 /mysql-test/main/fulltext.test
parent42af2b1d8b8a8508c5aac5c2e0bcf4554c5200ce (diff)
parente52a36d37be2fa8a2da8a987cb38cb0bb65233f4 (diff)
downloadmariadb-git-455cf6196c8c73f5a50004ac7f31a9be8ac14bbe.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'mysql-test/main/fulltext.test')
-rw-r--r--mysql-test/main/fulltext.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/main/fulltext.test b/mysql-test/main/fulltext.test
index 2e53ce7f112..d52f13ab978 100644
--- a/mysql-test/main/fulltext.test
+++ b/mysql-test/main/fulltext.test
@@ -716,3 +716,17 @@ CREATE TABLE t1 (
CREATE FULLTEXT INDEX IF NOT EXISTS ft1 ON t1(title);
CREATE FULLTEXT INDEX IF NOT EXISTS ft1 ON t1(title);
DROP TABLE t1;
+
+--echo #
+--echo # MDEV-22275 (Memory leak)
+--echo #
+
+CREATE TEMPORARY TABLE tmp (a TEXT) ENGINE=MyISAM;
+ALTER TABLE tmp ADD FULLTEXT (a);
+INSERT INTO tmp VALUES ('foo');
+DROP TABLE tmp;
+
+CREATE TEMPORARY TABLE tmp (a TEXT) ENGINE=Aria;
+ALTER TABLE tmp ADD FULLTEXT (a);
+INSERT INTO tmp VALUES ('foo');
+DROP TABLE tmp;