diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-04-22 14:45:55 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-04-22 14:45:55 +0300 |
commit | 455cf6196c8c73f5a50004ac7f31a9be8ac14bbe (patch) | |
tree | 2d9d696bba2590c63278fee0047a046f58b51a31 /mysql-test/main/fulltext.test | |
parent | 42af2b1d8b8a8508c5aac5c2e0bcf4554c5200ce (diff) | |
parent | e52a36d37be2fa8a2da8a987cb38cb0bb65233f4 (diff) | |
download | mariadb-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.test | 14 |
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; |