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 INSERT INTO t1 (a,b) VALUES
8 ('MySQL from Tutorial','DBMS stands for DataBase ...') ,
9 ('when To Use MySQL Well','After that you went through a ...'),
10 ('where will Optimizing MySQL','what In this tutorial we will show ...'),
11 ('MySQL from Tutorial','DBMS stands for DataBase ...') ,
12 ('when To Use MySQL Well','After that you went through a ...'),
13 ('where will Optimizing MySQL','what In this tutorial we will show ...'),
14 ('MySQL from Tutorial','DBMS stands for DataBase ...') ,
15 ('when To Use MySQL Well','After that you went through a ...'),
16 ('where will Optimizing MySQL','what In this tutorial we will show ...');
17 SET @save_limit=@@GLOBAL.innodb_ft_result_cache_limit;
18 SET @save_dbug=@@debug_dbug;
19 SET debug_dbug="+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: Table handler out of memory
25 SELECT COUNT(*) FROM t1 WHERE MATCH (a,b) AGAINST ('"mysql database"' IN BOOLEAN MODE);
26 ERROR HY000: Table handler out of memory
27 SELECT COUNT(*) FROM t1 WHERE MATCH (a,b) AGAINST ('"mysql database" @ 5' IN BOOLEAN MODE);
28 ERROR HY000: Table handler out of memory
29 SET debug_dbug=@save_dbug;
30 DROP TABLE t1;
31 SET GLOBAL innodb_ft_result_cache_limit=@save_limit;