Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rt_mem_limit is now saved in the index header; rt_mem_limit is now re…
…configurable in rt mode
- Loading branch information
Showing
7 changed files
with
134 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
a:1:{i:0;a:14:{i:0;a:2:{s:8:"sphinxql";s:46:"create table test1 ( title text, tag integer )";s:14:"total_affected";i:0;}i:1;a:2:{s:8:"sphinxql";s:45:"insert into test1 values (1, 'word form', 11)";s:14:"total_affected";i:1;}i:2;a:2:{s:8:"sphinxql";s:46:"select * from test1 where match ( 'wordform' )";s:10:"total_rows";i:0;}i:3;a:2:{s:8:"sphinxql";s:45:"alter table test1 wordforms = 'wordforms.txt'";s:14:"total_affected";i:0;}i:4;a:2:{s:8:"sphinxql";s:45:"insert into test1 values (2, 'word form', 11)";s:14:"total_affected";i:1;}i:5;a:3:{s:8:"sphinxql";s:46:"select * from test1 where match ( 'wordform' )";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:3:{s:2:"id";s:1:"2";s:3:"tag";s:2:"11";s:5:"title";s:9:"word form";}}}i:6;a:2:{s:8:"sphinxql";s:64:"CREATE TABLE test11 (title TEXT, category INT) min_infix_len='4'";s:14:"total_affected";i:0;}i:7;a:2:{s:8:"sphinxql";s:31:"CREATE TABLE test12 LIKE test11";s:14:"total_affected";i:0;}i:8;a:2:{s:8:"sphinxql";s:35:"ALTER TABLE test11 ignore_chars='.'";s:14:"total_affected";i:0;}i:9;a:3:{s:8:"sphinxql";s:26:"SHOW INDEX test11 SETTINGS";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:2:{s:13:"Variable_name";s:8:"settings";s:5:"Value";s:34:"min_infix_len = 4 | ||
ignore_chars = .";}}}i:10;a:3:{s:8:"sphinxql";s:26:"SHOW INDEX test12 SETTINGS";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:2:{s:13:"Variable_name";s:8:"settings";s:5:"Value";s:17:"min_infix_len = 4";}}}i:11;a:2:{s:8:"sphinxql";s:16:"drop table test1";s:14:"total_affected";i:0;}i:12;a:2:{s:8:"sphinxql";s:17:"drop table test11";s:14:"total_affected";i:0;}i:13;a:2:{s:8:"sphinxql";s:17:"drop table test12";s:14:"total_affected";i:0;}}} | ||
a:1:{i:0;a:23:{i:0;a:2:{s:8:"sphinxql";s:46:"create table test1 ( title text, tag integer )";s:14:"total_affected";i:0;}i:1;a:2:{s:8:"sphinxql";s:45:"insert into test1 values (1, 'word form', 11)";s:14:"total_affected";i:1;}i:2;a:2:{s:8:"sphinxql";s:46:"select * from test1 where match ( 'wordform' )";s:10:"total_rows";i:0;}i:3;a:2:{s:8:"sphinxql";s:45:"alter table test1 wordforms = 'wordforms.txt'";s:14:"total_affected";i:0;}i:4;a:2:{s:8:"sphinxql";s:45:"insert into test1 values (2, 'word form', 11)";s:14:"total_affected";i:1;}i:5;a:3:{s:8:"sphinxql";s:46:"select * from test1 where match ( 'wordform' )";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:3:{s:2:"id";s:1:"2";s:3:"tag";s:2:"11";s:5:"title";s:9:"word form";}}}i:6;a:2:{s:8:"sphinxql";s:64:"CREATE TABLE test11 (title TEXT, category INT) min_infix_len='4'";s:14:"total_affected";i:0;}i:7;a:2:{s:8:"sphinxql";s:31:"CREATE TABLE test12 LIKE test11";s:14:"total_affected";i:0;}i:8;a:2:{s:8:"sphinxql";s:35:"ALTER TABLE test11 ignore_chars='.'";s:14:"total_affected";i:0;}i:9;a:3:{s:8:"sphinxql";s:26:"SHOW INDEX test11 SETTINGS";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:2:{s:13:"Variable_name";s:8:"settings";s:5:"Value";s:34:"min_infix_len = 4 | ||
ignore_chars = .";}}}i:10;a:3:{s:8:"sphinxql";s:26:"SHOW INDEX test12 SETTINGS";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:2:{s:13:"Variable_name";s:8:"settings";s:5:"Value";s:17:"min_infix_len = 4";}}}i:11;a:2:{s:8:"sphinxql";s:16:"drop table test1";s:14:"total_affected";i:0;}i:12;a:2:{s:8:"sphinxql";s:17:"drop table test11";s:14:"total_affected";i:0;}i:13;a:2:{s:8:"sphinxql";s:17:"drop table test12";s:14:"total_affected";i:0;}i:14;a:2:{s:8:"sphinxql";s:49:"CREATE TABLE test1 (title text) rt_mem_limit='2G'";s:14:"total_affected";i:0;}i:15;a:2:{s:8:"sphinxql";s:29:"CREATE TABLE test2 LIKE test1";s:14:"total_affected";i:0;}i:16;a:3:{s:8:"sphinxql";s:23:"SHOW CREATE TABLE test1";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:2:{s:5:"Table";s:5:"test1";s:12:"Create Table";s:59:"CREATE TABLE test1 ( | ||
title text | ||
) rt_mem_limit='2147483648'";}}}i:17;a:3:{s:8:"sphinxql";s:23:"SHOW CREATE TABLE test2";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:2:{s:5:"Table";s:5:"test2";s:12:"Create Table";s:59:"CREATE TABLE test2 ( | ||
title text | ||
) rt_mem_limit='2147483648'";}}}i:18;a:2:{s:8:"sphinxql";s:35:"ALTER TABLE test1 rt_mem_limit='1G'";s:14:"total_affected";i:0;}i:19;a:3:{s:8:"sphinxql";s:23:"SHOW CREATE TABLE test1";s:10:"total_rows";i:1;s:4:"rows";a:1:{i:0;a:2:{s:5:"Table";s:5:"test1";s:12:"Create Table";s:59:"CREATE TABLE test1 ( | ||
title text | ||
) rt_mem_limit='1073741824'";}}}i:20;a:2:{s:8:"sphinxql";s:16:"drop table test1";s:14:"total_affected";i:0;}i:21;a:2:{s:8:"sphinxql";s:16:"drop table test2";s:14:"total_affected";i:0;}i:22;a:3:{s:8:"sphinxql";s:29:"ALTER TABLE test1 RECONFIGURE";s:5:"error";s:45:"ALTER RECONFIGURE is not supported in RT mode";s:5:"errno";i:1064;}}} |
Oops, something went wrong.