Debian Codegraph @

mysql-test/suite/innodb_fts/r/result_cache_limit.result

raw
1 CREATE TABLE t1 (
2 id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,
3 a VARCHAR(200),
4 b TEXT
5 ) ENGINE= InnoDB;
6 CREATE FULLTEXT INDEX idx on t1 (a,b);
7 Warnings:
8 Warning 124 InnoDB rebuilding table to add column FTS_DOC_ID
9 INSERT INTO t1 (a,b) VALUES
10 ('MySQL from Tutorial','DBMS stands for DataBase ...') ,
11 ('when To Use MySQL Well','After that you went through a ...'),
12 ('where will Optimizing MySQL','what In this tutorial we will show ...'),
13 ('MySQL from Tutorial','DBMS stands for DataBase ...') ,
14 ('when To Use MySQL Well','After that you went through a ...'),
15 ('where will Optimizing MySQL','what In this tutorial we will show ...'),
16 ('MySQL from Tutorial','DBMS stands for DataBase ...') ,
17 ('when To Use MySQL Well','After that you went through a ...'),
18 ('where will Optimizing MySQL','what In this tutorial we will show ...');
19 SET SESSION debug="+d,fts_instrument_result_cache_limit";
20 SELECT COUNT(*) FROM t1 WHERE MATCH (a,b) AGAINST ('mysql' IN BOOLEAN MODE);
21 COUNT(*)
22 9
23 SELECT COUNT(*) FROM t1 WHERE MATCH (a,b) AGAINST ('mysql' WITH QUERY EXPANSION);
24 ERROR HY000: FTS query exceeds result cache limit
25 SELECT COUNT(*) FROM t1 WHERE MATCH (a,b) AGAINST ('"mysql database"' IN BOOLEAN MODE);
26 ERROR HY000: FTS query exceeds result cache limit
27 SELECT COUNT(*) FROM t1 WHERE MATCH (a,b) AGAINST ('"mysql database" @ 5' IN BOOLEAN MODE);
28 ERROR HY000: FTS query exceeds result cache limit
29 SET SESSION debug="-d,fts_instrument_result_cache_limit";
30 DROP TABLE t1;
31 SET GLOBAL innodb_ft_result_cache_limit=default;