mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 20:37:12 +02:00
MDEV-31005: Make working cursor-protocol
Updated tests: cases with bugs or which cannot be run with the cursor-protocol were excluded with "--disable_cursor_protocol"/"--enable_cursor_protocol" Fix for v.10.5
This commit is contained in:
parent
ab569524dc
commit
0a5e4a0191
366 changed files with 1799 additions and 30 deletions
|
|
@ -30,7 +30,10 @@ CREATE TABLE tags (
|
|||
|
||||
ALTER TABLE tags ADD COLUMN name VARCHAR(64) COMMENT 'flags "COLUMN_VECTOR"';
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE tags;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,10 @@ CREATE TABLE tags (
|
|||
ALTER TABLE tags ADD COLUMN name VARCHAR(64) FLAGS='COLUMN_VECTOR';
|
||||
SHOW CREATE TABLE tags;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE tags;
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,10 @@ CREATE TABLE bugs (
|
|||
|
||||
ALTER TABLE bugs ADD COLUMN name VARCHAR(64) COMMENT 'groonga_type "tags"';
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE bugs;
|
||||
DROP TABLE tags;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,10 @@ CREATE TABLE bugs (
|
|||
ALTER TABLE bugs ADD COLUMN name VARCHAR(64) GROONGA_TYPE='tags';
|
||||
SHOW CREATE TABLE bugs;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE bugs;
|
||||
DROP TABLE tags;
|
||||
|
|
|
|||
|
|
@ -45,7 +45,10 @@ SELECT * FROM users;
|
|||
SELECT * FROM users
|
||||
WHERE MATCH (名前) AGAINST ('+たなか' IN BOOLEAN MODE);
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no --dump_records no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE users;
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,10 @@ SELECT * FROM users;
|
|||
SELECT * FROM users
|
||||
WHERE MATCH (名前) AGAINST ('+たなか' IN BOOLEAN MODE);
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no --dump_records no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE users;
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,10 @@ CREATE TABLE bugs (
|
|||
|
||||
ALTER TABLE bugs ADD COLUMN name VARCHAR(64) COMMENT 'type "tags"';
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE bugs;
|
||||
DROP TABLE tags;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,10 @@ CREATE TABLE memos (
|
|||
|
||||
ALTER TABLE memos ADD FULLTEXT INDEX (content) COMMENT 'token_filters "TokenFilterStopWord"';
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ CREATE TABLE memos (
|
|||
FULLTEXT INDEX (content) COMMENT 'table "terms"'
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
|
||||
ALTER TABLE terms COMMENT='default_tokenizer "TokenBigram", token_filters "TokenFilterStopWord"';
|
||||
|
|
@ -47,6 +49,7 @@ ALTER TABLE memos DISABLE KEYS;
|
|||
ALTER TABLE memos ENABLE KEYS;
|
||||
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
DROP TABLE terms;
|
||||
|
|
|
|||
|
|
@ -35,9 +35,12 @@ CREATE TABLE memos (
|
|||
FULLTEXT INDEX content_index (content) COMMENT 'table "terms"'
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
ALTER TABLE memos DISABLE KEYS;
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
DROP TABLE terms;
|
||||
|
|
|
|||
|
|
@ -35,10 +35,13 @@ CREATE TABLE memos (
|
|||
FULLTEXT INDEX content_index (content) COMMENT 'table "terms"'
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
ALTER TABLE memos DISABLE KEYS;
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
ALTER TABLE memos ENABLE KEYS;
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
DROP TABLE terms;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,10 @@ CREATE TABLE bugs (
|
|||
|
||||
INSERT INTO bugs (id, tags) VALUES (1, "Linux MySQL groonga");
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no --dump_records no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
SELECT *, MATCH (tags) AGAINST ("+MySQL" IN BOOLEAN MODE) AS score
|
||||
FROM bugs
|
||||
|
|
|
|||
|
|
@ -40,7 +40,10 @@ INSERT INTO bugs (id, priority) VALUES (1, 10);
|
|||
INSERT INTO bugs (id, priority) VALUES (2, 3);
|
||||
INSERT INTO bugs (id, priority) VALUES (3, -2);
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no --dump_records no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
SELECT *
|
||||
FROM bugs
|
||||
|
|
|
|||
|
|
@ -43,7 +43,10 @@ SELECT * FROM users;
|
|||
SELECT * FROM users
|
||||
WHERE MATCH (名前) AGAINST ('+たなか' IN BOOLEAN MODE);
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no --dump_records no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE users;
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,10 @@ SELECT * FROM users;
|
|||
SELECT * FROM users
|
||||
WHERE MATCH (名前) AGAINST ('+たなか' IN BOOLEAN MODE);
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no --dump_records no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE users;
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,10 @@ CREATE TABLE bugs (
|
|||
tags TEXT COMMENT 'flags "COLUMN_VECTOR"'
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE bugs;
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,10 @@ CREATE TABLE bugs (
|
|||
tags TEXT FLAGS='COLUMN_VECTOR'
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE bugs;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,10 @@ CREATE TABLE bugs (
|
|||
tag VARCHAR(64) COMMENT 'groonga_type "tags"'
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE bugs;
|
||||
DROP TABLE tags;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,10 @@ CREATE TABLE bugs (
|
|||
) DEFAULT CHARSET=utf8;
|
||||
SHOW CREATE TABLE bugs;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE bugs;
|
||||
DROP TABLE tags;
|
||||
|
|
|
|||
|
|
@ -33,7 +33,10 @@ CREATE TABLE bugs (
|
|||
tag VARCHAR(64) COMMENT 'type "tags"'
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE bugs;
|
||||
DROP TABLE tags;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,10 @@ CREATE TABLE tags (
|
|||
COLLATE=utf8_bin
|
||||
COMMENT='default_tokenizer "TokenDelimit"';
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE tags;
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,10 @@ CREATE TABLE diaries (
|
|||
INDEX (content) COMMENT 'normalizer "NormalizerAuto"'
|
||||
) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE diaries;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,10 @@ CREATE TABLE memos (
|
|||
FULLTEXT INDEX (content) COMMENT 'token_filters "TokenFilterStopWord,TokenFilterStopWord"'
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,10 @@ CREATE TABLE memos (
|
|||
FULLTEXT INDEX (content) COMMENT 'token_filters "TokenFilterStopWord"'
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,10 @@ CREATE TABLE memos (
|
|||
) DEFAULT CHARSET=utf8;
|
||||
SHOW CREATE TABLE memos;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,10 @@ CREATE TABLE memos (
|
|||
FULLTEXT INDEX (content) COMMENT 'table "terms"'
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
DROP TABLE terms;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,10 @@ CREATE TABLE memos (
|
|||
FULLTEXT INDEX (content) COMMENT 'table "terms"'
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
DROP TABLE terms;
|
||||
|
|
|
|||
|
|
@ -44,7 +44,10 @@ DELETE FROM comments WHERE id = 100;
|
|||
SELECT * FROM entries;
|
||||
SELECT * FROM comments;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command('dump --dump_plugins no');
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE entries;
|
||||
DROP TABLE comments;
|
||||
|
|
|
|||
|
|
@ -44,7 +44,10 @@ DELETE FROM comments WHERE id = 200;
|
|||
SELECT * FROM entries;
|
||||
SELECT * FROM comments;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command('dump --dump_plugins no');
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE entries;
|
||||
DROP TABLE comments;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,10 @@ INSERT INTO entries (content, comment_id) VALUES ('Hello!', 100);
|
|||
SELECT * FROM entries;
|
||||
SELECT * FROM comments;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command('dump --dump_plugins no');
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE entries;
|
||||
DROP TABLE comments;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,10 @@ INSERT INTO entries (content, comment_id) VALUES ('Hello!', 1);
|
|||
SELECT * FROM entries;
|
||||
SELECT * FROM comments;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command('dump --dump_plugins no');
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE entries;
|
||||
DROP TABLE comments;
|
||||
|
|
|
|||
|
|
@ -44,7 +44,10 @@ UPDATE entries SET comment_id = 200 WHERE content = 'Hello!';
|
|||
SELECT * FROM entries;
|
||||
SELECT * FROM comments;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command('dump --dump_plugins no');
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE entries;
|
||||
DROP TABLE comments;
|
||||
|
|
|
|||
|
|
@ -44,7 +44,10 @@ UPDATE entries SET comment_id = 200 WHERE content = 'Hello!';
|
|||
SELECT * FROM entries;
|
||||
SELECT * FROM comments;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command('dump --dump_plugins no');
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE entries;
|
||||
DROP TABLE comments;
|
||||
|
|
|
|||
|
|
@ -31,9 +31,12 @@ CREATE TABLE diaries (
|
|||
INSERT INTO diaries VALUES('It is Groonga');
|
||||
INSERT INTO diaries VALUES('It is Mroonga');
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command('select',
|
||||
'table', 'diaries',
|
||||
'filter', 'title @ "Groonga"');
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE diaries;
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,10 @@ CREATE TABLE diaries (
|
|||
FULLTEXT KEY (title)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command('dump --dump_plugins no');
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE diaries;
|
||||
|
||||
|
|
|
|||
|
|
@ -32,9 +32,12 @@ CREATE TABLE keywords (
|
|||
INSERT INTO keywords VALUES ('Mroonga');
|
||||
INSERT INTO keywords VALUES ('Groonga');
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_highlight_html('Mroonga is the Groonga based storage engine.',
|
||||
keyword) AS highlighted
|
||||
FROM keywords;
|
||||
--enable_cursor_protocol
|
||||
|
||||
--disable_query_log
|
||||
DROP TABLE keywords;
|
||||
|
|
|
|||
|
|
@ -18,8 +18,11 @@
|
|||
--source ../../include/mroonga/have_mroonga.inc
|
||||
--source ../../include/mroonga/load_mroonga_functions.inc
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_highlight_html('Mroonga is the Groonga based storage engine.',
|
||||
'Mroonga', 'Groonga') AS highlighted;
|
||||
--enable_cursor_protocol
|
||||
|
||||
--source ../../include/mroonga/unload_mroonga_functions.inc
|
||||
--source ../../include/mroonga/have_mroonga_deinit.inc
|
||||
|
|
|
|||
|
|
@ -18,8 +18,11 @@
|
|||
--source ../../include/mroonga/have_mroonga.inc
|
||||
--source ../../include/mroonga/load_mroonga_functions.inc
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_highlight_html('Mroonga is the Groonga based storage engine.',
|
||||
'mroonga') AS highlighted;
|
||||
--enable_cursor_protocol
|
||||
|
||||
--source ../../include/mroonga/unload_mroonga_functions.inc
|
||||
--source ../../include/mroonga/have_mroonga_deinit.inc
|
||||
|
|
|
|||
|
|
@ -18,7 +18,10 @@
|
|||
--source ../../include/mroonga/have_mroonga.inc
|
||||
--source ../../include/mroonga/load_mroonga_functions.inc
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_normalize('aBcAbC㍑');
|
||||
--enable_cursor_protocol
|
||||
|
||||
--source ../../include/mroonga/unload_mroonga_functions.inc
|
||||
--source ../../include/mroonga/have_mroonga_deinit.inc
|
||||
|
|
|
|||
|
|
@ -18,7 +18,10 @@
|
|||
--source ../../include/mroonga/have_mroonga.inc
|
||||
--source ../../include/mroonga/load_mroonga_functions.inc
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_normalize('aBcAbC㍑', "NormalizerAuto");
|
||||
--enable_cursor_protocol
|
||||
|
||||
--source ../../include/mroonga/unload_mroonga_functions.inc
|
||||
--source ../../include/mroonga/have_mroonga_deinit.inc
|
||||
|
|
|
|||
|
|
@ -32,9 +32,12 @@ CREATE TABLE keywords (
|
|||
INSERT INTO keywords VALUES ('Mroonga');
|
||||
INSERT INTO keywords VALUES ('Groonga');
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_snippet_html('Mroonga is the Groonga based storage engine.',
|
||||
keyword) as snippet
|
||||
FROM keywords;
|
||||
--enable_cursor_protocol
|
||||
|
||||
--disable_query_log
|
||||
DROP TABLE keywords;
|
||||
|
|
|
|||
|
|
@ -18,8 +18,11 @@
|
|||
--source ../../include/mroonga/have_mroonga.inc
|
||||
--source ../../include/mroonga/load_mroonga_functions.inc
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_snippet_html('Mroonga is the Groonga based storage engine.',
|
||||
'Mroonga', 'Groonga') as snippet;
|
||||
--enable_cursor_protocol
|
||||
|
||||
--source ../../include/mroonga/unload_mroonga_functions.inc
|
||||
--source ../../include/mroonga/have_mroonga_deinit.inc
|
||||
|
|
|
|||
|
|
@ -46,7 +46,10 @@ SELECT * FROM users;
|
|||
SELECT * FROM users
|
||||
WHERE MATCH (名前) AGAINST ('+たなか' IN BOOLEAN MODE);
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no --dump_records no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE users;
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,10 @@ SELECT * FROM users;
|
|||
SELECT * FROM users
|
||||
WHERE MATCH (名前) AGAINST ('+たなか' IN BOOLEAN MODE);
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no --dump_records no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE users;
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,10 @@ SELECT * FROM users;
|
|||
SELECT * FROM users
|
||||
WHERE MATCH (名前) AGAINST ('+たなか' IN BOOLEAN MODE);
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no --dump_records no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE users;
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,10 @@ SELECT * FROM users;
|
|||
SELECT * FROM users
|
||||
WHERE MATCH (名前) AGAINST ('+たなか' IN BOOLEAN MODE);
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no --dump_records no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE users;
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,10 @@ CREATE TABLE bugs (
|
|||
) DEFAULT CHARSET=utf8
|
||||
COMMENT='Free style normal comment, engine "InnoDB"';
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE bugs;
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,10 @@ CREATE TABLE memos (
|
|||
FULLTEXT INDEX (content) COMMENT 'token_filters "TokenFilterStopWord,TokenFilterStopWord"'
|
||||
) COMMENT='engine "InnoDB"' DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,10 @@ CREATE TABLE memos (
|
|||
FULLTEXT INDEX (content) COMMENT 'token_filters "TokenFilterStopWord"'
|
||||
) COMMENT='engine "InnoDB"' DEFAULT CHARSET=utf8;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,10 @@ CREATE TABLE memos (
|
|||
) COMMENT='ENGINE "InnoDB"' DEFAULT CHARSET=utf8;
|
||||
SHOW CREATE TABLE memos;
|
||||
|
||||
#Check after fix MDEV-31554
|
||||
--disable_cursor_protocol
|
||||
SELECT mroonga_command("dump --dump_plugins no");
|
||||
--enable_cursor_protocol
|
||||
|
||||
DROP TABLE memos;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue