Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d18beccc
Commit
d18beccc
authored
May 05, 2015
by
Kentoku SHIBA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add -fPIC for groonga-normalizer-mysql
parent
a0fdb258
Changes
49
Hide whitespace changes
Inline
Side-by-side
Showing
49 changed files
with
7 additions
and
1468 deletions
+7
-1468
storage/mroonga/mysql-test/mroonga/storage/r/fulltext_order_different_against.result
...mroonga/storage/r/fulltext_order_different_against.result
+0
-23
storage/mroonga/mysql-test/mroonga/storage/r/fulltext_order_different_match.result
...t/mroonga/storage/r/fulltext_order_different_match.result
+0
-24
storage/mroonga/mysql-test/mroonga/storage/r/fulltext_order_no_where.result
...sql-test/mroonga/storage/r/fulltext_order_no_where.result
+0
-22
storage/mroonga/mysql-test/mroonga/storage/r/fulltext_order_same_match_against.result
...roonga/storage/r/fulltext_order_same_match_against.result
+0
-22
storage/mroonga/mysql-test/mroonga/storage/r/index_range_greater_than_asc.result
...est/mroonga/storage/r/index_range_greater_than_asc.result
+0
-16
storage/mroonga/mysql-test/mroonga/storage/r/index_range_greater_than_desc.result
...st/mroonga/storage/r/index_range_greater_than_desc.result
+0
-15
storage/mroonga/mysql-test/mroonga/storage/r/index_range_greater_than_or_equal_asc.result
...ga/storage/r/index_range_greater_than_or_equal_asc.result
+0
-16
storage/mroonga/mysql-test/mroonga/storage/r/index_range_greater_than_or_equal_desc.result
...a/storage/r/index_range_greater_than_or_equal_desc.result
+0
-16
storage/mroonga/mysql-test/mroonga/storage/r/index_range_less_than_asc.result
...l-test/mroonga/storage/r/index_range_less_than_asc.result
+0
-16
storage/mroonga/mysql-test/mroonga/storage/r/index_range_less_than_desc.result
...-test/mroonga/storage/r/index_range_less_than_desc.result
+0
-16
storage/mroonga/mysql-test/mroonga/storage/r/index_range_less_than_or_equal_asc.result
...oonga/storage/r/index_range_less_than_or_equal_asc.result
+0
-16
storage/mroonga/mysql-test/mroonga/storage/r/index_range_less_than_or_equal_desc.result
...onga/storage/r/index_range_less_than_or_equal_desc.result
+0
-16
storage/mroonga/mysql-test/mroonga/storage/r/information_schema_plugins.result
...-test/mroonga/storage/r/information_schema_plugins.result
+0
-4
storage/mroonga/mysql-test/mroonga/storage/r/optimization_skip_count_TODO_SPLIT_ME.result
...ga/storage/r/optimization_skip_count_TODO_SPLIT_ME.result
+0
-106
storage/mroonga/mysql-test/mroonga/storage/r/optimization_skip_count_after_insert_multithread.result
...r/optimization_skip_count_after_insert_multithread.result
+0
-19
storage/mroonga/mysql-test/mroonga/storage/r/optimization_skip_count_after_insert_single_thread.result
...optimization_skip_count_after_insert_single_thread.result
+0
-19
storage/mroonga/mysql-test/mroonga/storage/r/optimization_skip_count_disabled.result
...mroonga/storage/r/optimization_skip_count_disabled.result
+0
-32
storage/mroonga/mysql-test/mroonga/storage/r/optimization_skip_count_index_view.result
...oonga/storage/r/optimization_skip_count_index_view.result
+0
-28
storage/mroonga/mysql-test/mroonga/storage/r/variable_version.result
...onga/mysql-test/mroonga/storage/r/variable_version.result
+0
-3
storage/mroonga/mysql-test/mroonga/storage/t/fulltext_order_different_against.test
...t/mroonga/storage/t/fulltext_order_different_against.test
+0
-42
storage/mroonga/mysql-test/mroonga/storage/t/fulltext_order_different_match.test
...est/mroonga/storage/t/fulltext_order_different_match.test
+0
-44
storage/mroonga/mysql-test/mroonga/storage/t/fulltext_order_no_where.test
...mysql-test/mroonga/storage/t/fulltext_order_no_where.test
+0
-41
storage/mroonga/mysql-test/mroonga/storage/t/fulltext_order_same_match_against.test
.../mroonga/storage/t/fulltext_order_same_match_against.test
+0
-42
storage/mroonga/mysql-test/mroonga/storage/t/index_range_greater_than_asc.test
...-test/mroonga/storage/t/index_range_greater_than_asc.test
+0
-39
storage/mroonga/mysql-test/mroonga/storage/t/index_range_greater_than_desc.test
...test/mroonga/storage/t/index_range_greater_than_desc.test
+0
-39
storage/mroonga/mysql-test/mroonga/storage/t/index_range_greater_than_or_equal_asc.test
...onga/storage/t/index_range_greater_than_or_equal_asc.test
+0
-39
storage/mroonga/mysql-test/mroonga/storage/t/index_range_greater_than_or_equal_desc.test
...nga/storage/t/index_range_greater_than_or_equal_desc.test
+0
-39
storage/mroonga/mysql-test/mroonga/storage/t/index_range_less_than_asc.test
...sql-test/mroonga/storage/t/index_range_less_than_asc.test
+0
-39
storage/mroonga/mysql-test/mroonga/storage/t/index_range_less_than_desc.test
...ql-test/mroonga/storage/t/index_range_less_than_desc.test
+0
-39
storage/mroonga/mysql-test/mroonga/storage/t/index_range_less_than_or_equal_asc.test
...mroonga/storage/t/index_range_less_than_or_equal_asc.test
+0
-39
storage/mroonga/mysql-test/mroonga/storage/t/index_range_less_than_or_equal_desc.test
...roonga/storage/t/index_range_less_than_or_equal_desc.test
+0
-39
storage/mroonga/mysql-test/mroonga/storage/t/optimization_skip_count_TODO_SPLIT_ME.test
...onga/storage/t/optimization_skip_count_TODO_SPLIT_ME.test
+0
-61
storage/mroonga/mysql-test/mroonga/storage/t/optimization_skip_count_after_insert_multithread.test
...e/t/optimization_skip_count_after_insert_multithread.test
+0
-45
storage/mroonga/mysql-test/mroonga/storage/t/optimization_skip_count_after_insert_single_thread.test
...t/optimization_skip_count_after_insert_single_thread.test
+0
-40
storage/mroonga/mysql-test/mroonga/storage/t/optimization_skip_count_disabled.test
...t/mroonga/storage/t/optimization_skip_count_disabled.test
+0
-51
storage/mroonga/mysql-test/mroonga/storage/t/optimization_skip_count_index_view.test
...mroonga/storage/t/optimization_skip_count_index_view.test
+0
-56
storage/mroonga/mysql-test/mroonga/wrapper/r/function_last_insert_grn_id.result
...test/mroonga/wrapper/r/function_last_insert_grn_id.result
+0
-17
storage/mroonga/mysql-test/mroonga/wrapper/r/version_55_performance_schema.result
...st/mroonga/wrapper/r/version_55_performance_schema.result
+0
-38
storage/mroonga/mysql-test/mroonga/wrapper/r/version_56_or_later_performance_schema.result
...a/wrapper/r/version_56_or_later_performance_schema.result
+0
-73
storage/mroonga/mysql-test/mroonga/wrapper/t/function_last_insert_grn_id.test
...l-test/mroonga/wrapper/t/function_last_insert_grn_id.test
+0
-52
storage/mroonga/mysql-test/mroonga/wrapper/t/version_55_performance_schema.test
...test/mroonga/wrapper/t/version_55_performance_schema.test
+0
-41
storage/mroonga/mysql-test/mroonga/wrapper/t/version_56_or_later_performance_schema.test
...nga/wrapper/t/version_56_or_later_performance_schema.test
+0
-42
storage/mroonga/packages/windows/build-vc2010-msi-32.bat
storage/mroonga/packages/windows/build-vc2010-msi-32.bat
+0
-8
storage/mroonga/packages/windows/build-vc2010-msi-64.bat
storage/mroonga/packages/windows/build-vc2010-msi-64.bat
+0
-8
storage/mroonga/packages/windows/build-vc2010-zip-32.bat
storage/mroonga/packages/windows/build-vc2010-zip-32.bat
+0
-8
storage/mroonga/packages/windows/build-vc2010-zip-64.bat
storage/mroonga/packages/windows/build-vc2010-zip-64.bat
+0
-8
storage/mroonga/packages/windows/build-vc2010.bat
storage/mroonga/packages/windows/build-vc2010.bat
+0
-4
storage/mroonga/plug.in
storage/mroonga/plug.in
+0
-6
storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt
...ga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt
+7
-0
No files found.
storage/mroonga/mysql-test/mroonga/storage/r/fulltext_order_different_against.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS diaries;
SET NAMES UTF8;
CREATE TABLE diaries(
title TEXT,
FULLTEXT KEY (title)
) DEFAULT CHARSET=utf8;
INSERT INTO diaries VALUES("Start groonga");
INSERT INTO diaries VALUES("Start mroonga");
INSERT INTO diaries VALUES("Start groonga and Ruby");
SELECT * FROM diaries;
title
Start groonga
Start mroonga
Start groonga and Ruby
SELECT *, MATCH(title) AGAINST("groonga" IN BOOLEAN MODE) AS score
FROM diaries
WHERE MATCH(title) AGAINST("groonga mroonga" IN BOOLEAN MODE)
ORDER BY MATCH(title) AGAINST("groonga" IN BOOLEAN MODE);
title score
Start mroonga 0
Start groonga 1
Start groonga and Ruby 1
DROP TABLE diaries;
storage/mroonga/mysql-test/mroonga/storage/r/fulltext_order_different_match.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS diaries;
SET NAMES UTF8;
CREATE TABLE diaries(
title TEXT,
body TEXT,
FULLTEXT KEY (title),
FULLTEXT KEY (body)
) DEFAULT CHARSET=utf8;
INSERT INTO diaries VALUES("Start groonga", "I read groonga's tutorial.");
INSERT INTO diaries VALUES("Start mroonga", "I read mroonga's tutorial.");
INSERT INTO diaries VALUES("Start groonga and Ruby", "I installed rroonga.");
SELECT * FROM diaries;
title body
Start groonga I read groonga's tutorial.
Start mroonga I read mroonga's tutorial.
Start groonga and Ruby I installed rroonga.
SELECT *, MATCH(body) AGAINST("groonga" IN BOOLEAN MODE) AS score
FROM diaries
WHERE MATCH(title) AGAINST("groonga" IN BOOLEAN MODE)
ORDER BY MATCH(body) AGAINST("groonga" IN BOOLEAN MODE);
title body score
Start groonga and Ruby I installed rroonga. 0
Start groonga I read groonga's tutorial. 1
DROP TABLE diaries;
storage/mroonga/mysql-test/mroonga/storage/r/fulltext_order_no_where.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS diaries;
SET NAMES UTF8;
CREATE TABLE diaries(
title TEXT,
FULLTEXT KEY (title)
) DEFAULT CHARSET=utf8;
INSERT INTO diaries VALUES("Start groonga");
INSERT INTO diaries VALUES("Start mroonga");
INSERT INTO diaries VALUES("Start groonga and Ruby");
SELECT * FROM diaries;
title
Start groonga
Start mroonga
Start groonga and Ruby
SELECT *, MATCH(title) AGAINST("groonga" IN BOOLEAN MODE) AS score
FROM diaries
ORDER BY MATCH(title) AGAINST("groonga" IN BOOLEAN MODE);
title score
Start mroonga 0
Start groonga 1
Start groonga and Ruby 1
DROP TABLE diaries;
storage/mroonga/mysql-test/mroonga/storage/r/fulltext_order_same_match_against.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS diaries;
SET NAMES UTF8;
CREATE TABLE diaries(
title TEXT,
FULLTEXT KEY (title)
) DEFAULT CHARSET=utf8;
INSERT INTO diaries VALUES("Start groonga");
INSERT INTO diaries VALUES("Start mroonga");
INSERT INTO diaries VALUES("Start groonga and Ruby");
SELECT * FROM diaries;
title
Start groonga
Start mroonga
Start groonga and Ruby
SELECT *, MATCH(title) AGAINST("groonga" IN BOOLEAN MODE) AS score
FROM diaries
WHERE MATCH(title) AGAINST("groonga" IN BOOLEAN MODE)
ORDER BY MATCH(title) AGAINST("groonga" IN BOOLEAN MODE);
title score
Start groonga 1
Start groonga and Ruby 1
DROP TABLE diaries;
storage/mroonga/mysql-test/mroonga/storage/r/index_range_greater_than_asc.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS ids;
SET NAMES UTF8;
CREATE TABLE ids (
id INT(10) UNSIGNED PRIMARY KEY AUTO_INCREMENT
) ENGINE=Mroonga DEFAULT CHARSET=utf8;
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
SELECT * FROM ids WHERE ids.id > 1 ORDER BY ids.id ASC LIMIT 3;
id
2
3
4
DROP TABLE ids;
storage/mroonga/mysql-test/mroonga/storage/r/index_range_greater_than_desc.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS ids;
SET NAMES UTF8;
CREATE TABLE ids (
id INT(10) UNSIGNED PRIMARY KEY AUTO_INCREMENT
) ENGINE=Mroonga DEFAULT CHARSET=utf8;
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
SELECT * FROM ids WHERE ids.id > 3 ORDER BY ids.id DESC LIMIT 3;
id
5
4
DROP TABLE ids;
storage/mroonga/mysql-test/mroonga/storage/r/index_range_greater_than_or_equal_asc.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS ids;
SET NAMES UTF8;
CREATE TABLE ids (
id INT(10) UNSIGNED PRIMARY KEY AUTO_INCREMENT
) ENGINE=Mroonga DEFAULT CHARSET=utf8;
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
SELECT * FROM ids WHERE ids.id >= 2 ORDER BY ids.id ASC LIMIT 3;
id
2
3
4
DROP TABLE ids;
storage/mroonga/mysql-test/mroonga/storage/r/index_range_greater_than_or_equal_desc.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS ids;
SET NAMES UTF8;
CREATE TABLE ids (
id INT(10) UNSIGNED PRIMARY KEY AUTO_INCREMENT
) ENGINE=Mroonga DEFAULT CHARSET=utf8;
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
SELECT * FROM ids WHERE ids.id >= 3 ORDER BY ids.id DESC LIMIT 3;
id
5
4
3
DROP TABLE ids;
storage/mroonga/mysql-test/mroonga/storage/r/index_range_less_than_asc.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS ids;
SET NAMES UTF8;
CREATE TABLE ids (
id INT(10) UNSIGNED PRIMARY KEY AUTO_INCREMENT
) ENGINE=Mroonga DEFAULT CHARSET=utf8;
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
SELECT * FROM ids WHERE ids.id < 4 ORDER BY ids.id ASC LIMIT 3;
id
1
2
3
DROP TABLE ids;
storage/mroonga/mysql-test/mroonga/storage/r/index_range_less_than_desc.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS ids;
SET NAMES UTF8;
CREATE TABLE ids (
id INT(10) UNSIGNED PRIMARY KEY AUTO_INCREMENT
) ENGINE=Mroonga DEFAULT CHARSET=utf8;
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
SELECT * FROM ids WHERE ids.id < 4 ORDER BY ids.id DESC LIMIT 3;
id
3
2
1
DROP TABLE ids;
storage/mroonga/mysql-test/mroonga/storage/r/index_range_less_than_or_equal_asc.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS ids;
SET NAMES UTF8;
CREATE TABLE ids (
id INT(10) UNSIGNED PRIMARY KEY AUTO_INCREMENT
) ENGINE=Mroonga DEFAULT CHARSET=utf8;
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
SELECT * FROM ids WHERE ids.id <= 4 ORDER BY ids.id ASC LIMIT 3;
id
1
2
3
DROP TABLE ids;
storage/mroonga/mysql-test/mroonga/storage/r/index_range_less_than_or_equal_desc.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS ids;
SET NAMES UTF8;
CREATE TABLE ids (
id INT(10) UNSIGNED PRIMARY KEY AUTO_INCREMENT
) ENGINE=Mroonga DEFAULT CHARSET=utf8;
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
SELECT * FROM ids WHERE ids.id <= 4 ORDER BY ids.id DESC LIMIT 3;
id
4
3
2
DROP TABLE ids;
storage/mroonga/mysql-test/mroonga/storage/r/information_schema_plugins.result
deleted
100644 → 0
View file @
a0fdb258
select PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_TYPE
from information_schema.plugins where plugin_name = "Mroonga";
PLUGIN_NAME PLUGIN_VERSION PLUGIN_TYPE
Mroonga 5.0 STORAGE ENGINE
storage/mroonga/mysql-test/mroonga/storage/r/optimization_skip_count_TODO_SPLIT_ME.result
deleted
100644 → 0
View file @
a0fdb258
drop table if exists t1, t2, t3;
flush status;
create table t1 (c1 int primary key, c2 int, c3 text, key idx1(c2), fulltext index ft(c3));
insert into t1 values(1,10,"aa ii uu ee oo");
insert into t1 values(2,20,"ka ki ku ke ko");
insert into t1 values(3,30,"sa si su se so");
insert into t1 values(4,40,"ta ti tu te to");
insert into t1 values(5,50,"aa ii uu ee oo");
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 0
select * from t1;
c1 c2 c3
1 10 aa ii uu ee oo
2 20 ka ki ku ke ko
3 30 sa si su se so
4 40 ta ti tu te to
5 50 aa ii uu ee oo
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 0
select count(*) from t1;
count(*)
5
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 0
select * from t1 force index(primary) where c1 between 2 and 4;
c1 c2 c3
2 20 ka ki ku ke ko
3 30 sa si su se so
4 40 ta ti tu te to
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 0
select count(*) from t1 force index(primary) where c1 between 2 and 4;
count(*)
3
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 1
select c1 from t1 force index(primary) where c1 < 3;
c1
1
2
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 1
select count(c1) from t1 force index(primary) where c1 < 3;
count(c1)
2
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 1
select 1 from t1 force index(primary) where c1 > 3;
1
1
1
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 1
select count(1) from t1 force index(primary) where c1 > 3;
count(1)
2
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 2
select * from t1 where match(c3) against("su");
c1 c2 c3
3 30 sa si su se so
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 2
select count(*) from t1 where match(c3) against("su");
count(*)
1
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 3
select * from t1 where match(c3) against("+su" in boolean mode);
c1 c2 c3
3 30 sa si su se so
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 3
select count(*) from t1 where match(c3) against("+su" in boolean mode);
count(*)
1
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 4
select * from t1 force index(idx1) where c2 between 20 and 40;
c1 c2 c3
2 20 ka ki ku ke ko
3 30 sa si su se so
4 40 ta ti tu te to
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 4
select count(*) from t1 force index(idx1) where c2 between 20 and 40;
count(*)
3
show status like 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 5
drop table t1;
storage/mroonga/mysql-test/mroonga/storage/r/optimization_skip_count_after_insert_multithread.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS diaries;
FLUSH STATUS;
CREATE TABLE diaries (
title TEXT,
FULLTEXT INDEX ft(title)
);
INSERT INTO diaries VALUES("Hello mroonga!");
INSERT INTO diaries VALUES("It's funny.");
INSERT INTO diaries VALUES("Happy birthday!");
SHOW STATUS LIKE 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 0
SELECT COUNT(*) FROM diaries WHERE MATCH(title) AGAINST("mroonga" IN BOOLEAN MODE);
COUNT(*)
1
SHOW STATUS LIKE 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 1
DROP TABLE diaries;
storage/mroonga/mysql-test/mroonga/storage/r/optimization_skip_count_after_insert_single_thread.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS diaries;
FLUSH STATUS;
CREATE TABLE diaries (
title TEXT,
FULLTEXT INDEX ft(title)
);
INSERT INTO diaries VALUES("Hello mroonga!");
INSERT INTO diaries VALUES("It's funny.");
INSERT INTO diaries VALUES("Happy birthday!");
SHOW STATUS LIKE 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 0
SELECT COUNT(*) FROM diaries WHERE MATCH(title) AGAINST("mroonga" IN BOOLEAN MODE);
COUNT(*)
1
SHOW STATUS LIKE 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 1
DROP TABLE diaries;
storage/mroonga/mysql-test/mroonga/storage/r/optimization_skip_count_disabled.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS diaries;
FLUSH STATUS;
SET NAMES UTF8;
CREATE TABLE diaries (
id INT UNSIGNED NOT NULL,
title VARCHAR(255),
content TEXT,
FULLTEXT INDEX(content)
) DEFAULT CHARSET UTF8;
SHOW CREATE TABLE diaries;
Table Create Table
diaries CREATE TABLE `diaries` (
`id` int(10) unsigned NOT NULL,
`title` varchar(255) DEFAULT NULL,
`content` text,
FULLTEXT KEY `content` (`content`)
) ENGINE=Mroonga DEFAULT CHARSET=utf8
INSERT INTO diaries VALUES(1, "Hello", "今日からはじめました。");
INSERT INTO diaries VALUES(2, "天気", "明日の富士山の天気について");
INSERT INTO diaries VALUES(3, "富士山", "今日も天気がよくてきれいに見える。");
INSERT INTO diaries VALUES(4, "帰り道", "今日は天気がよくてよかった。");
INSERT INTO diaries VALUES(5, "はれ", "天気がよいのは今日までみたい。");
SET mroonga_enable_optimization=FALSE;
SELECT COUNT(*) FROM diaries
WHERE MATCH(content) AGAINST("今日" IN BOOLEAN MODE);
COUNT(*)
4
SHOW STATUS LIKE 'mroonga_count_skip';
Variable_name Value
Mroonga_count_skip 0
SET mroonga_enable_optimization=TRUE;
DROP TABLE diaries;
storage/mroonga/mysql-test/mroonga/storage/r/optimization_skip_count_index_view.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS diaries, users;
CREATE TABLE diaries (
id INT PRIMARY KEY AUTO_INCREMENT,
user_id INT NOT NULL,
title VARCHAR(45) NOT NULL,
KEY (user_id),
FULLTEXT INDEX title_index (title)
) DEFAULT CHARSET=UTF8;
CREATE TABLE users (
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(45) NOT NULL,
INDEX (name)
) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
INSERT INTO users (id, name) VALUES (1, "Alice"), (2, "Bob");
INSERT INTO diaries (user_id, title) VALUES (1, "survey");
INSERT INTO diaries (user_id, title) VALUES (2, "groonga (1)");
INSERT INTO diaries (user_id, title) VALUES (2, "groonga (2)");
CREATE VIEW articles AS
SELECT diaries.user_id AS user_id,
diaries.title AS title,
users.name AS name
FROM diaries, users
WHERE diaries.user_id = users.id;
SELECT COUNT(*) FROM articles WHERE name = 'Bob';
COUNT(*)
2
DROP VIEW articles;
DROP TABLE diaries, users;
storage/mroonga/mysql-test/mroonga/storage/r/variable_version.result
deleted
100644 → 0
View file @
a0fdb258
show variables like 'mroonga_version';
Variable_name Value
mroonga_version 5.00
storage/mroonga/mysql-test/mroonga/storage/t/fulltext_order_different_against.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
diaries
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
diaries
(
title
TEXT
,
FULLTEXT
KEY
(
title
)
)
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
diaries
VALUES
(
"Start groonga"
);
INSERT
INTO
diaries
VALUES
(
"Start mroonga"
);
INSERT
INTO
diaries
VALUES
(
"Start groonga and Ruby"
);
SELECT
*
FROM
diaries
;
SELECT
*
,
MATCH
(
title
)
AGAINST
(
"groonga"
IN
BOOLEAN
MODE
)
AS
score
FROM
diaries
WHERE
MATCH
(
title
)
AGAINST
(
"groonga mroonga"
IN
BOOLEAN
MODE
)
ORDER
BY
MATCH
(
title
)
AGAINST
(
"groonga"
IN
BOOLEAN
MODE
);
DROP
TABLE
diaries
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/fulltext_order_different_match.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
diaries
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
diaries
(
title
TEXT
,
body
TEXT
,
FULLTEXT
KEY
(
title
),
FULLTEXT
KEY
(
body
)
)
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
diaries
VALUES
(
"Start groonga"
,
"I read groonga's tutorial."
);
INSERT
INTO
diaries
VALUES
(
"Start mroonga"
,
"I read mroonga's tutorial."
);
INSERT
INTO
diaries
VALUES
(
"Start groonga and Ruby"
,
"I installed rroonga."
);
SELECT
*
FROM
diaries
;
SELECT
*
,
MATCH
(
body
)
AGAINST
(
"groonga"
IN
BOOLEAN
MODE
)
AS
score
FROM
diaries
WHERE
MATCH
(
title
)
AGAINST
(
"groonga"
IN
BOOLEAN
MODE
)
ORDER
BY
MATCH
(
body
)
AGAINST
(
"groonga"
IN
BOOLEAN
MODE
);
DROP
TABLE
diaries
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/fulltext_order_no_where.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
diaries
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
diaries
(
title
TEXT
,
FULLTEXT
KEY
(
title
)
)
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
diaries
VALUES
(
"Start groonga"
);
INSERT
INTO
diaries
VALUES
(
"Start mroonga"
);
INSERT
INTO
diaries
VALUES
(
"Start groonga and Ruby"
);
SELECT
*
FROM
diaries
;
SELECT
*
,
MATCH
(
title
)
AGAINST
(
"groonga"
IN
BOOLEAN
MODE
)
AS
score
FROM
diaries
ORDER
BY
MATCH
(
title
)
AGAINST
(
"groonga"
IN
BOOLEAN
MODE
);
DROP
TABLE
diaries
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/fulltext_order_same_match_against.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
diaries
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
diaries
(
title
TEXT
,
FULLTEXT
KEY
(
title
)
)
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
diaries
VALUES
(
"Start groonga"
);
INSERT
INTO
diaries
VALUES
(
"Start mroonga"
);
INSERT
INTO
diaries
VALUES
(
"Start groonga and Ruby"
);
SELECT
*
FROM
diaries
;
SELECT
*
,
MATCH
(
title
)
AGAINST
(
"groonga"
IN
BOOLEAN
MODE
)
AS
score
FROM
diaries
WHERE
MATCH
(
title
)
AGAINST
(
"groonga"
IN
BOOLEAN
MODE
)
ORDER
BY
MATCH
(
title
)
AGAINST
(
"groonga"
IN
BOOLEAN
MODE
);
DROP
TABLE
diaries
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/index_range_greater_than_asc.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
ids
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
ids
(
id
INT
(
10
)
UNSIGNED
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
Mroonga
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
SELECT
*
FROM
ids
WHERE
ids
.
id
>
1
ORDER
BY
ids
.
id
ASC
LIMIT
3
;
DROP
TABLE
ids
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/index_range_greater_than_desc.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
ids
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
ids
(
id
INT
(
10
)
UNSIGNED
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
Mroonga
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
SELECT
*
FROM
ids
WHERE
ids
.
id
>
3
ORDER
BY
ids
.
id
DESC
LIMIT
3
;
DROP
TABLE
ids
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/index_range_greater_than_or_equal_asc.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
ids
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
ids
(
id
INT
(
10
)
UNSIGNED
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
Mroonga
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
SELECT
*
FROM
ids
WHERE
ids
.
id
>=
2
ORDER
BY
ids
.
id
ASC
LIMIT
3
;
DROP
TABLE
ids
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/index_range_greater_than_or_equal_desc.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
ids
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
ids
(
id
INT
(
10
)
UNSIGNED
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
Mroonga
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
SELECT
*
FROM
ids
WHERE
ids
.
id
>=
3
ORDER
BY
ids
.
id
DESC
LIMIT
3
;
DROP
TABLE
ids
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/index_range_less_than_asc.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
ids
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
ids
(
id
INT
(
10
)
UNSIGNED
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
Mroonga
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
SELECT
*
FROM
ids
WHERE
ids
.
id
<
4
ORDER
BY
ids
.
id
ASC
LIMIT
3
;
DROP
TABLE
ids
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/index_range_less_than_desc.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
ids
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
ids
(
id
INT
(
10
)
UNSIGNED
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
Mroonga
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
SELECT
*
FROM
ids
WHERE
ids
.
id
<
4
ORDER
BY
ids
.
id
DESC
LIMIT
3
;
DROP
TABLE
ids
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/index_range_less_than_or_equal_asc.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
ids
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
ids
(
id
INT
(
10
)
UNSIGNED
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
Mroonga
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
SELECT
*
FROM
ids
WHERE
ids
.
id
<=
4
ORDER
BY
ids
.
id
ASC
LIMIT
3
;
DROP
TABLE
ids
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/index_range_less_than_or_equal_desc.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
ids
;
--
enable_warnings
SET
NAMES
UTF8
;
CREATE
TABLE
ids
(
id
INT
(
10
)
UNSIGNED
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
Mroonga
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
INSERT
INTO
ids
VALUES
();
SELECT
*
FROM
ids
WHERE
ids
.
id
<=
4
ORDER
BY
ids
.
id
DESC
LIMIT
3
;
DROP
TABLE
ids
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/optimization_skip_count_TODO_SPLIT_ME.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2010 Kentoku SHIBA
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
drop
table
if
exists
t1
,
t2
,
t3
;
--
enable_warnings
flush
status
;
create
table
t1
(
c1
int
primary
key
,
c2
int
,
c3
text
,
key
idx1
(
c2
),
fulltext
index
ft
(
c3
));
insert
into
t1
values
(
1
,
10
,
"aa ii uu ee oo"
);
insert
into
t1
values
(
2
,
20
,
"ka ki ku ke ko"
);
insert
into
t1
values
(
3
,
30
,
"sa si su se so"
);
insert
into
t1
values
(
4
,
40
,
"ta ti tu te to"
);
insert
into
t1
values
(
5
,
50
,
"aa ii uu ee oo"
);
show
status
like
'mroonga_count_skip'
;
select
*
from
t1
;
show
status
like
'mroonga_count_skip'
;
select
count
(
*
)
from
t1
;
show
status
like
'mroonga_count_skip'
;
select
*
from
t1
force
index
(
primary
)
where
c1
between
2
and
4
;
show
status
like
'mroonga_count_skip'
;
select
count
(
*
)
from
t1
force
index
(
primary
)
where
c1
between
2
and
4
;
show
status
like
'mroonga_count_skip'
;
select
c1
from
t1
force
index
(
primary
)
where
c1
<
3
;
show
status
like
'mroonga_count_skip'
;
select
count
(
c1
)
from
t1
force
index
(
primary
)
where
c1
<
3
;
show
status
like
'mroonga_count_skip'
;
select
1
from
t1
force
index
(
primary
)
where
c1
>
3
;
show
status
like
'mroonga_count_skip'
;
select
count
(
1
)
from
t1
force
index
(
primary
)
where
c1
>
3
;
show
status
like
'mroonga_count_skip'
;
select
*
from
t1
where
match
(
c3
)
against
(
"su"
);
show
status
like
'mroonga_count_skip'
;
select
count
(
*
)
from
t1
where
match
(
c3
)
against
(
"su"
);
show
status
like
'mroonga_count_skip'
;
select
*
from
t1
where
match
(
c3
)
against
(
"+su"
in
boolean
mode
);
show
status
like
'mroonga_count_skip'
;
select
count
(
*
)
from
t1
where
match
(
c3
)
against
(
"+su"
in
boolean
mode
);
show
status
like
'mroonga_count_skip'
;
select
*
from
t1
force
index
(
idx1
)
where
c2
between
20
and
40
;
show
status
like
'mroonga_count_skip'
;
select
count
(
*
)
from
t1
force
index
(
idx1
)
where
c2
between
20
and
40
;
show
status
like
'mroonga_count_skip'
;
drop
table
t1
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/optimization_skip_count_after_insert_multithread.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kentoku SHIBA
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
diaries
;
--
enable_warnings
FLUSH
STATUS
;
CREATE
TABLE
diaries
(
title
TEXT
,
FULLTEXT
INDEX
ft
(
title
)
);
INSERT
INTO
diaries
VALUES
(
"Hello mroonga!"
);
INSERT
INTO
diaries
VALUES
(
"It's funny."
);
CONNECT
(
thread2
,
localhost
,
root
,
,);
CONNECTION
thread2
;
INSERT
INTO
diaries
VALUES
(
"Happy birthday!"
);
DISCONNECT
thread2
;
CONNECTION
default
;
SHOW
STATUS
LIKE
'mroonga_count_skip'
;
SELECT
COUNT
(
*
)
FROM
diaries
WHERE
MATCH
(
title
)
AGAINST
(
"mroonga"
IN
BOOLEAN
MODE
);
SHOW
STATUS
LIKE
'mroonga_count_skip'
;
DROP
TABLE
diaries
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/optimization_skip_count_after_insert_single_thread.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kentoku SHIBA
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
diaries
;
--
enable_warnings
FLUSH
STATUS
;
CREATE
TABLE
diaries
(
title
TEXT
,
FULLTEXT
INDEX
ft
(
title
)
);
INSERT
INTO
diaries
VALUES
(
"Hello mroonga!"
);
INSERT
INTO
diaries
VALUES
(
"It's funny."
);
INSERT
INTO
diaries
VALUES
(
"Happy birthday!"
);
SHOW
STATUS
LIKE
'mroonga_count_skip'
;
SELECT
COUNT
(
*
)
FROM
diaries
WHERE
MATCH
(
title
)
AGAINST
(
"mroonga"
IN
BOOLEAN
MODE
);
SHOW
STATUS
LIKE
'mroonga_count_skip'
;
DROP
TABLE
diaries
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/optimization_skip_count_disabled.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
diaries
;
--
enable_warnings
FLUSH
STATUS
;
SET
NAMES
UTF8
;
CREATE
TABLE
diaries
(
id
INT
UNSIGNED
NOT
NULL
,
title
VARCHAR
(
255
),
content
TEXT
,
FULLTEXT
INDEX
(
content
)
)
DEFAULT
CHARSET
UTF8
;
SHOW
CREATE
TABLE
diaries
;
INSERT
INTO
diaries
VALUES
(
1
,
"Hello"
,
"今日からはじめました。"
);
INSERT
INTO
diaries
VALUES
(
2
,
"天気"
,
"明日の富士山の天気について"
);
INSERT
INTO
diaries
VALUES
(
3
,
"富士山"
,
"今日も天気がよくてきれいに見える。"
);
INSERT
INTO
diaries
VALUES
(
4
,
"帰り道"
,
"今日は天気がよくてよかった。"
);
INSERT
INTO
diaries
VALUES
(
5
,
"はれ"
,
"天気がよいのは今日までみたい。"
);
SET
mroonga_enable_optimization
=
FALSE
;
SELECT
COUNT
(
*
)
FROM
diaries
WHERE
MATCH
(
content
)
AGAINST
(
"今日"
IN
BOOLEAN
MODE
);
SHOW
STATUS
LIKE
'mroonga_count_skip'
;
SET
mroonga_enable_optimization
=
TRUE
;
DROP
TABLE
diaries
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/storage/t/optimization_skip_count_index_view.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
include
/
have_innodb
.
inc
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
diaries
,
users
;
--
enable_warnings
CREATE
TABLE
diaries
(
id
INT
PRIMARY
KEY
AUTO_INCREMENT
,
user_id
INT
NOT
NULL
,
title
VARCHAR
(
45
)
NOT
NULL
,
KEY
(
user_id
),
FULLTEXT
INDEX
title_index
(
title
)
)
DEFAULT
CHARSET
=
UTF8
;
CREATE
TABLE
users
(
id
INT
PRIMARY
KEY
AUTO_INCREMENT
,
name
VARCHAR
(
45
)
NOT
NULL
,
INDEX
(
name
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
UTF8
;
INSERT
INTO
users
(
id
,
name
)
VALUES
(
1
,
"Alice"
),
(
2
,
"Bob"
);
INSERT
INTO
diaries
(
user_id
,
title
)
VALUES
(
1
,
"survey"
);
INSERT
INTO
diaries
(
user_id
,
title
)
VALUES
(
2
,
"groonga (1)"
);
INSERT
INTO
diaries
(
user_id
,
title
)
VALUES
(
2
,
"groonga (2)"
);
CREATE
VIEW
articles
AS
SELECT
diaries
.
user_id
AS
user_id
,
diaries
.
title
AS
title
,
users
.
name
AS
name
FROM
diaries
,
users
WHERE
diaries
.
user_id
=
users
.
id
;
SELECT
COUNT
(
*
)
FROM
articles
WHERE
name
=
'Bob'
;
DROP
VIEW
articles
;
DROP
TABLE
diaries
,
users
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/wrapper/r/function_last_insert_grn_id.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS ids;
DROP FUNCTION IF EXISTS last_insert_grn_id;
CREATE TABLE ids (
id int AUTO_INCREMENT PRIMARY KEY
) COMMENT='ENGINE "InnoDB"';
SELECT last_insert_grn_id();
last_insert_grn_id()
0
INSERT INTO ids VALUES();
SELECT last_insert_grn_id();
last_insert_grn_id()
0
SELECT * FROM ids;
id
1
DROP TABLE ids;
DROP FUNCTION last_insert_grn_id;
storage/mroonga/mysql-test/mroonga/wrapper/r/version_55_performance_schema.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS diaries;
SHOW VARIABLES LIKE 'performance_schema';
Variable_name Value
performance_schema ON
CREATE TABLE diaries (
id INT PRIMARY KEY AUTO_INCREMENT,
content VARCHAR(255),
FULLTEXT INDEX (content)
) DEFAULT CHARSET UTF8 COMMENT = 'ENGINE "InnoDB"';
SHOW CREATE TABLE diaries;
Table Create Table
diaries CREATE TABLE `diaries` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`content` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
FULLTEXT KEY `content` (`content`)
) ENGINE=Mroonga DEFAULT CHARSET=utf8 COMMENT='ENGINE "InnoDB"'
INSERT INTO diaries (content) VALUES ("Tommorow will be shiny day!");
SHOW TABLES FROM performance_schema;
Tables_in_performance_schema
cond_instances
events_waits_current
events_waits_history
events_waits_history_long
events_waits_summary_by_instance
events_waits_summary_by_thread_by_event_name
events_waits_summary_global_by_event_name
file_instances
file_summary_by_event_name
file_summary_by_instance
mutex_instances
performance_timers
rwlock_instances
setup_consumers
setup_instruments
setup_timers
threads
DROP TABLE diaries;
storage/mroonga/mysql-test/mroonga/wrapper/r/version_56_or_later_performance_schema.result
deleted
100644 → 0
View file @
a0fdb258
DROP TABLE IF EXISTS diaries;
SHOW VARIABLES LIKE 'performance_schema';
Variable_name Value
performance_schema ON
CREATE TABLE diaries (
id INT PRIMARY KEY AUTO_INCREMENT,
content VARCHAR(255),
FULLTEXT INDEX (content)
) DEFAULT CHARSET UTF8 COMMENT = 'ENGINE "InnoDB"';
SHOW CREATE TABLE diaries;
Table Create Table
diaries CREATE TABLE `diaries` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`content` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
FULLTEXT KEY `content` (`content`)
) ENGINE=Mroonga DEFAULT CHARSET=utf8 COMMENT='ENGINE "InnoDB"'
INSERT INTO diaries (content) VALUES ("Tommorow will be shiny day!");
SHOW TABLES FROM performance_schema;
Tables_in_performance_schema
accounts
cond_instances
events_stages_current
events_stages_history
events_stages_history_long
events_stages_summary_by_account_by_event_name
events_stages_summary_by_host_by_event_name
events_stages_summary_by_thread_by_event_name
events_stages_summary_by_user_by_event_name
events_stages_summary_global_by_event_name
events_statements_current
events_statements_history
events_statements_history_long
events_statements_summary_by_account_by_event_name
events_statements_summary_by_digest
events_statements_summary_by_host_by_event_name
events_statements_summary_by_thread_by_event_name
events_statements_summary_by_user_by_event_name
events_statements_summary_global_by_event_name
events_waits_current
events_waits_history
events_waits_history_long
events_waits_summary_by_account_by_event_name
events_waits_summary_by_host_by_event_name
events_waits_summary_by_instance
events_waits_summary_by_thread_by_event_name
events_waits_summary_by_user_by_event_name
events_waits_summary_global_by_event_name
file_instances
file_summary_by_event_name
file_summary_by_instance
host_cache
hosts
mutex_instances
objects_summary_global_by_type
performance_timers
rwlock_instances
session_account_connect_attrs
session_connect_attrs
setup_actors
setup_consumers
setup_instruments
setup_objects
setup_timers
socket_instances
socket_summary_by_event_name
socket_summary_by_instance
table_io_waits_summary_by_index_usage
table_io_waits_summary_by_table
table_lock_waits_summary_by_table
threads
users
DROP TABLE diaries;
storage/mroonga/mysql-test/mroonga/wrapper/t/function_last_insert_grn_id.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
# Copyright(C) 2013 Kentoku SHIBA
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
include
/
have_innodb
.
inc
--
source
include
/
not_embedded
.
inc
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
ids
;
DROP
FUNCTION
IF
EXISTS
last_insert_grn_id
;
--
enable_warnings
--
disable_query_log
if
(
$VERSION_COMPILE_OS_WIN
)
{
CREATE
FUNCTION
last_insert_grn_id
RETURNS
integer
SONAME
'ha_mroonga.dll'
;
}
if
(
!
$VERSION_COMPILE_OS_WIN
)
{
CREATE
FUNCTION
last_insert_grn_id
RETURNS
integer
SONAME
'ha_mroonga.so'
;
}
--
enable_query_log
CREATE
TABLE
ids
(
id
int
AUTO_INCREMENT
PRIMARY
KEY
)
COMMENT
=
'ENGINE "InnoDB"'
;
SELECT
last_insert_grn_id
();
INSERT
INTO
ids
VALUES
();
SELECT
last_insert_grn_id
();
SELECT
*
FROM
ids
;
DROP
TABLE
ids
;
DROP
FUNCTION
last_insert_grn_id
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/wrapper/t/version_55_performance_schema.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_version_55
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
not_embedded
.
inc
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
diaries
;
--
enable_warnings
SHOW
VARIABLES
LIKE
'performance_schema'
;
CREATE
TABLE
diaries
(
id
INT
PRIMARY
KEY
AUTO_INCREMENT
,
content
VARCHAR
(
255
),
FULLTEXT
INDEX
(
content
)
)
DEFAULT
CHARSET
UTF8
COMMENT
=
'ENGINE "InnoDB"'
;
SHOW
CREATE
TABLE
diaries
;
INSERT
INTO
diaries
(
content
)
VALUES
(
"Tommorow will be shiny day!"
);
SHOW
TABLES
FROM
performance_schema
;
DROP
TABLE
diaries
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/mysql-test/mroonga/wrapper/t/version_56_or_later_performance_schema.test
deleted
100644 → 0
View file @
a0fdb258
# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
source
../../
include
/
mroonga
/
have_version_56_or_later
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_perfschema
.
inc
--
source
../../
include
/
mroonga
/
have_mroonga
.
inc
--
disable_warnings
DROP
TABLE
IF
EXISTS
diaries
;
--
enable_warnings
SHOW
VARIABLES
LIKE
'performance_schema'
;
CREATE
TABLE
diaries
(
id
INT
PRIMARY
KEY
AUTO_INCREMENT
,
content
VARCHAR
(
255
),
FULLTEXT
INDEX
(
content
)
)
DEFAULT
CHARSET
UTF8
COMMENT
=
'ENGINE "InnoDB"'
;
SHOW
CREATE
TABLE
diaries
;
INSERT
INTO
diaries
(
content
)
VALUES
(
"Tommorow will be shiny day!"
);
SHOW
TABLES
FROM
performance_schema
;
DROP
TABLE
diaries
;
--
source
../../
include
/
mroonga
/
have_mroonga_deinit
.
inc
storage/mroonga/packages/windows/build-vc2010-msi-32.bat
deleted
100644 → 0
View file @
a0fdb258
rmdir
/S /Q
build
-vc
2010
-msi
-
32
mkdir
build
-vc
2010
-msi
-
32
cd
build
-vc
2010
-msi
-
32
cmake
..\source
-G
"Visual Studio 10"
>
config
.log
cmake
-
-build
.
-
-config
RelWithDebInfo
>
build
.log
cmake
-
-build
.
-
-config
RelWithDebInfo
-
-target
msi
>
msi
.log
move
*
.msi ..\
cd
..
storage/mroonga/packages/windows/build-vc2010-msi-64.bat
deleted
100644 → 0
View file @
a0fdb258
rmdir
/S /Q
build
-vc
2010
-msi
-
64
mkdir
build
-vc
2010
-msi
-
64
cd
build
-vc
2010
-msi
-
64
cmake
..\source
-G
"Visual Studio 10 Win64"
>
config
.log
cmake
-
-build
.
-
-config
RelWithDebInfo
>
build
.log
cmake
-
-build
.
-
-config
RelWithDebInfo
-
-target
msi
>
msi
.log
move
*
.msi ..\
cd
..
storage/mroonga/packages/windows/build-vc2010-zip-32.bat
deleted
100644 → 0
View file @
a0fdb258
rmdir
/S /Q
build
-vc
2010
-zip
-
32
mkdir
build
-vc
2010
-zip
-
32
cd
build
-vc
2010
-zip
-
32
cmake
..\source
-G
"Visual Studio 10"
-DMRN
_GROONGA_EMBED
=
OFF
-DMRN
_GROONGA_NORMALIZER_MYSQL_EMBED
=
OFF
>
config
.log
cmake
-
-build
.
-
-config
RelWithDebInfo
>
build
.log
cmake
-
-build
.
-
-config
RelWithDebInfo
-
-target
package
>
zip
.log
move
*
.zip ..\
cd
..
storage/mroonga/packages/windows/build-vc2010-zip-64.bat
deleted
100644 → 0
View file @
a0fdb258
rmdir
/S /Q
build
-vc
2010
-zip
-
64
mkdir
build
-vc
2010
-zip
-
64
cd
build
-vc
2010
-zip
-
64
cmake
..\source
-G
"Visual Studio 10 Win64"
-DMRN
_GROONGA_EMBED
=
OFF
-DMRN
_GROONGA_NORMALIZER_MYSQL_EMBED
=
OFF
>
config
.log
cmake
-
-build
.
-
-config
RelWithDebInfo
>
build
.log
cmake
-
-build
.
-
-config
RelWithDebInfo
-
-target
package
>
zip
.log
move
*
.zip ..\
cd
..
storage/mroonga/packages/windows/build-vc2010.bat
deleted
100644 → 0
View file @
a0fdb258
build
-vc
2010
-zip
-
32
.bat
build
-vc
2010
-zip
-
64
.bat
build
-vc
2010
-msi
-
32
.bat
build
-vc
2010
-msi
-
64
.bat
storage/mroonga/plug.in
deleted
100644 → 0
View file @
a0fdb258
MYSQL_STORAGE_ENGINE(mroonga,,[mroonga],
[[CJK-ready fulltext search, column store]],
[max,max-no-ndb])
MYSQL_PLUGIN_DIRECTORY(mroonga, [storage/mroonga])
MYSQL_PLUGIN_STATIC(mroonga, [libmroonga.a])
MYSQL_PLUGIN_DYNAMIC(mroonga, [ha_mroonga.la])
storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt
View file @
d18beccc
...
@@ -54,6 +54,13 @@ else()
...
@@ -54,6 +54,13 @@ else()
_pkgconfig_invoke
(
groonga GROONGA PLUGINS_DIR
""
--variable=pluginsdir
)
_pkgconfig_invoke
(
groonga GROONGA PLUGINS_DIR
""
--variable=pluginsdir
)
endif
()
endif
()
if
(
NOT DEFINED CMAKE_C_COMPILE_OPTIONS_PIC
)
# For old CMake
if
(
CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGCXX
)
check_build_flag
(
"-fPIC"
)
endif
()
endif
()
include_directories
(
include_directories
(
${
CMAKE_BINARY_DIR
}
${
CMAKE_BINARY_DIR
}
${
GROONGA_INCLUDE_DIRS
}
)
${
GROONGA_INCLUDE_DIRS
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment