summaryrefslogtreecommitdiff
path: root/mysql-test/r/fulltext2.result
diff options
context:
space:
mode:
authorunknown <svoj@april.(none)>2006-01-23 17:15:33 +0400
committerunknown <svoj@april.(none)>2006-01-23 17:15:33 +0400
commit0ee28e1a4daca25f85ced473b2014e868ae341f8 (patch)
tree7013861d559c88de296287529f44f879fce85354 /mysql-test/r/fulltext2.result
parentffe11393c9ce64a064faa2b85d3fb78de9adc013 (diff)
downloadmariadb-git-0ee28e1a4daca25f85ced473b2014e868ae341f8.tar.gz
BUG#16489 - utf8 + fulltext leads to corrupt index file.
Fixed that UPDATE statement crashes multi-byte charset fulltext index. myisam/ft_update.c: Fixed that UPDATE statement crashes multi-byte charset fulltext index. While updating, always rewrite multi-byte charset fulltext index. mysql-test/r/fulltext2.result: Added a testcase for BUG#16489. mysql-test/t/fulltext2.test: Added a testcase for BUG#16489.
Diffstat (limited to 'mysql-test/r/fulltext2.result')
-rw-r--r--mysql-test/r/fulltext2.result5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/fulltext2.result b/mysql-test/r/fulltext2.result
index 72c6b2d22ed..f6a4b20bc22 100644
--- a/mysql-test/r/fulltext2.result
+++ b/mysql-test/r/fulltext2.result
@@ -234,5 +234,10 @@ insert into t1 values('test test '),('test'),('test'),('test'),
('test'),('test'),('test'),('test'),('test'),('test'),('test'),('test'),
('test'),('test'),('test'),('test'),('test'),('test'),('test'),('test');
delete from t1 limit 1;
+truncate table t1;
+insert into t1 values('ab c d');
+update t1 set a='ab c d';
+select * from t1 where match a against('ab c' in boolean mode);
+a
drop table t1;
set names latin1;