Debian Codegraph @

mysql-test/suite/innodb_fts/r/innodb_fts_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 @saved_debug_dbug = @@SESSION.debug_dbug;
18 SET SESSION debug_dbug="+d,fts_instrument_result_cache_limit";
19 SELECT COUNT(*) FROM t1 WHERE MATCH (a,b) AGAINST ('mysql' IN BOOLEAN MODE);
20 COUNT(*)
21 9
22 SELECT COUNT(*) FROM t1 WHERE MATCH (a,b) AGAINST ('mysql' WITH QUERY EXPANSION);
23 ERROR HY000: Table handler out of memory
24 SELECT COUNT(*) FROM t1 WHERE MATCH (a,b) AGAINST ('"mysql database"' IN BOOLEAN MODE);
25 ERROR HY000: Table handler out of memory
26 SELECT COUNT(*) FROM t1 WHERE MATCH (a,b) AGAINST ('"mysql database" @ 5' IN BOOLEAN MODE);
27 ERROR HY000: Table handler out of memory
28 SET SESSION debug_dbug=@saved_debug_dbug;
29 DROP TABLE t1;
30 SET GLOBAL innodb_ft_result_cache_limit=default;