DROP TABLE IF EXISTS variables;
CREATE TABLE variables (
id INT PRIMARY KEY AUTO_INCREMENT,
name TEXT,
FULLTEXT INDEX (name) COMMENT 'tokenizer "none"'
) DEFAULT CHARSET=utf8mb4;
INSERT INTO variables (name) VALUES ("mroonga_database_path_prefix");
INSERT INTO variables (name) VALUES ("mroonga_default_tokenizer");
INSERT INTO variables (name) VALUES ("mroonga_default_wrapper_engine");
INSERT INTO variables (name) VALUES ("mroonga_dry_write");
INSERT INTO variables (name) VALUES ("mroonga_enable_optimization");
INSERT INTO variables (name) VALUES ("mroonga_libgroonga_version");
INSERT INTO variables (name) VALUES ("mroonga_log_file");
INSERT INTO variables (name) VALUES ("mroonga_log_level");
INSERT INTO variables (name) VALUES ("mroonga_match_escalation_threshold");
INSERT INTO variables (name) VALUES ("mroonga_version");
SELECT * FROM variables;
id	name
1	mroonga_database_path_prefix
2	mroonga_default_tokenizer
3	mroonga_default_wrapper_engine
4	mroonga_dry_write
5	mroonga_enable_optimization
6	mroonga_libgroonga_version
7	mroonga_log_file
8	mroonga_log_level
9	mroonga_match_escalation_threshold
10	mroonga_version
SELECT * FROM variables
WHERE MATCH (name) AGAINST ("mroonga_default*" IN BOOLEAN MODE)
ORDER BY id;
id	name
2	mroonga_default_tokenizer
3	mroonga_default_wrapper_engine
DROP TABLE variables;
