Merge lp:~kazuhiko/maria/5.3-groonga into lp:maria/5.3

Proposed by Kazuhiko
Status: Needs review
Proposed branch: lp:~kazuhiko/maria/5.3-groonga
Merge into: lp:maria/5.3
Diff against target: 360382 lines (+353611/-39)
1231 files modified
.bzrignore (+16/-0)
BUILD/autorun.sh (+9/-0)
BUILD/compile-pentium64 (+1/-1)
config/ac-macros/plugins.m4 (+43/-16)
config/ac-macros/zlib.m4 (+3/-3)
mysql-test/Makefile.am (+6/-1)
mysql-test/mysql-test-run.pl (+3/-2)
mysql-test/r/log_state.result (+4/-4)
mysql-test/suite/binlog/t/binlog_index-master.opt.moved (+0/-1)
mysql-test/suite/funcs_1/r/is_columns_is.result (+5/-5)
mysql-test/suite/funcs_1/r/is_tables_is.result (+2/-2)
mysql-test/suite/funcs_1/t/is_columns_is.test (+1/-1)
mysql-test/suite/funcs_1/t/is_tables_is.test (+1/-1)
mysql-test/suite/mroonga_storage/inc/have_fractional_seconds.inc (+34/-0)
mysql-test/suite/mroonga_storage/inc/have_fulltext_index_comment.inc (+7/-0)
mysql-test/suite/mroonga_storage/inc/have_mariadb.inc (+19/-0)
mysql-test/suite/mroonga_storage/inc/have_mroonga.inc (+47/-0)
mysql-test/suite/mroonga_storage/inc/have_mroonga.opt (+3/-0)
mysql-test/suite/mroonga_storage/inc/have_mroonga_deinit.inc (+35/-0)
mysql-test/suite/mroonga_storage/inc/have_mroonga_helper.inc (+17/-0)
mysql-test/suite/mroonga_storage/inc/have_mroonga_plugin.inc (+6/-0)
mysql-test/suite/mroonga_storage/r/alter_table_add_column.result (+37/-0)
mysql-test/suite/mroonga_storage/r/alter_table_change_engine.result (+49/-0)
mysql-test/suite/mroonga_storage/r/alter_table_drop_column.result (+37/-0)
mysql-test/suite/mroonga_storage/r/alter_table_engine_decimal.result (+38/-0)
mysql-test/suite/mroonga_storage/r/alter_table_fulltext.result (+52/-0)
mysql-test/suite/mroonga_storage/r/alter_table_rename_table.result (+45/-0)
mysql-test/suite/mroonga_storage/r/alter_table_spatial.result (+131/-0)
mysql-test/suite/mroonga_storage/r/auto_increment.result (+53/-0)
mysql-test/suite/mroonga_storage/r/auto_increment_text.result (+15/-0)
mysql-test/suite/mroonga_storage/r/binlog.result (+34/-0)
mysql-test/suite/mroonga_storage/r/btree.result (+25/-0)
mysql-test/suite/mroonga_storage/r/column_date_with_index.result (+29/-0)
mysql-test/suite/mroonga_storage/r/column_date_without_index.result (+27/-0)
mysql-test/suite/mroonga_storage/r/column_datetime_with_fractional_seconds_with_index.result (+34/-0)
mysql-test/suite/mroonga_storage/r/column_datetime_with_fractional_seconds_without_index.result (+32/-0)
mysql-test/suite/mroonga_storage/r/column_datetime_without_fractional_seconds_with_index.result (+33/-0)
mysql-test/suite/mroonga_storage/r/column_datetime_without_fractional_seconds_without_index.result (+31/-0)
mysql-test/suite/mroonga_storage/r/column_decimal_with_fractional_seconds_with_index.result (+29/-0)
mysql-test/suite/mroonga_storage/r/column_decimal_with_fractional_seconds_without_index.result (+27/-0)
mysql-test/suite/mroonga_storage/r/column_decimal_without_fractional_seconds_with_index.result (+29/-0)
mysql-test/suite/mroonga_storage/r/column_decimal_without_fractional_seconds_without_index.result (+27/-0)
mysql-test/suite/mroonga_storage/r/column_enum_less_with_index.result (+28/-0)
mysql-test/suite/mroonga_storage/r/column_enum_many_with_index.result (+287/-0)
mysql-test/suite/mroonga_storage/r/column_int_with_index_zero_value.result (+21/-0)
mysql-test/suite/mroonga_storage/r/column_time_with_fractional_seconds.result (+40/-0)
mysql-test/suite/mroonga_storage/r/column_time_without_fractional_seconds.result (+40/-0)
mysql-test/suite/mroonga_storage/r/column_timestamp_with_fractional_seconds.result (+42/-0)
mysql-test/suite/mroonga_storage/r/column_timestamp_without_fractional_seconds.result (+35/-0)
mysql-test/suite/mroonga_storage/r/column_year_with_index.result (+37/-0)
mysql-test/suite/mroonga_storage/r/column_year_without_index.result (+35/-0)
mysql-test/suite/mroonga_storage/r/create_database_name_slash.result (+33/-0)
mysql-test/suite/mroonga_storage/r/create_table.result (+172/-0)
mysql-test/suite/mroonga_storage/r/delete_fulltext_column.result (+21/-0)
mysql-test/suite/mroonga_storage/r/delete_id_index_hash_no_unique.result (+19/-0)
mysql-test/suite/mroonga_storage/r/delete_id_index_hash_unique.result (+19/-0)
mysql-test/suite/mroonga_storage/r/delete_normal_column.result (+34/-0)
mysql-test/suite/mroonga_storage/r/drop_database.result (+14/-0)
mysql-test/suite/mroonga_storage/r/drop_table.result (+5/-0)
mysql-test/suite/mroonga_storage/r/dry_write_delete.result (+28/-0)
mysql-test/suite/mroonga_storage/r/dry_write_insert.result (+30/-0)
mysql-test/suite/mroonga_storage/r/dry_write_update.result (+26/-0)
mysql-test/suite/mroonga_storage/r/flush_logs.result (+1/-0)
mysql-test/suite/mroonga_storage/r/fulltext_boolean_mode_pragma_default_operator.result (+45/-0)
mysql-test/suite/mroonga_storage/r/fulltext_found_rows.result (+42/-0)
mysql-test/suite/mroonga_storage/r/fulltext_index_recreate.result (+41/-0)
mysql-test/suite/mroonga_storage/r/fulltext_insert_select.result (+66/-0)
mysql-test/suite/mroonga_storage/r/fulltext_insert_values.result (+25/-0)
mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_delete.result (+34/-0)
mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_insert.result (+40/-0)
mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_recreate.result (+42/-0)
mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_update.result (+37/-0)
mysql-test/suite/mroonga_storage/r/fulltext_multiple_index.result (+33/-0)
mysql-test/suite/mroonga_storage/r/fulltext_no_primary_key.result (+21/-0)
mysql-test/suite/mroonga_storage/r/fulltext_no_such_key.result (+25/-0)
mysql-test/suite/mroonga_storage/r/fulltext_not_match_against.result (+68/-0)
mysql-test/suite/mroonga_storage/r/fulltext_parser_comment.result (+29/-0)
mysql-test/suite/mroonga_storage/r/fulltext_parser_default.result (+31/-0)
mysql-test/suite/mroonga_storage/r/fulltext_search_ascii.result (+29/-0)
mysql-test/suite/mroonga_storage/r/fulltext_search_cp932.result (+18/-0)
mysql-test/suite/mroonga_storage/r/fulltext_search_eucjpms.result (+18/-0)
mysql-test/suite/mroonga_storage/r/fulltext_search_japanese.result (+18/-0)
mysql-test/suite/mroonga_storage/r/geometry_contains.result (+169/-0)
mysql-test/suite/mroonga_storage/r/hash_index_id_normal.result (+18/-0)
mysql-test/suite/mroonga_storage/r/hash_index_id_primary.result (+28/-0)
mysql-test/suite/mroonga_storage/r/hash_index_id_unique.result (+18/-0)
mysql-test/suite/mroonga_storage/r/hash_index_normal_column_insert.result (+25/-0)
mysql-test/suite/mroonga_storage/r/information_schema.result (+4/-0)
mysql-test/suite/mroonga_storage/r/insert.result (+90/-0)
mysql-test/suite/mroonga_storage/r/insert_on_duplicate_key_update_primary_key.result (+26/-0)
mysql-test/suite/mroonga_storage/r/insert_on_duplicate_key_update_unique_key.result (+30/-0)
mysql-test/suite/mroonga_storage/r/key_read.result (+53/-0)
mysql-test/suite/mroonga_storage/r/last_insert_grn_id.result (+31/-0)
mysql-test/suite/mroonga_storage/r/log_level.result (+47/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_index_delete.result (+32/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_index_recreate.result (+39/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_index_replace.result (+39/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_index_select_double.result (+28/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_index_select_float.result (+28/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_index_select_int.result (+37/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_index_select_string.result (+40/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_index_select_varchar.result (+39/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_index_update.result (+34/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_index_update_int.result (+30/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_delete.result (+29/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_select_int.result (+37/-0)
mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_update.result (+32/-0)
mysql-test/suite/mroonga_storage/r/optimization_order_limit_disabled.result (+47/-0)
mysql-test/suite/mroonga_storage/r/optimization_order_limit_equal_int.result (+45/-0)
mysql-test/suite/mroonga_storage/r/optimization_order_limit_have_primary_key.result (+43/-0)
mysql-test/suite/mroonga_storage/r/optimization_order_limit_no_primary_key.result (+42/-0)
mysql-test/suite/mroonga_storage/r/optimization_order_limit_todo_split_me.result (+136/-0)
mysql-test/suite/mroonga_storage/r/optimization_skip_count_after_insert_multithread.result (+19/-0)
mysql-test/suite/mroonga_storage/r/optimization_skip_count_after_insert_single_thread.result (+19/-0)
mysql-test/suite/mroonga_storage/r/optimization_skip_count_disabled.result (+32/-0)
mysql-test/suite/mroonga_storage/r/optimization_skip_count_index_view.result (+28/-0)
mysql-test/suite/mroonga_storage/r/optimization_skip_count_todo_split_me.result (+106/-0)
mysql-test/suite/mroonga_storage/r/primary_key_date.result (+28/-0)
mysql-test/suite/mroonga_storage/r/primary_key_datetime_with_fractional_seconds.result (+30/-0)
mysql-test/suite/mroonga_storage/r/primary_key_datetime_without_fractional_seconds.result (+29/-0)
mysql-test/suite/mroonga_storage/r/primary_key_decimal_with_fractional_seconds.result (+25/-0)
mysql-test/suite/mroonga_storage/r/primary_key_decimal_without_fractional_seconds.result (+25/-0)
mysql-test/suite/mroonga_storage/r/primary_key_time_with_fractional_seconds.result (+29/-0)
mysql-test/suite/mroonga_storage/r/primary_key_time_without_fractional_seconds.result (+29/-0)
mysql-test/suite/mroonga_storage/r/primary_key_timestamp_with_fractional_seconds.result (+30/-0)
mysql-test/suite/mroonga_storage/r/primary_key_timestamp_without_fractional_seconds.result (+26/-0)
mysql-test/suite/mroonga_storage/r/primary_key_year.result (+29/-0)
mysql-test/suite/mroonga_storage/r/replace_select_varchar.result (+39/-0)
mysql-test/suite/mroonga_storage/r/replace_text.result (+33/-0)
mysql-test/suite/mroonga_storage/r/replace_varchar.result (+33/-0)
mysql-test/suite/mroonga_storage/r/select_all.result (+198/-0)
mysql-test/suite/mroonga_storage/r/select_pkey.result (+27/-0)
mysql-test/suite/mroonga_storage/r/select_secondary_key.result (+55/-0)
mysql-test/suite/mroonga_storage/r/show_create_table.result (+25/-0)
mysql-test/suite/mroonga_storage/r/show_table_status.result (+14/-0)
mysql-test/suite/mroonga_storage/r/show_table_status_for_auto_increment.result (+11/-0)
mysql-test/suite/mroonga_storage/r/sub_query_fulltext.result (+44/-0)
mysql-test/suite/mroonga_storage/r/temporary_table.result (+21/-0)
mysql-test/suite/mroonga_storage/r/tinyint.result (+18/-0)
mysql-test/suite/mroonga_storage/r/truncate.result (+55/-0)
mysql-test/suite/mroonga_storage/r/update_by_last_insert_grn_id.result (+32/-0)
mysql-test/suite/mroonga_storage/r/update_fulltext.result (+22/-0)
mysql-test/suite/mroonga_storage/r/update_id_hash_index.result (+20/-0)
mysql-test/suite/mroonga_storage/r/update_id_unique_hash_index.result (+20/-0)
mysql-test/suite/mroonga_storage/r/update_int.result (+42/-0)
mysql-test/suite/mroonga_storage/r/update_virtual_column.result (+28/-0)
mysql-test/suite/mroonga_storage/r/variables.result (+3/-0)
mysql-test/suite/mroonga_storage/t/alter_table_add_column.test (+45/-0)
mysql-test/suite/mroonga_storage/t/alter_table_change_engine.test (+54/-0)
mysql-test/suite/mroonga_storage/t/alter_table_drop_column.test (+44/-0)
mysql-test/suite/mroonga_storage/t/alter_table_engine_decimal.test (+45/-0)
mysql-test/suite/mroonga_storage/t/alter_table_fulltext.test (+56/-0)
mysql-test/suite/mroonga_storage/t/alter_table_rename_table.test (+49/-0)
mysql-test/suite/mroonga_storage/t/alter_table_spatial.test (+149/-0)
mysql-test/suite/mroonga_storage/t/auto_increment.test (+53/-0)
mysql-test/suite/mroonga_storage/t/auto_increment_text.test (+33/-0)
mysql-test/suite/mroonga_storage/t/binlog.test (+53/-0)
mysql-test/suite/mroonga_storage/t/btree.test (+33/-0)
mysql-test/suite/mroonga_storage/t/column_date_with_index.test (+41/-0)
mysql-test/suite/mroonga_storage/t/column_date_without_index.test (+40/-0)
mysql-test/suite/mroonga_storage/t/column_datetime_with_fractional_seconds_with_index.test (+47/-0)
mysql-test/suite/mroonga_storage/t/column_datetime_with_fractional_seconds_without_index.test (+46/-0)
mysql-test/suite/mroonga_storage/t/column_datetime_without_fractional_seconds_with_index.test (+45/-0)
mysql-test/suite/mroonga_storage/t/column_datetime_without_fractional_seconds_without_index.test (+44/-0)
mysql-test/suite/mroonga_storage/t/column_decimal_with_fractional_seconds_with_index.test (+41/-0)
mysql-test/suite/mroonga_storage/t/column_decimal_with_fractional_seconds_without_index.test (+40/-0)
mysql-test/suite/mroonga_storage/t/column_decimal_without_fractional_seconds_with_index.test (+41/-0)
mysql-test/suite/mroonga_storage/t/column_decimal_without_fractional_seconds_without_index.test (+40/-0)
mysql-test/suite/mroonga_storage/t/column_enum_less_with_index.test (+41/-0)
mysql-test/suite/mroonga_storage/t/column_enum_many_with_index.test (+298/-0)
mysql-test/suite/mroonga_storage/t/column_int_with_index_zero_value.test (+40/-0)
mysql-test/suite/mroonga_storage/t/column_time_with_fractional_seconds.test (+50/-0)
mysql-test/suite/mroonga_storage/t/column_time_without_fractional_seconds.test (+49/-0)
mysql-test/suite/mroonga_storage/t/column_timestamp_with_fractional_seconds.test (+54/-0)
mysql-test/suite/mroonga_storage/t/column_timestamp_without_fractional_seconds.test (+46/-0)
mysql-test/suite/mroonga_storage/t/column_year_with_index.test (+47/-0)
mysql-test/suite/mroonga_storage/t/column_year_without_index.test (+46/-0)
mysql-test/suite/mroonga_storage/t/create_database_name_slash.test (+60/-0)
mysql-test/suite/mroonga_storage/t/create_table.test (+147/-0)
mysql-test/suite/mroonga_storage/t/delete_fulltext_column.test (+36/-0)
mysql-test/suite/mroonga_storage/t/delete_id_index_hash_no_unique.test (+33/-0)
mysql-test/suite/mroonga_storage/t/delete_id_index_hash_unique.test (+33/-0)
mysql-test/suite/mroonga_storage/t/delete_normal_column.test (+44/-0)
mysql-test/suite/mroonga_storage/t/drop_database.test (+40/-0)
mysql-test/suite/mroonga_storage/t/drop_table.test (+29/-0)
mysql-test/suite/mroonga_storage/t/dry_write_delete.test (+43/-0)
mysql-test/suite/mroonga_storage/t/dry_write_insert.test (+43/-0)
mysql-test/suite/mroonga_storage/t/dry_write_update.test (+42/-0)
mysql-test/suite/mroonga_storage/t/flush_logs.test (+21/-0)
mysql-test/suite/mroonga_storage/t/fulltext_boolean_mode_pragma_default_operator.test (+48/-0)
mysql-test/suite/mroonga_storage/t/fulltext_found_rows.test (+49/-0)
mysql-test/suite/mroonga_storage/t/fulltext_index_recreate.test (+44/-0)
mysql-test/suite/mroonga_storage/t/fulltext_insert_select.test (+45/-0)
mysql-test/suite/mroonga_storage/t/fulltext_insert_values.test (+33/-0)
mysql-test/suite/mroonga_storage/t/fulltext_multiple_column_index_delete.test (+42/-0)
mysql-test/suite/mroonga_storage/t/fulltext_multiple_column_index_insert.test (+42/-0)
mysql-test/suite/mroonga_storage/t/fulltext_multiple_column_index_recreate.test (+50/-0)
mysql-test/suite/mroonga_storage/t/fulltext_multiple_column_index_update.test (+43/-0)
mysql-test/suite/mroonga_storage/t/fulltext_multiple_index.test (+47/-0)
mysql-test/suite/mroonga_storage/t/fulltext_no_primary_key.test (+39/-0)
mysql-test/suite/mroonga_storage/t/fulltext_no_such_key.test (+41/-0)
mysql-test/suite/mroonga_storage/t/fulltext_not_match_against.test (+46/-0)
mysql-test/suite/mroonga_storage/t/fulltext_parser_comment.test (+38/-0)
mysql-test/suite/mroonga_storage/t/fulltext_parser_default.test (+38/-0)
mysql-test/suite/mroonga_storage/t/fulltext_search_ascii.test (+36/-0)
mysql-test/suite/mroonga_storage/t/fulltext_search_cp932.test (+34/-0)
mysql-test/suite/mroonga_storage/t/fulltext_search_eucjpms.test (+34/-0)
mysql-test/suite/mroonga_storage/t/fulltext_search_japanese.test (+33/-0)
mysql-test/suite/mroonga_storage/t/geometry_contains.test (+144/-0)
mysql-test/suite/mroonga_storage/t/hash_index_id_normal.test (+33/-0)
mysql-test/suite/mroonga_storage/t/hash_index_id_primary.test (+35/-0)
mysql-test/suite/mroonga_storage/t/hash_index_id_unique.test (+33/-0)
mysql-test/suite/mroonga_storage/t/hash_index_normal_column_insert.test (+33/-0)
mysql-test/suite/mroonga_storage/t/information_schema.test (+22/-0)
mysql-test/suite/mroonga_storage/t/insert.test (+102/-0)
mysql-test/suite/mroonga_storage/t/insert_on_duplicate_key_update_primary_key.test (+43/-0)
mysql-test/suite/mroonga_storage/t/insert_on_duplicate_key_update_unique_key.test (+45/-0)
mysql-test/suite/mroonga_storage/t/key_read.test (+47/-0)
mysql-test/suite/mroonga_storage/t/last_insert_grn_id.test (+48/-0)
mysql-test/suite/mroonga_storage/t/log_level.test (+57/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_index_delete.test (+40/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_index_recreate.test (+50/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_index_replace.test (+43/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_index_select_double.test (+43/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_index_select_float.test (+43/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_index_select_int.test (+46/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_index_select_string.test (+41/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_index_select_varchar.test (+44/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_index_update.test (+40/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_index_update_int.test (+43/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_primary_key_delete.test (+39/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_primary_key_select_int.test (+40/-0)
mysql-test/suite/mroonga_storage/t/multiple_column_primary_key_update.test (+39/-0)
mysql-test/suite/mroonga_storage/t/optimization_order_limit_disabled.test (+60/-0)
mysql-test/suite/mroonga_storage/t/optimization_order_limit_equal_int.test (+56/-0)
mysql-test/suite/mroonga_storage/t/optimization_order_limit_have_primary_key.test (+51/-0)
mysql-test/suite/mroonga_storage/t/optimization_order_limit_no_primary_key.test (+51/-0)
mysql-test/suite/mroonga_storage/t/optimization_order_limit_todo_split_me.test (+89/-0)
mysql-test/suite/mroonga_storage/t/optimization_skip_count_after_insert_multithread.test (+45/-0)
mysql-test/suite/mroonga_storage/t/optimization_skip_count_after_insert_single_thread.test (+40/-0)
mysql-test/suite/mroonga_storage/t/optimization_skip_count_disabled.test (+51/-0)
mysql-test/suite/mroonga_storage/t/optimization_skip_count_index_view.test (+55/-0)
mysql-test/suite/mroonga_storage/t/optimization_skip_count_todo_split_me.test (+61/-0)
mysql-test/suite/mroonga_storage/t/primary_key_date.test (+42/-0)
mysql-test/suite/mroonga_storage/t/primary_key_datetime_with_fractional_seconds.test (+45/-0)
mysql-test/suite/mroonga_storage/t/primary_key_datetime_without_fractional_seconds.test (+43/-0)
mysql-test/suite/mroonga_storage/t/primary_key_decimal_with_fractional_seconds.test (+39/-0)
mysql-test/suite/mroonga_storage/t/primary_key_decimal_without_fractional_seconds.test (+39/-0)
mysql-test/suite/mroonga_storage/t/primary_key_time_with_fractional_seconds.test (+44/-0)
mysql-test/suite/mroonga_storage/t/primary_key_time_without_fractional_seconds.test (+43/-0)
mysql-test/suite/mroonga_storage/t/primary_key_timestamp_with_fractional_seconds.test (+45/-0)
mysql-test/suite/mroonga_storage/t/primary_key_timestamp_without_fractional_seconds.test (+40/-0)
mysql-test/suite/mroonga_storage/t/primary_key_year.test (+43/-0)
mysql-test/suite/mroonga_storage/t/replace_select_varchar.test (+63/-0)
mysql-test/suite/mroonga_storage/t/replace_text.test (+44/-0)
mysql-test/suite/mroonga_storage/t/replace_varchar.test (+44/-0)
mysql-test/suite/mroonga_storage/t/select_all.test (+100/-0)
mysql-test/suite/mroonga_storage/t/select_pkey.test (+40/-0)
mysql-test/suite/mroonga_storage/t/select_secondary_key.test (+51/-0)
mysql-test/suite/mroonga_storage/t/show_create_table.test (+35/-0)
mysql-test/suite/mroonga_storage/t/show_table_status.test (+33/-0)
mysql-test/suite/mroonga_storage/t/show_table_status_for_auto_increment.test (+31/-0)
mysql-test/suite/mroonga_storage/t/sub_query_fulltext.test (+55/-0)
mysql-test/suite/mroonga_storage/t/temporary_table.test (+37/-0)
mysql-test/suite/mroonga_storage/t/tinyint.test (+35/-0)
mysql-test/suite/mroonga_storage/t/truncate.test (+56/-0)
mysql-test/suite/mroonga_storage/t/update_by_last_insert_grn_id.test (+48/-0)
mysql-test/suite/mroonga_storage/t/update_fulltext.test (+36/-0)
mysql-test/suite/mroonga_storage/t/update_id_hash_index.test (+33/-0)
mysql-test/suite/mroonga_storage/t/update_id_unique_hash_index.test (+33/-0)
mysql-test/suite/mroonga_storage/t/update_int.test (+44/-0)
mysql-test/suite/mroonga_storage/t/update_virtual_column.test (+40/-0)
mysql-test/suite/mroonga_storage/t/variables.test (+22/-0)
mysql-test/suite/mroonga_wrapper/r/alter_table_add_column.result (+37/-0)
mysql-test/suite/mroonga_wrapper/r/alter_table_change_engine.result (+49/-0)
mysql-test/suite/mroonga_wrapper/r/alter_table_drop_column.result (+37/-0)
mysql-test/suite/mroonga_wrapper/r/alter_table_fulltext.result (+52/-0)
mysql-test/suite/mroonga_wrapper/r/alter_table_rename_table.result (+45/-0)
mysql-test/suite/mroonga_wrapper/r/alter_table_spatial.result (+131/-0)
mysql-test/suite/mroonga_wrapper/r/auto_increment_text.result (+15/-0)
mysql-test/suite/mroonga_wrapper/r/binlog.result (+34/-0)
mysql-test/suite/mroonga_wrapper/r/bulk_insert.result (+30/-0)
mysql-test/suite/mroonga_wrapper/r/count_star_index.result (+28/-0)
mysql-test/suite/mroonga_wrapper/r/create_table.result (+109/-0)
mysql-test/suite/mroonga_wrapper/r/delete.result (+55/-0)
mysql-test/suite/mroonga_wrapper/r/dry_write_delete.result (+53/-0)
mysql-test/suite/mroonga_wrapper/r/dry_write_insert.result (+42/-0)
mysql-test/suite/mroonga_wrapper/r/dry_write_update.result (+39/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_boolean_mode_pragma_default_operator.result (+45/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_index_recreate.result (+41/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_insert_select.result (+66/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_insert_values.result (+25/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_many_records.result (+4389/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_multiple_column_index_delete.result (+34/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_multiple_column_index_insert.result (+40/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_multiple_column_index_recreate.result (+42/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_multiple_column_index_update.result (+37/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_multiple_index.result (+33/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_myisam.result (+202/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_not_match_against.result (+68/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_parser_comment.result (+29/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_search_ascii.result (+29/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_search_cp932.result (+18/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_search_eucjpms.result (+18/-0)
mysql-test/suite/mroonga_wrapper/r/fulltext_search_japanese.result (+18/-0)
mysql-test/suite/mroonga_wrapper/r/geometry_contains.result (+169/-0)
mysql-test/suite/mroonga_wrapper/r/geometry_delete.result (+31/-0)
mysql-test/suite/mroonga_wrapper/r/geometry_update.result (+36/-0)
mysql-test/suite/mroonga_wrapper/r/insert.result (+78/-0)
mysql-test/suite/mroonga_wrapper/r/insert_on_duplicate_key_multiple_column_primary_key_myisam.result (+36/-0)
mysql-test/suite/mroonga_wrapper/r/insert_on_duplicate_key_multiple_column_unique_index_myisam.result (+39/-0)
mysql-test/suite/mroonga_wrapper/r/optimization_order_limit_todo_split_me.result (+67/-0)
mysql-test/suite/mroonga_wrapper/r/repair_table.result (+42/-0)
mysql-test/suite/mroonga_wrapper/r/temporary_table.result (+21/-0)
mysql-test/suite/mroonga_wrapper/r/transaction_rollback_delete_delete.result (+50/-0)
mysql-test/suite/mroonga_wrapper/r/transaction_rollback_delete_update.result (+47/-0)
mysql-test/suite/mroonga_wrapper/r/truncate.result (+55/-0)
mysql-test/suite/mroonga_wrapper/r/update_fulltext.result (+33/-0)
mysql-test/suite/mroonga_wrapper/r/update_int.result (+36/-0)
mysql-test/suite/mroonga_wrapper/t/alter_table_add_column.test (+45/-0)
mysql-test/suite/mroonga_wrapper/t/alter_table_change_engine.test (+54/-0)
mysql-test/suite/mroonga_wrapper/t/alter_table_drop_column.test (+44/-0)
mysql-test/suite/mroonga_wrapper/t/alter_table_fulltext.test (+56/-0)
mysql-test/suite/mroonga_wrapper/t/alter_table_rename_table.test (+49/-0)
mysql-test/suite/mroonga_wrapper/t/alter_table_spatial.test (+149/-0)
mysql-test/suite/mroonga_wrapper/t/auto_increment_text.test (+33/-0)
mysql-test/suite/mroonga_wrapper/t/binlog.test (+54/-0)
mysql-test/suite/mroonga_wrapper/t/bulk_insert.test (+43/-0)
mysql-test/suite/mroonga_wrapper/t/count_star_index.test (+53/-0)
mysql-test/suite/mroonga_wrapper/t/create_table.test (+98/-0)
mysql-test/suite/mroonga_wrapper/t/delete.test (+58/-0)
mysql-test/suite/mroonga_wrapper/t/dry_write_delete.test (+54/-0)
mysql-test/suite/mroonga_wrapper/t/dry_write_insert.test (+46/-0)
mysql-test/suite/mroonga_wrapper/t/dry_write_update.test (+47/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_boolean_mode_pragma_default_operator.test (+48/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_index_recreate.test (+44/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_insert_select.test (+46/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_insert_values.test (+34/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_many_records.test (+4135/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_multiple_column_index_delete.test (+42/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_multiple_column_index_insert.test (+42/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_multiple_column_index_recreate.test (+50/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_multiple_column_index_update.test (+43/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_multiple_index.test (+47/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_myisam.test (+102/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_not_match_against.test (+46/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_parser_comment.test (+38/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_search_ascii.test (+37/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_search_cp932.test (+34/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_search_eucjpms.test (+34/-0)
mysql-test/suite/mroonga_wrapper/t/fulltext_search_japanese.test (+34/-0)
mysql-test/suite/mroonga_wrapper/t/geometry_contains.test (+144/-0)
mysql-test/suite/mroonga_wrapper/t/geometry_delete.test (+47/-0)
mysql-test/suite/mroonga_wrapper/t/geometry_update.test (+49/-0)
mysql-test/suite/mroonga_wrapper/t/insert.test (+90/-0)
mysql-test/suite/mroonga_wrapper/t/insert_on_duplicate_key_multiple_column_primary_key_myisam.test (+49/-0)
mysql-test/suite/mroonga_wrapper/t/insert_on_duplicate_key_multiple_column_unique_index_myisam.test (+49/-0)
mysql-test/suite/mroonga_wrapper/t/optimization_order_limit_todo_split_me.test (+67/-0)
mysql-test/suite/mroonga_wrapper/t/repair_table.test (+62/-0)
mysql-test/suite/mroonga_wrapper/t/temporary_table.test (+37/-0)
mysql-test/suite/mroonga_wrapper/t/transaction_rollback_delete_delete.test (+58/-0)
mysql-test/suite/mroonga_wrapper/t/transaction_rollback_delete_update.test (+55/-0)
mysql-test/suite/mroonga_wrapper/t/truncate.test (+56/-0)
mysql-test/suite/mroonga_wrapper/t/update_fulltext.test (+42/-0)
mysql-test/suite/mroonga_wrapper/t/update_int.test (+40/-0)
mysql-test/t/information_schema-master.opt (+1/-0)
mysql-test/t/information_schema_all_engines-master.opt (+1/-1)
mysql-test/t/log_state.test (+1/-1)
storage/mroonga/AUTHORS (+7/-0)
storage/mroonga/CMakeLists.txt (+24/-0)
storage/mroonga/Makefile.am (+63/-0)
storage/mroonga/README (+1/-0)
storage/mroonga/groonga/AUTHORS (+17/-0)
storage/mroonga/groonga/CMakeLists.txt (+276/-0)
storage/mroonga/groonga/COPYING (+502/-0)
storage/mroonga/groonga/ChangeLog (+12375/-0)
storage/mroonga/groonga/INSTALL (+1/-0)
storage/mroonga/groonga/Makefile.am (+140/-0)
storage/mroonga/groonga/NEWS (+1/-0)
storage/mroonga/groonga/README (+1/-0)
storage/mroonga/groonga/base_version (+1/-0)
storage/mroonga/groonga/bindings/php/config.m4 (+66/-0)
storage/mroonga/groonga/bindings/php/config.w32 (+6/-0)
storage/mroonga/groonga/bindings/php/groonga.c (+227/-0)
storage/mroonga/groonga/bindings/php/groonga.dsp (+112/-0)
storage/mroonga/groonga/bindings/php/php_groonga.h (+125/-0)
storage/mroonga/groonga/bindings/python/ql/groongaql.c (+364/-0)
storage/mroonga/groonga/bindings/python/ql/setup.py (+22/-0)
storage/mroonga/groonga/build/Makefile.am (+2/-0)
storage/mroonga/groonga/build/ac_macros/check_functions.m4 (+9/-0)
storage/mroonga/groonga/build/ac_macros/check_headers.m4 (+23/-0)
storage/mroonga/groonga/build/cmake_modules/Makefile.am (+2/-0)
storage/mroonga/groonga/build/cmake_modules/ReadFileList.cmake (+27/-0)
storage/mroonga/groonga/build/makefiles/LC_MESSAGES.am (+5/-0)
storage/mroonga/groonga/build/makefiles/gettext.am (+58/-0)
storage/mroonga/groonga/build/makefiles/locale.am (+12/-0)
storage/mroonga/groonga/build/makefiles/sphinx-build.am (+26/-0)
storage/mroonga/groonga/build/makefiles/sphinx.am (+180/-0)
storage/mroonga/groonga/compile (+310/-0)
storage/mroonga/groonga/config.guess (+1517/-0)
storage/mroonga/groonga/config.h.cmake (+127/-0)
storage/mroonga/groonga/config.sub (+1760/-0)
storage/mroonga/groonga/configure.ac (+1202/-0)
storage/mroonga/groonga/data/CMakeLists.txt (+18/-0)
storage/mroonga/groonga/data/Makefile.am (+13/-0)
storage/mroonga/groonga/data/groonga.conf (+11/-0)
storage/mroonga/groonga/data/html/CMakeLists.txt (+16/-0)
storage/mroonga/groonga/data/html/Makefile.am (+9/-0)
storage/mroonga/groonga/data/html/admin/css/groonga-admin.css (+105/-0)
storage/mroonga/groonga/data/html/admin/css/redmond/jquery-ui-1.8.18.custom.css (+565/-0)
storage/mroonga/groonga/data/html/admin/favicon.svg (+121/-0)
storage/mroonga/groonga/data/html/admin/images/groonga.svg (+121/-0)
storage/mroonga/groonga/data/html/admin/index.html (+296/-0)
storage/mroonga/groonga/data/html/admin/js/groonga-admin.js (+1354/-0)
storage/mroonga/groonga/data/html/admin/js/jquery-1.7.2.min.js (+4/-0)
storage/mroonga/groonga/data/html/admin/js/jquery-ui-1.8.18.custom.min.js (+356/-0)
storage/mroonga/groonga/data/html/admin/js/jquery.flot-0.7.min.js (+6/-0)
storage/mroonga/groonga/data/html/admin/js/jquery.flot.license.txt (+22/-0)
storage/mroonga/groonga/data/html/admin/js/jquery.json-2.2.min.js (+31/-0)
storage/mroonga/groonga/data/html/files.am (+33/-0)
storage/mroonga/groonga/data/images/Makefile.am (+2/-0)
storage/mroonga/groonga/data/images/logo/Makefile.am (+22/-0)
storage/mroonga/groonga/data/images/logo/files.am (+53/-0)
storage/mroonga/groonga/data/images/logo/groonga-icon-foreground-white.svg (+118/-0)
storage/mroonga/groonga/data/images/logo/groonga-icon-full-size.svg (+97/-0)
storage/mroonga/groonga/data/images/logo/groonga-icon.svg (+93/-0)
storage/mroonga/groonga/data/images/logo/groonga-logo-foreground-white.svg (+108/-0)
storage/mroonga/groonga/data/images/logo/groonga-logo.svg (+118/-0)
storage/mroonga/groonga/data/images/logo/groonga-powered-by-banner-bar-foreground-white.svg (+170/-0)
storage/mroonga/groonga/data/images/logo/groonga-powered-by-banner-bar.svg (+186/-0)
storage/mroonga/groonga/data/images/logo/groonga-powered-by-banner-foreground-white.svg (+183/-0)
storage/mroonga/groonga/data/images/logo/groonga-powered-by-banner-large.svg (+179/-0)
storage/mroonga/groonga/data/images/logo/groonga-powered-by-banner.svg (+201/-0)
storage/mroonga/groonga/data/images/logo/mroonga-icon-foreground-white.svg (+106/-0)
storage/mroonga/groonga/data/images/logo/mroonga-icon-full-size.svg (+97/-0)
storage/mroonga/groonga/data/images/logo/mroonga-icon.svg (+93/-0)
storage/mroonga/groonga/data/images/logo/mroonga-logo-foreground-white.svg (+122/-0)
storage/mroonga/groonga/data/images/logo/mroonga-logo.svg (+106/-0)
storage/mroonga/groonga/data/images/logo/nroonga-icon-foreground-white.svg (+106/-0)
storage/mroonga/groonga/data/images/logo/nroonga-icon-full-size.svg (+107/-0)
storage/mroonga/groonga/data/images/logo/nroonga-icon.svg (+93/-0)
storage/mroonga/groonga/data/images/logo/nroonga-logo-foreground-white.svg (+122/-0)
storage/mroonga/groonga/data/images/logo/nroonga-logo.svg (+117/-0)
storage/mroonga/groonga/data/images/logo/rroonga-icon-foreground-white.svg (+106/-0)
storage/mroonga/groonga/data/images/logo/rroonga-icon-full-size.svg (+107/-0)
storage/mroonga/groonga/data/images/logo/rroonga-icon.svg (+93/-0)
storage/mroonga/groonga/data/images/logo/rroonga-logo-foreground-white.svg (+122/-0)
storage/mroonga/groonga/data/images/logo/rroonga-logo.svg (+117/-0)
storage/mroonga/groonga/data/images/logo/update-files.sh (+17/-0)
storage/mroonga/groonga/data/init.d/Makefile.am (+1/-0)
storage/mroonga/groonga/data/init.d/redhat/Makefile.am (+10/-0)
storage/mroonga/groonga/data/init.d/redhat/groonga (+170/-0)
storage/mroonga/groonga/data/init.d/redhat/sysconfig/Makefile.am (+8/-0)
storage/mroonga/groonga/data/init.d/redhat/sysconfig/groonga (+9/-0)
storage/mroonga/groonga/data/munin/Makefile.am (+12/-0)
storage/mroonga/groonga/data/munin/groonga_cpu_load (+47/-0)
storage/mroonga/groonga/data/munin/groonga_cpu_time (+57/-0)
storage/mroonga/groonga/data/munin/groonga_disk (+162/-0)
storage/mroonga/groonga/data/munin/groonga_memory (+51/-0)
storage/mroonga/groonga/data/munin/groonga_n_records (+110/-0)
storage/mroonga/groonga/data/munin/groonga_query_performance (+133/-0)
storage/mroonga/groonga/data/munin/groonga_status (+89/-0)
storage/mroonga/groonga/data/munin/groonga_throughput (+108/-0)
storage/mroonga/groonga/data/systemd/Makefile.am (+1/-0)
storage/mroonga/groonga/data/systemd/fedora/Makefile.am (+10/-0)
storage/mroonga/groonga/data/systemd/fedora/groonga.service (+13/-0)
storage/mroonga/groonga/data/systemd/fedora/sysconfig/Makefile.am (+8/-0)
storage/mroonga/groonga/data/systemd/fedora/sysconfig/groonga (+6/-0)
storage/mroonga/groonga/depcomp (+688/-0)
storage/mroonga/groonga/doc/Makefile.am (+68/-0)
storage/mroonga/groonga/doc/README (+439/-0)
storage/mroonga/groonga/doc/files.am (+856/-0)
storage/mroonga/groonga/doc/images.mk (+16/-0)
storage/mroonga/groonga/doc/locale/Makefile.am (+30/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/Makefile.am (+4/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/characteristic.po (+263/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/command_version.po (+240/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/commands.po (+3234/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/community.po (+60/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/conf.po (+31/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/contribution.po (+1172/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/executables.po (+1297/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/expr.po (+141/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/functions.po (+581/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/geolocation_search.po (+141/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/index.po (+47/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/indexing.po (+168/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/install.po (+344/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/limitations.po (+92/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/log.po (+253/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/news.po (+2670/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/output.po (+188/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/pseudo_column.po (+139/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/reference.po (+23/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/spec.po (+411/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/suggest.po (+1132/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/troubleshooting.po (+434/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/tutorial.po (+3399/-0)
storage/mroonga/groonga/doc/locale/en/LC_MESSAGES/type.po (+462/-0)
storage/mroonga/groonga/doc/locale/en/Makefile.am (+7/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/Makefile.am (+3/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/characteristic.po (+329/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/command_version.po (+165/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/commands.po (+2316/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/community.po (+52/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/conf.po (+34/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/contribution.po (+885/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/executables.po (+930/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/expr.po (+105/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/functions.po (+432/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/geolocation_search.po (+135/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/index.po (+38/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/indexing.po (+176/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/install.po (+291/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/limitations.po (+51/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/log.po (+241/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/news.po (+2601/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/output.po (+166/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/pseudo_column.po (+104/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/reference.po (+22/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/spec.po (+288/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/suggest.po (+1118/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/troubleshooting.po (+304/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/tutorial.po (+2302/-0)
storage/mroonga/groonga/doc/locale/ja/LC_MESSAGES/type.po (+335/-0)
storage/mroonga/groonga/doc/locale/ja/Makefile.am (+11/-0)
storage/mroonga/groonga/doc/source/characteristic.txt (+69/-0)
storage/mroonga/groonga/doc/source/command_version.txt (+75/-0)
storage/mroonga/groonga/doc/source/commands.txt (+15/-0)
storage/mroonga/groonga/doc/source/commands/cache_limit.txt (+54/-0)
storage/mroonga/groonga/doc/source/commands/check.txt (+166/-0)
storage/mroonga/groonga/doc/source/commands/clearlock.txt (+63/-0)
storage/mroonga/groonga/doc/source/commands/column_create.txt (+95/-0)
storage/mroonga/groonga/doc/source/commands/column_list.txt (+111/-0)
storage/mroonga/groonga/doc/source/commands/column_remove.txt (+60/-0)
storage/mroonga/groonga/doc/source/commands/define_selector.txt (+116/-0)
storage/mroonga/groonga/doc/source/commands/defrag.txt (+59/-0)
storage/mroonga/groonga/doc/source/commands/delete.txt (+72/-0)
storage/mroonga/groonga/doc/source/commands/dump.txt (+91/-0)
storage/mroonga/groonga/doc/source/commands/load.txt (+100/-0)
storage/mroonga/groonga/doc/source/commands/log_level.txt (+67/-0)
storage/mroonga/groonga/doc/source/commands/log_put.txt (+71/-0)
storage/mroonga/groonga/doc/source/commands/log_reopen.txt (+68/-0)
storage/mroonga/groonga/doc/source/commands/quit.txt (+40/-0)
storage/mroonga/groonga/doc/source/commands/select.txt (+474/-0)
storage/mroonga/groonga/doc/source/commands/shutdown.txt (+40/-0)
storage/mroonga/groonga/doc/source/commands/status.txt (+61/-0)
storage/mroonga/groonga/doc/source/commands/suggest-completion.log (+32/-0)
storage/mroonga/groonga/doc/source/commands/suggest-correction.log (+32/-0)
storage/mroonga/groonga/doc/source/commands/suggest-learn-completion.log (+13/-0)
storage/mroonga/groonga/doc/source/commands/suggest-learn-correction.log (+15/-0)
storage/mroonga/groonga/doc/source/commands/suggest-learn-suggestion.log (+9/-0)
storage/mroonga/groonga/doc/source/commands/suggest-mixed.log (+78/-0)
storage/mroonga/groonga/doc/source/commands/suggest-suggestion.log (+36/-0)
storage/mroonga/groonga/doc/source/commands/suggest.txt (+270/-0)
storage/mroonga/groonga/doc/source/commands/table_create.txt (+116/-0)
storage/mroonga/groonga/doc/source/commands/table_list.txt (+104/-0)
storage/mroonga/groonga/doc/source/commands/table_remove.txt (+52/-0)
storage/mroonga/groonga/doc/source/commands/view_add.txt (+55/-0)
storage/mroonga/groonga/doc/source/commands_not_implemented/add.txt (+104/-0)
storage/mroonga/groonga/doc/source/commands_not_implemented/get.txt (+80/-0)
storage/mroonga/groonga/doc/source/commands_not_implemented/set.txt (+105/-0)
storage/mroonga/groonga/doc/source/community.txt (+20/-0)
storage/mroonga/groonga/doc/source/conf.py (+285/-0)
storage/mroonga/groonga/doc/source/contribution.txt (+27/-0)
storage/mroonga/groonga/doc/source/contribution/development.txt (+12/-0)
storage/mroonga/groonga/doc/source/contribution/development/com.txt (+20/-0)
storage/mroonga/groonga/doc/source/contribution/development/document.txt (+40/-0)
storage/mroonga/groonga/doc/source/contribution/development/query.txt (+214/-0)
storage/mroonga/groonga/doc/source/contribution/development/test.txt (+116/-0)
storage/mroonga/groonga/doc/source/contribution/documentation.txt (+16/-0)
storage/mroonga/groonga/doc/source/contribution/documentation/c-api.txt (+14/-0)
storage/mroonga/groonga/doc/source/contribution/documentation/i18n.txt (+198/-0)
storage/mroonga/groonga/doc/source/contribution/report.txt (+13/-0)
storage/mroonga/groonga/doc/source/example/completion-1.log (+32/-0)
storage/mroonga/groonga/doc/source/example/correction-1.log (+32/-0)
storage/mroonga/groonga/doc/source/example/suggestion-1.log (+36/-0)
storage/mroonga/groonga/doc/source/example/tutorial/data-1.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/data-2.log (+49/-0)
storage/mroonga/groonga/doc/source/example/tutorial/data-3.log (+58/-0)
storage/mroonga/groonga/doc/source/example/tutorial/data-4.log (+48/-0)
storage/mroonga/groonga/doc/source/example/tutorial/data-5.log (+48/-0)
storage/mroonga/groonga/doc/source/example/tutorial/data-6.log (+48/-0)
storage/mroonga/groonga/doc/source/example/tutorial/data-7.log (+47/-0)
storage/mroonga/groonga/doc/source/example/tutorial/data-8.log (+55/-0)
storage/mroonga/groonga/doc/source/example/tutorial/drilldown-1.log (+24/-0)
storage/mroonga/groonga/doc/source/example/tutorial/drilldown-2.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/drilldown-3.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/drilldown-4.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/drilldown-5.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/drilldown-6.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/index-1.log (+25/-0)
storage/mroonga/groonga/doc/source/example/tutorial/index-2.log (+106/-0)
storage/mroonga/groonga/doc/source/example/tutorial/index-3.log (+21/-0)
storage/mroonga/groonga/doc/source/example/tutorial/index-4.log (+85/-0)
storage/mroonga/groonga/doc/source/example/tutorial/index-5.log (+79/-0)
storage/mroonga/groonga/doc/source/example/tutorial/index-6.log (+42/-0)
storage/mroonga/groonga/doc/source/example/tutorial/index-7.log (+42/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-1.log (+4/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-10.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-11.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-12.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-13.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-14.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-15.log (+9/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-16.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-17.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-18.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-2.log (+6/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-3.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-4.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-5.log (+7/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-6.log (+16/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-7.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-8.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/introduction-9.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/match_columns-1.log (+22/-0)
storage/mroonga/groonga/doc/source/example/tutorial/match_columns-2.log (+138/-0)
storage/mroonga/groonga/doc/source/example/tutorial/match_columns-3.log (+20/-0)
storage/mroonga/groonga/doc/source/example/tutorial/match_columns-4.log (+138/-0)
storage/mroonga/groonga/doc/source/example/tutorial/micro_blog-1.log (+36/-0)
storage/mroonga/groonga/doc/source/example/tutorial/micro_blog-10.log (+99/-0)
storage/mroonga/groonga/doc/source/example/tutorial/micro_blog-2.log (+36/-0)
storage/mroonga/groonga/doc/source/example/tutorial/micro_blog-3.log (+36/-0)
storage/mroonga/groonga/doc/source/example/tutorial/micro_blog-4.log (+90/-0)
storage/mroonga/groonga/doc/source/example/tutorial/micro_blog-5.log (+36/-0)
storage/mroonga/groonga/doc/source/example/tutorial/micro_blog-6.log (+74/-0)
storage/mroonga/groonga/doc/source/example/tutorial/micro_blog-7.log (+55/-0)
storage/mroonga/groonga/doc/source/example/tutorial/micro_blog-8.log (+59/-0)
storage/mroonga/groonga/doc/source/example/tutorial/micro_blog-9.log (+38/-0)
storage/mroonga/groonga/doc/source/example/tutorial/network-1.log (+25/-0)
storage/mroonga/groonga/doc/source/example/tutorial/network-2.log (+6/-0)
storage/mroonga/groonga/doc/source/example/tutorial/network-3.log (+90/-0)
storage/mroonga/groonga/doc/source/example/tutorial/patricia_trie-1.log (+45/-0)
storage/mroonga/groonga/doc/source/example/tutorial/patricia_trie-2.log (+102/-0)
storage/mroonga/groonga/doc/source/example/tutorial/query_expansion-1.log (+27/-0)
storage/mroonga/groonga/doc/source/example/tutorial/query_expansion-2.log (+71/-0)
storage/mroonga/groonga/doc/source/example/tutorial/query_expansion-3.log (+81/-0)
storage/mroonga/groonga/doc/source/example/tutorial/search-1.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/search-2.log (+7/-0)
storage/mroonga/groonga/doc/source/example/tutorial/search-3.log (+7/-0)
storage/mroonga/groonga/doc/source/example/tutorial/search-4.log (+13/-0)
storage/mroonga/groonga/doc/source/example/tutorial/search-5.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/search-6.log (+5/-0)
storage/mroonga/groonga/doc/source/example/tutorial/search-7.log (+5/-0)
storage/mroonga/groonga/doc/source/executables.txt (+14/-0)
storage/mroonga/groonga/doc/source/executables/grnslap.txt (+66/-0)
storage/mroonga/groonga/doc/source/executables/grntest.txt (+273/-0)
storage/mroonga/groonga/doc/source/executables/groonga-http.txt (+56/-0)
storage/mroonga/groonga/doc/source/executables/groonga-suggest-create-dataset.txt (+50/-0)
storage/mroonga/groonga/doc/source/executables/groonga.txt (+239/-0)
storage/mroonga/groonga/doc/source/expr.txt (+45/-0)
storage/mroonga/groonga/doc/source/functions.txt (+12/-0)
storage/mroonga/groonga/doc/source/functions/edit_distance.txt (+48/-0)
storage/mroonga/groonga/doc/source/functions/geo_distance.txt (+92/-0)
storage/mroonga/groonga/doc/source/functions/geo_in_circle.txt (+81/-0)
storage/mroonga/groonga/doc/source/functions/geo_in_rectangle.txt (+55/-0)
storage/mroonga/groonga/doc/source/functions/now.txt (+36/-0)
storage/mroonga/groonga/doc/source/functions/rand.txt (+43/-0)
storage/mroonga/groonga/doc/source/geolocation_search.txt (+52/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/array.svg (+188/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/columns.svg (+501/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/hash-table.svg (+275/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/index-column.svg (+899/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/inverted-index.svg (+249/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/patricia-trie.svg (+275/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/prefix-search.svg (+743/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/record-id.svg (+261/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/record.svg (+228/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/scalar-column.svg (+241/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/search-bigram-index-column-value.svg (+879/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/search-bigram-token-id.svg (+879/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/search-bigram.svg (+879/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/search-choose-tokenizer.svg (+602/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/search-first-index-column-value.svg (+600/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/search-first-token-id.svg (+600/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/search-initial-state.svg (+600/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/search-on-key-table.svg (+917/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/search-result.svg (+600/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/search-second-index-column-value.svg (+600/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/search-second-token-id.svg (+600/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/tokenizer.svg (+561/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/update-initial.svg (+389/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/update-process-first-data-first-token.svg (+469/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/update-process-first-data-second-token.svg (+514/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/update-process-second-data-first-token.svg (+595/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/update-process-second-data-second-token.svg (+600/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/update-save-first-data.svg (+424/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/update-save-second-data.svg (+549/-0)
storage/mroonga/groonga/doc/source/images/fulltext-introduction/vector-column.svg (+241/-0)
storage/mroonga/groonga/doc/source/images/geo-encode-leading-2bit.svg (+203/-0)
storage/mroonga/groonga/doc/source/images/geo-encode-leading-4bit.svg (+264/-0)
storage/mroonga/groonga/doc/source/images/geo-points-distance.svg (+317/-0)
storage/mroonga/groonga/doc/source/images/geo-points-in-circle.svg (+306/-0)
storage/mroonga/groonga/doc/source/images/geo-points-in-rectangle.svg (+304/-0)
storage/mroonga/groonga/doc/source/images/geo-points-sort.svg (+383/-0)
storage/mroonga/groonga/doc/source/images/geo-points.svg (+296/-0)
storage/mroonga/groonga/doc/source/images/geo-search-in-circle.svg (+287/-0)
storage/mroonga/groonga/doc/source/images/geo-search-in-rectangle.svg (+174/-0)
storage/mroonga/groonga/doc/source/index.txt (+31/-0)
storage/mroonga/groonga/doc/source/indexing.txt (+108/-0)
storage/mroonga/groonga/doc/source/install.txt (+319/-0)
storage/mroonga/groonga/doc/source/limitations.txt (+19/-0)
storage/mroonga/groonga/doc/source/log.txt (+214/-0)
storage/mroonga/groonga/doc/source/news.txt (+222/-0)
storage/mroonga/groonga/doc/source/news/0.x.txt (+126/-0)
storage/mroonga/groonga/doc/source/news/1.0.x.txt (+289/-0)
storage/mroonga/groonga/doc/source/news/1.1.x.txt (+31/-0)
storage/mroonga/groonga/doc/source/news/1.2.x.txt (+386/-0)
storage/mroonga/groonga/doc/source/news/senna.txt (+109/-0)
storage/mroonga/groonga/doc/source/output.txt (+164/-0)
storage/mroonga/groonga/doc/source/pseudo_column.txt (+40/-0)
storage/mroonga/groonga/doc/source/rdoc.py (+762/-0)
storage/mroonga/groonga/doc/source/reference.txt (+19/-0)
storage/mroonga/groonga/doc/source/spec.txt (+12/-0)
storage/mroonga/groonga/doc/source/spec/search.txt (+115/-0)
storage/mroonga/groonga/doc/source/suggest.txt (+17/-0)
storage/mroonga/groonga/doc/source/suggest/completion.txt (+195/-0)
storage/mroonga/groonga/doc/source/suggest/correction.txt (+148/-0)
storage/mroonga/groonga/doc/source/suggest/introduction.txt (+94/-0)
storage/mroonga/groonga/doc/source/suggest/suggestion.txt (+115/-0)
storage/mroonga/groonga/doc/source/suggest/tutorial.txt (+8/-0)
storage/mroonga/groonga/doc/source/textile.py (+771/-0)
storage/mroonga/groonga/doc/source/troubleshooting.txt (+12/-0)
storage/mroonga/groonga/doc/source/troubleshooting/different_results_with_the_same_keyword.txt (+135/-0)
storage/mroonga/groonga/doc/source/tutorial.txt (+21/-0)
storage/mroonga/groonga/doc/source/tutorial/data.txt (+155/-0)
storage/mroonga/groonga/doc/source/tutorial/drilldown.txt (+66/-0)
storage/mroonga/groonga/doc/source/tutorial/index.txt (+118/-0)
storage/mroonga/groonga/doc/source/tutorial/introduction.txt (+286/-0)
storage/mroonga/groonga/doc/source/tutorial/lexicon.txt (+11/-0)
storage/mroonga/groonga/doc/source/tutorial/match_columns.txt (+91/-0)
storage/mroonga/groonga/doc/source/tutorial/micro_blog.txt (+485/-0)
storage/mroonga/groonga/doc/source/tutorial/network.txt (+142/-0)
storage/mroonga/groonga/doc/source/tutorial/patricia_trie.txt (+51/-0)
storage/mroonga/groonga/doc/source/tutorial/query_expansion.txt (+62/-0)
storage/mroonga/groonga/doc/source/tutorial/search.txt (+121/-0)
storage/mroonga/groonga/doc/source/type.txt (+129/-0)
storage/mroonga/groonga/doc/themes/groonga/layout.html (+40/-0)
storage/mroonga/groonga/doc/themes/groonga/static/groonga.css_t (+479/-0)
storage/mroonga/groonga/doc/themes/groonga/theme.conf (+14/-0)
storage/mroonga/groonga/doc/update_execution_example.py (+167/-0)
storage/mroonga/groonga/examples/Makefile.am (+11/-0)
storage/mroonga/groonga/examples/dictionary/Makefile.am (+34/-0)
storage/mroonga/groonga/examples/dictionary/edict/Makefile.am (+4/-0)
storage/mroonga/groonga/examples/dictionary/edict/edict-import.sh (+21/-0)
storage/mroonga/groonga/examples/dictionary/edict/edict2grn.rb (+56/-0)
storage/mroonga/groonga/examples/dictionary/eijiro/Makefile.am (+4/-0)
storage/mroonga/groonga/examples/dictionary/eijiro/eijiro-import.sh (+12/-0)
storage/mroonga/groonga/examples/dictionary/eijiro/eijiro2grn.rb (+61/-0)
storage/mroonga/groonga/examples/dictionary/gene95/Makefile.am (+4/-0)
storage/mroonga/groonga/examples/dictionary/gene95/gene-import.sh (+26/-0)
storage/mroonga/groonga/examples/dictionary/gene95/gene2grn.rb (+46/-0)
storage/mroonga/groonga/examples/dictionary/html/css/dictionary.css (+3/-0)
storage/mroonga/groonga/examples/dictionary/html/css/smoothness/jquery-ui-1.8.12.custom.css (+578/-0)
storage/mroonga/groonga/examples/dictionary/html/index.html (+28/-0)
storage/mroonga/groonga/examples/dictionary/html/js/dictionary.js (+82/-0)
storage/mroonga/groonga/examples/dictionary/html/js/jquery-1.6.0.min.js (+16/-0)
storage/mroonga/groonga/examples/dictionary/html/js/jquery-ui-1.8.12.min.js (+406/-0)
storage/mroonga/groonga/examples/dictionary/init-db.sh (+10/-0)
storage/mroonga/groonga/examples/dictionary/jmdict/Makefile.am (+3/-0)
storage/mroonga/groonga/examples/dictionary/jmdict/jmdict.rb (+42/-0)
storage/mroonga/groonga/examples/dictionary/readme.txt (+71/-0)
storage/mroonga/groonga/examples/kv.c (+468/-0)
storage/mroonga/groonga/gpg_uid (+1/-0)
storage/mroonga/groonga/groonga.pc.in (+17/-0)
storage/mroonga/groonga/include/CMakeLists.txt (+18/-0)
storage/mroonga/groonga/include/Makefile.am (+6/-0)
storage/mroonga/groonga/include/groonga.h (+2834/-0)
storage/mroonga/groonga/include/groonga/Makefile.am (+4/-0)
storage/mroonga/groonga/include/groonga/plugin.h (+158/-0)
storage/mroonga/groonga/include/groonga/tokenizer.h (+146/-0)
storage/mroonga/groonga/install-sh (+527/-0)
storage/mroonga/groonga/lib/CMakeLists.txt (+33/-0)
storage/mroonga/groonga/lib/Makefile.am (+31/-0)
storage/mroonga/groonga/lib/com.c (+1153/-0)
storage/mroonga/groonga/lib/com.h (+260/-0)
storage/mroonga/groonga/lib/ctx.c (+2477/-0)
storage/mroonga/groonga/lib/ctx.h (+509/-0)
storage/mroonga/groonga/lib/ctx_impl.h (+177/-0)
storage/mroonga/groonga/lib/dat.cpp (+1078/-0)
storage/mroonga/groonga/lib/dat.h (+96/-0)
storage/mroonga/groonga/lib/dat/Makefile.am (+12/-0)
storage/mroonga/groonga/lib/dat/array.hpp (+100/-0)
storage/mroonga/groonga/lib/dat/base.hpp (+69/-0)
storage/mroonga/groonga/lib/dat/block.hpp (+96/-0)
storage/mroonga/groonga/lib/dat/check.hpp (+151/-0)
storage/mroonga/groonga/lib/dat/cursor-factory.cpp (+94/-0)
storage/mroonga/groonga/lib/dat/cursor-factory.hpp (+46/-0)
storage/mroonga/groonga/lib/dat/cursor.hpp (+48/-0)
storage/mroonga/groonga/lib/dat/dat.hpp (+269/-0)
storage/mroonga/groonga/lib/dat/entry.hpp (+61/-0)
storage/mroonga/groonga/lib/dat/file-impl.cpp (+244/-0)
storage/mroonga/groonga/lib/dat/file-impl.hpp (+73/-0)
storage/mroonga/groonga/lib/dat/file.cpp (+67/-0)
storage/mroonga/groonga/lib/dat/file.hpp (+60/-0)
storage/mroonga/groonga/lib/dat/header.hpp (+183/-0)
storage/mroonga/groonga/lib/dat/id-cursor.cpp (+176/-0)
storage/mroonga/groonga/lib/dat/id-cursor.hpp (+84/-0)
storage/mroonga/groonga/lib/dat/key-cursor.cpp (+349/-0)
storage/mroonga/groonga/lib/dat/key-cursor.hpp (+90/-0)
storage/mroonga/groonga/lib/dat/key.hpp (+112/-0)
storage/mroonga/groonga/lib/dat/node.hpp (+129/-0)
storage/mroonga/groonga/lib/dat/predictive-cursor.cpp (+206/-0)
storage/mroonga/groonga/lib/dat/predictive-cursor.hpp (+86/-0)
storage/mroonga/groonga/lib/dat/prefix-cursor.cpp (+175/-0)
storage/mroonga/groonga/lib/dat/prefix-cursor.hpp (+80/-0)
storage/mroonga/groonga/lib/dat/sources.am (+29/-0)
storage/mroonga/groonga/lib/dat/string.hpp (+175/-0)
storage/mroonga/groonga/lib/dat/trie.cpp (+1213/-0)
storage/mroonga/groonga/lib/dat/trie.hpp (+285/-0)
storage/mroonga/groonga/lib/dat/vector.hpp (+193/-0)
storage/mroonga/groonga/lib/db.c (+9352/-0)
storage/mroonga/groonga/lib/db.h (+435/-0)
storage/mroonga/groonga/lib/ecmascript.c (+2009/-0)
storage/mroonga/groonga/lib/ecmascript.h (+69/-0)
storage/mroonga/groonga/lib/ecmascript.y (+363/-0)
storage/mroonga/groonga/lib/expr.c (+5740/-0)
storage/mroonga/groonga/lib/geo.c (+2029/-0)
storage/mroonga/groonga/lib/geo.h (+178/-0)
storage/mroonga/groonga/lib/groonga_in.h (+640/-0)
storage/mroonga/groonga/lib/hash.c (+3159/-0)
storage/mroonga/groonga/lib/hash.h (+321/-0)
storage/mroonga/groonga/lib/ii.c (+7336/-0)
storage/mroonga/groonga/lib/ii.h (+196/-0)
storage/mroonga/groonga/lib/io.c (+1951/-0)
storage/mroonga/groonga/lib/io.h (+484/-0)
storage/mroonga/groonga/lib/nfkc.c (+80249/-0)
storage/mroonga/groonga/lib/nfkc.h (+39/-0)
storage/mroonga/groonga/lib/output.c (+1038/-0)
storage/mroonga/groonga/lib/output.h (+86/-0)
storage/mroonga/groonga/lib/pat.c (+2884/-0)
storage/mroonga/groonga/lib/pat.h (+111/-0)
storage/mroonga/groonga/lib/plugin.c (+528/-0)
storage/mroonga/groonga/lib/plugin_in.h (+67/-0)
storage/mroonga/groonga/lib/proc.c (+2979/-0)
storage/mroonga/groonga/lib/proc.h (+35/-0)
storage/mroonga/groonga/lib/snip.c (+796/-0)
storage/mroonga/groonga/lib/snip.h (+130/-0)
storage/mroonga/groonga/lib/sources.am (+41/-0)
storage/mroonga/groonga/lib/store.c (+1651/-0)
storage/mroonga/groonga/lib/store.h (+158/-0)
storage/mroonga/groonga/lib/str.c (+3262/-0)
storage/mroonga/groonga/lib/str.h (+132/-0)
storage/mroonga/groonga/lib/token.c (+616/-0)
storage/mroonga/groonga/lib/token.h (+92/-0)
storage/mroonga/groonga/lib/tokenizer.c (+206/-0)
storage/mroonga/groonga/lib/util.c (+894/-0)
storage/mroonga/groonga/lib/util.h (+47/-0)
storage/mroonga/groonga/ltsugar.m4 (+123/-0)
storage/mroonga/groonga/lt~obsolete.m4 (+98/-0)
storage/mroonga/groonga/missing (+331/-0)
storage/mroonga/groonga/packages/Makefile.am (+6/-0)
storage/mroonga/groonga/packages/apt/Makefile.am (+68/-0)
storage/mroonga/groonga/packages/rpm/Makefile.am (+1/-0)
storage/mroonga/groonga/packages/rpm/centos/Makefile.am (+2/-0)
storage/mroonga/groonga/packages/rpm/centos/groonga.spec.in (+353/-0)
storage/mroonga/groonga/packages/rpm/fedora/Makefile.am (+2/-0)
storage/mroonga/groonga/packages/rpm/fedora/groonga.spec.in (+451/-0)
storage/mroonga/groonga/packages/source/Makefile.am (+19/-0)
storage/mroonga/groonga/packages/windows/Makefile.am (+127/-0)
storage/mroonga/groonga/packages/windows/Rakefile (+239/-0)
storage/mroonga/groonga/packages/windows/language-files/Makefile.am (+3/-0)
storage/mroonga/groonga/packages/windows/language-files/english.nsi (+2/-0)
storage/mroonga/groonga/packages/windows/language-files/japanese.nsi (+2/-0)
storage/mroonga/groonga/packages/windows/patches/Makefile.am (+3/-0)
storage/mroonga/groonga/packages/windows/patches/mecab-0.98-mingw-w64.diff (+13/-0)
storage/mroonga/groonga/packages/windows/patches/mecab-0.98-not-use-locale-on-mingw.diff (+15/-0)
storage/mroonga/groonga/packages/windows/setup-x64.nsi.in (+112/-0)
storage/mroonga/groonga/packages/yum/Makefile.am (+68/-0)
storage/mroonga/groonga/plugins/CMakeLists.txt (+17/-0)
storage/mroonga/groonga/plugins/Makefile.am (+6/-0)
storage/mroonga/groonga/plugins/suggest/CMakeLists.txt (+24/-0)
storage/mroonga/groonga/plugins/suggest/Makefile.am (+21/-0)
storage/mroonga/groonga/plugins/suggest/sources.am (+2/-0)
storage/mroonga/groonga/plugins/suggest/suggest.c (+924/-0)
storage/mroonga/groonga/plugins/tokenizers/CMakeLists.txt (+43/-0)
storage/mroonga/groonga/plugins/tokenizers/Makefile.am (+33/-0)
storage/mroonga/groonga/plugins/tokenizers/kytea.cpp (+290/-0)
storage/mroonga/groonga/plugins/tokenizers/kytea_sources.am (+2/-0)
storage/mroonga/groonga/plugins/tokenizers/mecab.c (+288/-0)
storage/mroonga/groonga/plugins/tokenizers/mecab_sources.am (+2/-0)
storage/mroonga/groonga/src/CMakeLists.txt (+32/-0)
storage/mroonga/groonga/src/Makefile.am (+45/-0)
storage/mroonga/groonga/src/grnslap.c (+373/-0)
storage/mroonga/groonga/src/grnslap_sources.am (+2/-0)
storage/mroonga/groonga/src/groonga.c (+2840/-0)
storage/mroonga/groonga/src/groonga_benchmark.c (+3167/-0)
storage/mroonga/groonga/src/groonga_benchmark_sources.am (+2/-0)
storage/mroonga/groonga/src/groonga_sources.am (+2/-0)
storage/mroonga/groonga/src/suggest/CMakeLists.txt (+71/-0)
storage/mroonga/groonga/src/suggest/Makefile.am (+74/-0)
storage/mroonga/groonga/src/suggest/create_dataset_sources.am (+2/-0)
storage/mroonga/groonga/src/suggest/groonga_suggest_create_dataset.c (+159/-0)
storage/mroonga/groonga/src/suggest/groonga_suggest_httpd.c (+841/-0)
storage/mroonga/groonga/src/suggest/groonga_suggest_learner.c (+783/-0)
storage/mroonga/groonga/src/suggest/httpd_sources.am (+2/-0)
storage/mroonga/groonga/src/suggest/learner_sources.am (+2/-0)
storage/mroonga/groonga/src/suggest/util.c (+215/-0)
storage/mroonga/groonga/src/suggest/util.h (+40/-0)
storage/mroonga/groonga/src/suggest/util_sources.am (+3/-0)
storage/mroonga/groonga/test/Makefile.am (+4/-0)
storage/mroonga/groonga/test/benchmark/Makefile.am (+59/-0)
storage/mroonga/groonga/test/benchmark/bench-geo-distance.c (+260/-0)
storage/mroonga/groonga/test/benchmark/bench-geo-select.c (+269/-0)
storage/mroonga/groonga/test/benchmark/bench-table-factory.c (+270/-0)
storage/mroonga/groonga/test/benchmark/fixtures/Makefile.am (+2/-0)
storage/mroonga/groonga/test/benchmark/fixtures/geo-select/Makefile.am (+4/-0)
storage/mroonga/groonga/test/benchmark/fixtures/geo-select/README.txt (+6/-0)
storage/mroonga/groonga/test/benchmark/fixtures/geo-select/format_2010.html (+111/-0)
storage/mroonga/groonga/test/benchmark/lib/Makefile.am (+21/-0)
storage/mroonga/groonga/test/benchmark/lib/bench-reporter.c (+224/-0)
storage/mroonga/groonga/test/benchmark/lib/bench-reporter.h (+64/-0)
storage/mroonga/groonga/test/benchmark/lib/bench-utils.c (+83/-0)
storage/mroonga/groonga/test/benchmark/lib/bench-utils.h (+34/-0)
storage/mroonga/groonga/test/benchmark/lib/benchmark.c (+33/-0)
storage/mroonga/groonga/test/benchmark/lib/benchmark.h (+32/-0)
storage/mroonga/groonga/test/function/Makefile.am (+20/-0)
storage/mroonga/groonga/test/function/files.am (+123/-0)
storage/mroonga/groonga/test/function/fixture/geo/taiyaki/areas.grn (+26/-0)
storage/mroonga/groonga/test/function/fixture/geo/taiyaki/categories.grn (+6/-0)
storage/mroonga/groonga/test/function/fixture/geo/taiyaki/ddl.grn (+36/-0)
storage/mroonga/groonga/test/function/fixture/geo/taiyaki/init.grn (+7/-0)
storage/mroonga/groonga/test/function/fixture/geo/taiyaki/shops.grn (+308/-0)
storage/mroonga/groonga/test/function/fixture/geo/taiyaki/synonyms.grn (+5/-0)
storage/mroonga/groonga/test/function/fixture/suggest/rurema/init.grn (+5/-0)
storage/mroonga/groonga/test/function/fixture/suggest/rurema/items.grn (+16/-0)
storage/mroonga/groonga/test/function/fixture/suggest/rurema/learn.grn (+790/-0)
storage/mroonga/groonga/test/function/run-test.sh (+64/-0)
storage/mroonga/groonga/test/function/suite/dump/table-tokenizer-index-column.expected (+58/-0)
storage/mroonga/groonga/test/function/suite/dump/table-tokenizer-index-column.test (+21/-0)
storage/mroonga/groonga/test/function/suite/geo/taiyaki/in-circle.expected (+64/-0)
storage/mroonga/groonga/test/function/suite/geo/taiyaki/in-circle.test (+7/-0)
storage/mroonga/groonga/test/function/suite/geo/taiyaki/in-rectangle-long-latitude.expected (+54/-0)
storage/mroonga/groonga/test/function/suite/geo/taiyaki/in-rectangle-long-latitude.test (+7/-0)
storage/mroonga/groonga/test/function/suite/load/each/scalar-geo-point-with-brace.expected (+57/-0)
storage/mroonga/groonga/test/function/suite/load/each/scalar-geo-point-with-brace.test (+12/-0)
storage/mroonga/groonga/test/function/suite/load/each/scalar-geo-point-with-bracket.expected (+58/-0)
storage/mroonga/groonga/test/function/suite/load/each/scalar-geo-point-with-bracket.test (+13/-0)
storage/mroonga/groonga/test/function/suite/load/scalar-geo-point-index.expected (+120/-0)
storage/mroonga/groonga/test/function/suite/load/scalar-geo-point-index.test (+26/-0)
storage/mroonga/groonga/test/function/suite/load/scalar-geo-point-valid-large-latitude.expected (+43/-0)
storage/mroonga/groonga/test/function/suite/load/scalar-geo-point-valid-large-latitude.test (+9/-0)
storage/mroonga/groonga/test/function/suite/load/scalar-geo-point-valid-large-longitude.expected (+43/-0)
storage/mroonga/groonga/test/function/suite/load/scalar-geo-point-valid-large-longitude.test (+9/-0)
storage/mroonga/groonga/test/function/suite/load/scalar-geo-point-valid-small-latitude.expected (+43/-0)
storage/mroonga/groonga/test/function/suite/load/scalar-geo-point-valid-small-latitude.test (+9/-0)
storage/mroonga/groonga/test/function/suite/load/scalar-geo-point-valid-small-longitude.expected (+43/-0)
storage/mroonga/groonga/test/function/suite/load/scalar-geo-point-valid-small-longitude.test (+9/-0)
storage/mroonga/groonga/test/function/suite/select/filter/similar.expected (+66/-0)
storage/mroonga/groonga/test/function/suite/select/filter/similar.test (+21/-0)
storage/mroonga/groonga/test/function/suite/select/output-columns/with-space.expected (+44/-0)
storage/mroonga/groonga/test/function/suite/select/output-columns/with-space.test (+11/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-ellip-with-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-ellip-with-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-ellip-without-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-ellip-without-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-ellipsoid-with-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-ellipsoid-with-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-ellipsoid-without-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-ellipsoid-without-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rect-with-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rect-with-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rect-without-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rect-without-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rectangle-with-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rectangle-with-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rectangle-without-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-sphere-with-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-sphere-with-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-sphere-without-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-sphere-without-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-sphr-with-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-sphr-with-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-sphr-without-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-sphr-without-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-with-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-with-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-without-index.expected (+471/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-without-index.test (+390/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-reference-default.expected (+50/-0)
storage/mroonga/groonga/test/function/suite/select/output/scalar-reference-default.test (+11/-0)
storage/mroonga/groonga/test/function/suite/select/output/vector-geo-point-by-accessor.expected (+49/-0)
storage/mroonga/groonga/test/function/suite/select/output/vector-geo-point-by-accessor.test (+12/-0)
storage/mroonga/groonga/test/function/suite/select/output/vector-geo-point.expected (+47/-0)
storage/mroonga/groonga/test/function/suite/select/output/vector-geo-point.test (+10/-0)
storage/mroonga/groonga/test/function/suite/select/sort/string-use-8bit.expected (+55/-0)
storage/mroonga/groonga/test/function/suite/select/sort/string-use-8bit.test (+11/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/coocurrence.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/coocurrence.test (+9/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-hiragana-and-romaji.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-hiragana-and-romaji.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-hiragana.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-hiragana.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-katakana.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-katakana.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-romaji.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-romaji.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-thrshold-found.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-thrshold-found.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-thrshold-not-found.expected (+2/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-rk-search-thrshold-not-found.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-downcase.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-downcase.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-no.expected (+2/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-no.test (+9/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-threshold-found.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-threshold-found.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-threshold-not-found.expected (+2/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-threshold-not-found.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-upcase.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-upcase.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-yes.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/complete/prefix-search-yes.test (+9/-0)
storage/mroonga/groonga/test/function/suite/suggest/correct/coocurrence.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/correct/coocurrence.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/correct/similar-search-no.expected (+37/-0)
storage/mroonga/groonga/test/function/suite/suggest/correct/similar-search-no.test (+26/-0)
storage/mroonga/groonga/test/function/suite/suggest/correct/similar-search.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/correct/similar-search.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/suggest/coocurrence.expected (+29/-0)
storage/mroonga/groonga/test/function/suite/suggest/suggest/coocurrence.test (+8/-0)
storage/mroonga/groonga/test/function/suite/suggest/suggest/learn-duplicated.expected (+37/-0)
storage/mroonga/groonga/test/function/suite/suggest/suggest/learn-duplicated.test (+25/-0)
storage/mroonga/groonga/test/function/suite/truncate/default-tokenizer-dat.expected (+10/-0)
storage/mroonga/groonga/test/function/suite/truncate/default-tokenizer-dat.test (+5/-0)
storage/mroonga/groonga/test/function/suite/truncate/default-tokenizer-hash.expected (+10/-0)
storage/mroonga/groonga/test/function/suite/truncate/default-tokenizer-hash.test (+5/-0)
storage/mroonga/groonga/test/function/suite/truncate/default-tokenizer-pat.expected (+10/-0)
storage/mroonga/groonga/test/function/suite/truncate/default-tokenizer-pat.test (+5/-0)
storage/mroonga/groonga/test/function/suite/truncate/source-multi.expected (+26/-0)
storage/mroonga/groonga/test/function/suite/truncate/source-multi.test (+12/-0)
storage/mroonga/groonga/test/function/suite/truncate/source-one.expected (+22/-0)
storage/mroonga/groonga/test/function/suite/truncate/source-one.test (+11/-0)
storage/mroonga/groonga/test/unit/Gemfile (+23/-0)
storage/mroonga/groonga/test/unit/Makefile.am (+50/-0)
storage/mroonga/groonga/test/unit/core/Makefile.am (+161/-0)
storage/mroonga/groonga/test/unit/core/dat/Makefile.am (+72/-0)
storage/mroonga/groonga/test/unit/core/dat/test-array.cpp (+79/-0)
storage/mroonga/groonga/test/unit/core/dat/test-base.cpp (+52/-0)
storage/mroonga/groonga/test/unit/core/dat/test-block.cpp (+68/-0)
storage/mroonga/groonga/test/unit/core/dat/test-check.cpp (+87/-0)
storage/mroonga/groonga/test/unit/core/dat/test-cursor-factory.cpp (+112/-0)
storage/mroonga/groonga/test/unit/core/dat/test-dat-cursor.cpp (+628/-0)
storage/mroonga/groonga/test/unit/core/dat/test-dat-pat.cpp (+670/-0)
storage/mroonga/groonga/test/unit/core/dat/test-dat.cpp (+800/-0)
storage/mroonga/groonga/test/unit/core/dat/test-entry.cpp (+52/-0)
storage/mroonga/groonga/test/unit/core/dat/test-file.cpp (+144/-0)
storage/mroonga/groonga/test/unit/core/dat/test-header.cpp (+104/-0)
storage/mroonga/groonga/test/unit/core/dat/test-id-cursor.cpp (+387/-0)
storage/mroonga/groonga/test/unit/core/dat/test-key-cursor.cpp (+297/-0)
storage/mroonga/groonga/test/unit/core/dat/test-key.cpp (+62/-0)
storage/mroonga/groonga/test/unit/core/dat/test-node.cpp (+119/-0)
storage/mroonga/groonga/test/unit/core/dat/test-predictive-cursor.cpp (+330/-0)
storage/mroonga/groonga/test/unit/core/dat/test-prefix-cursor.cpp (+302/-0)
storage/mroonga/groonga/test/unit/core/dat/test-string.cpp (+128/-0)
storage/mroonga/groonga/test/unit/core/dat/test-string.hpp (+35/-0)
storage/mroonga/groonga/test/unit/core/dat/test-trie.cpp (+681/-0)
storage/mroonga/groonga/test/unit/core/dat/test-vector.cpp (+243/-0)
storage/mroonga/groonga/test/unit/core/test-accessor.c (+120/-0)
storage/mroonga/groonga/test/unit/core/test-cast-basic.c (+1031/-0)
storage/mroonga/groonga/test/unit/core/test-cast-table.c (+168/-0)
storage/mroonga/groonga/test/unit/core/test-column.c (+180/-0)
storage/mroonga/groonga/test/unit/core/test-command-cache-limit.c (+120/-0)
storage/mroonga/groonga/test/unit/core/test-command-column-create.c (+147/-0)
storage/mroonga/groonga/test/unit/core/test-command-column-list.c (+241/-0)
storage/mroonga/groonga/test/unit/core/test-command-column-rename.c (+169/-0)
storage/mroonga/groonga/test/unit/core/test-command-define-selector.c (+102/-0)
storage/mroonga/groonga/test/unit/core/test-command-delete.c (+406/-0)
storage/mroonga/groonga/test/unit/core/test-command-dump.c (+594/-0)
storage/mroonga/groonga/test/unit/core/test-command-load.c (+546/-0)
storage/mroonga/groonga/test/unit/core/test-command-select-filter-invalid.c (+116/-0)
storage/mroonga/groonga/test/unit/core/test-command-select-filter.c (+97/-0)
storage/mroonga/groonga/test/unit/core/test-command-select-geo.c (+89/-0)
storage/mroonga/groonga/test/unit/core/test-command-select-prefix-search.c (+145/-0)
storage/mroonga/groonga/test/unit/core/test-command-select-query-expansion.c (+621/-0)
storage/mroonga/groonga/test/unit/core/test-command-select-query.c (+208/-0)
storage/mroonga/groonga/test/unit/core/test-command-select-sort.c (+339/-0)
storage/mroonga/groonga/test/unit/core/test-command-select.c (+621/-0)
storage/mroonga/groonga/test/unit/core/test-command-table-create.c (+134/-0)
storage/mroonga/groonga/test/unit/core/test-command-table-list.c (+131/-0)
storage/mroonga/groonga/test/unit/core/test-command-table-rename.c (+156/-0)
storage/mroonga/groonga/test/unit/core/test-command-truncate.c (+136/-0)
storage/mroonga/groonga/test/unit/core/test-context.c (+161/-0)
storage/mroonga/groonga/test/unit/core/test-database-create.c (+128/-0)
storage/mroonga/groonga/test/unit/core/test-database.c (+307/-0)
storage/mroonga/groonga/test/unit/core/test-encoding.c (+52/-0)
storage/mroonga/groonga/test/unit/core/test-expr-parse.c (+873/-0)
storage/mroonga/groonga/test/unit/core/test-expr-query.c (+298/-0)
storage/mroonga/groonga/test/unit/core/test-expr-script.c (+1486/-0)
storage/mroonga/groonga/test/unit/core/test-expr.c (+415/-0)
storage/mroonga/groonga/test/unit/core/test-function-edit-distance.c (+241/-0)
storage/mroonga/groonga/test/unit/core/test-function.c (+86/-0)
storage/mroonga/groonga/test/unit/core/test-geo-in-rectangle-border.c (+452/-0)
storage/mroonga/groonga/test/unit/core/test-geo-in-rectangle.c (+340/-0)
storage/mroonga/groonga/test/unit/core/test-geo.c (+315/-0)
storage/mroonga/groonga/test/unit/core/test-hash-cursor.c (+816/-0)
storage/mroonga/groonga/test/unit/core/test-hash-sort.c (+879/-0)
storage/mroonga/groonga/test/unit/core/test-hash.c (+615/-0)
storage/mroonga/groonga/test/unit/core/test-hash.h (+230/-0)
storage/mroonga/groonga/test/unit/core/test-inspect.c (+843/-0)
storage/mroonga/groonga/test/unit/core/test-inverted-index.c (+930/-0)
storage/mroonga/groonga/test/unit/core/test-log.c (+144/-0)
storage/mroonga/groonga/test/unit/core/test-object.c (+119/-0)
storage/mroonga/groonga/test/unit/core/test-patricia-trie-cursor.c (+1036/-0)
storage/mroonga/groonga/test/unit/core/test-patricia-trie-search.c (+387/-0)
storage/mroonga/groonga/test/unit/core/test-patricia-trie.c (+845/-0)
storage/mroonga/groonga/test/unit/core/test-patricia-trie.h (+378/-0)
storage/mroonga/groonga/test/unit/core/test-performance.c (+258/-0)
storage/mroonga/groonga/test/unit/core/test-plugin.c (+181/-0)
storage/mroonga/groonga/test/unit/core/test-public-context.c (+99/-0)
storage/mroonga/groonga/test/unit/core/test-rename.c (+192/-0)
storage/mroonga/groonga/test/unit/core/test-store-ja.c (+106/-0)
storage/mroonga/groonga/test/unit/core/test-stress.c (+227/-0)
storage/mroonga/groonga/test/unit/core/test-table-cursor.c (+83/-0)
storage/mroonga/groonga/test/unit/core/test-table-hook.c (+186/-0)
storage/mroonga/groonga/test/unit/core/test-table-patricia-trie-cursor.c (+1330/-0)
storage/mroonga/groonga/test/unit/core/test-table-select-normalize.c (+227/-0)
storage/mroonga/groonga/test/unit/core/test-table-select.c (+604/-0)
storage/mroonga/groonga/test/unit/core/test-table-sort-geo.c (+354/-0)
storage/mroonga/groonga/test/unit/core/test-table-sort-key-from-str.c (+165/-0)
storage/mroonga/groonga/test/unit/core/test-table.c (+611/-0)
storage/mroonga/groonga/test/unit/core/test-text.c (+107/-0)
storage/mroonga/groonga/test/unit/core/test-tiny-array.c (+131/-0)
storage/mroonga/groonga/test/unit/core/test-view-operations.c (+245/-0)
storage/mroonga/groonga/test/unit/core/test-view.c (+177/-0)
storage/mroonga/groonga/test/unit/fixtures/Makefile.am (+30/-0)
storage/mroonga/groonga/test/unit/fixtures/geo/Makefile.am (+6/-0)
storage/mroonga/groonga/test/unit/fixtures/geo/data.grn (+259/-0)
storage/mroonga/groonga/test/unit/fixtures/geo/ddl.grn (+7/-0)
storage/mroonga/groonga/test/unit/fixtures/geo/generate-data.rb (+67/-0)
storage/mroonga/groonga/test/unit/fixtures/inverted-index/API.JA (+729/-0)
storage/mroonga/groonga/test/unit/fixtures/inverted-index/CHECKINSTALL.JA (+89/-0)
storage/mroonga/groonga/test/unit/fixtures/inverted-index/FUTUREWORKS.JA (+35/-0)
storage/mroonga/groonga/test/unit/fixtures/inverted-index/INSTALL.JA (+195/-0)
storage/mroonga/groonga/test/unit/fixtures/inverted-index/KNOWNPROBLEMS.JA (+137/-0)
storage/mroonga/groonga/test/unit/fixtures/inverted-index/MYSQLBINDING.JA (+324/-0)
storage/mroonga/groonga/test/unit/fixtures/inverted-index/Makefile.am (+9/-0)
storage/mroonga/groonga/test/unit/fixtures/inverted-index/QUERY.JA (+95/-0)
storage/mroonga/groonga/test/unit/fixtures/inverted-index/README.JA (+44/-0)
storage/mroonga/groonga/test/unit/fixtures/performance/Makefile.am (+25/-0)
storage/mroonga/groonga/test/unit/fixtures/performance/test-read-write.c (+162/-0)
storage/mroonga/groonga/test/unit/fixtures/plugins/Makefile.am (+19/-0)
storage/mroonga/groonga/test/unit/fixtures/plugins/string.c (+66/-0)
storage/mroonga/groonga/test/unit/fixtures/story/Makefile.am (+2/-0)
storage/mroonga/groonga/test/unit/fixtures/story/taiyaki/Makefile.am (+6/-0)
storage/mroonga/groonga/test/unit/fixtures/story/taiyaki/areas.grn (+26/-0)
storage/mroonga/groonga/test/unit/fixtures/story/taiyaki/categories.grn (+6/-0)
storage/mroonga/groonga/test/unit/fixtures/story/taiyaki/ddl.grn (+36/-0)
storage/mroonga/groonga/test/unit/fixtures/story/taiyaki/shops.grn (+308/-0)
storage/mroonga/groonga/test/unit/fixtures/story/taiyaki/synonyms.grn (+5/-0)
storage/mroonga/groonga/test/unit/fixtures/stress/Makefile.am (+28/-0)
storage/mroonga/groonga/test/unit/fixtures/stress/test-stress-hash.c (+147/-0)
storage/mroonga/groonga/test/unit/fixtures/stress/test-stress-patricia-trie.c (+149/-0)
storage/mroonga/groonga/test/unit/fixtures/suite-groonga-test-fixtures.c (+34/-0)
storage/mroonga/groonga/test/unit/gqtp/Makefile.am (+5/-0)
storage/mroonga/groonga/test/unit/gqtp/test-cache.rb (+78/-0)
storage/mroonga/groonga/test/unit/gqtp/test-load.rb (+171/-0)
storage/mroonga/groonga/test/unit/gqtp/test-restore.rb (+718/-0)
storage/mroonga/groonga/test/unit/gqtp/test-status.rb (+45/-0)
storage/mroonga/groonga/test/unit/groonga-benchmark/Makefile.am (+4/-0)
storage/mroonga/groonga/test/unit/groonga-benchmark/test-gqtp.rb (+54/-0)
storage/mroonga/groonga/test/unit/groonga-benchmark/test-http.rb (+178/-0)
storage/mroonga/groonga/test/unit/groonga-benchmark/test-option.rb (+47/-0)
storage/mroonga/groonga/test/unit/http/Makefile.am (+10/-0)
storage/mroonga/groonga/test/unit/http/test-http-crud.rb (+503/-0)
storage/mroonga/groonga/test/unit/http/test-http-load.rb (+127/-0)
storage/mroonga/groonga/test/unit/http/test-http-schema.rb (+994/-0)
storage/mroonga/groonga/test/unit/http/test-http-select-basic.rb (+1178/-0)
storage/mroonga/groonga/test/unit/http/test-http-select-drilldown.rb (+377/-0)
storage/mroonga/groonga/test/unit/http/test-http-view.rb (+95/-0)
storage/mroonga/groonga/test/unit/http/test-http.rb (+107/-0)
storage/mroonga/groonga/test/unit/http/test-invalid-http.rb (+118/-0)
storage/mroonga/groonga/test/unit/http/test-static-html.rb (+63/-0)
storage/mroonga/groonga/test/unit/lib/Makefile.am (+68/-0)
storage/mroonga/groonga/test/unit/lib/grn-assertions.c (+418/-0)
storage/mroonga/groonga/test/unit/lib/grn-assertions.h (+271/-0)
storage/mroonga/groonga/test/unit/lib/grn-test-hash-assertions.c (+70/-0)
storage/mroonga/groonga/test/unit/lib/grn-test-hash-assertions.h (+48/-0)
storage/mroonga/groonga/test/unit/lib/grn-test-hash-factory.c (+435/-0)
storage/mroonga/groonga/test/unit/lib/grn-test-hash-factory.h (+175/-0)
storage/mroonga/groonga/test/unit/lib/grn-test-memcached-assertions.c (+137/-0)
storage/mroonga/groonga/test/unit/lib/grn-test-memcached-assertions.h (+50/-0)
storage/mroonga/groonga/test/unit/lib/grn-test-server.c (+327/-0)
storage/mroonga/groonga/test/unit/lib/grn-test-server.h (+96/-0)
storage/mroonga/groonga/test/unit/lib/grn-test-shortcut.h (+51/-0)
storage/mroonga/groonga/test/unit/lib/grn-test-utils.c (+804/-0)
storage/mroonga/groonga/test/unit/lib/grn-test-utils.h (+108/-0)
storage/mroonga/groonga/test/unit/lib/ruby/Makefile.am (+5/-0)
storage/mroonga/groonga/test/unit/lib/ruby/groonga-constants.rb (+149/-0)
storage/mroonga/groonga/test/unit/lib/ruby/groonga-http-test-utils.rb (+369/-0)
storage/mroonga/groonga/test/unit/lib/ruby/groonga-local-gqtp-test-utils.rb (+75/-0)
storage/mroonga/groonga/test/unit/lib/ruby/groonga-test-utils.rb (+264/-0)
storage/mroonga/groonga/test/unit/memcached/Makefile.am (+31/-0)
storage/mroonga/groonga/test/unit/memcached/test-memcached.c (+292/-0)
storage/mroonga/groonga/test/unit/run-test.rb (+29/-0)
storage/mroonga/groonga/test/unit/run-test.sh (+108/-0)
storage/mroonga/groonga/test/unit/story/Makefile.am (+27/-0)
storage/mroonga/groonga/test/unit/story/test-taiyaki.c (+625/-0)
storage/mroonga/groonga/test/unit/suite-groonga-test.c (+34/-0)
storage/mroonga/groonga/test/unit/util/Makefile.am (+25/-0)
storage/mroonga/groonga/test/unit/util/test-snip.c (+915/-0)
storage/mroonga/groonga/test/unit/util/test-string.c (+924/-0)
storage/mroonga/groonga/tools/Makefile.am (+24/-0)
storage/mroonga/groonga/tools/groonga-memory-leak-checker.rb (+93/-0)
storage/mroonga/groonga/tools/groonga-query-log-analyzer (+1419/-0)
storage/mroonga/groonga/tools/prepare-sphinx-html.rb (+173/-0)
storage/mroonga/groonga/version (+1/-0)
storage/mroonga/groonga/version-gen.sh (+31/-0)
storage/mroonga/groonga/version.sh (+1/-0)
storage/mroonga/ha_mroonga.cpp (+11937/-0)
storage/mroonga/ha_mroonga.hpp (+937/-0)
storage/mroonga/lib/Makefile.am (+21/-0)
storage/mroonga/lib/mrn_debug_column_access.cpp (+36/-0)
storage/mroonga/lib/mrn_debug_column_access.hpp (+38/-0)
storage/mroonga/lib/mrn_index_table_name.cpp (+86/-0)
storage/mroonga/lib/mrn_index_table_name.hpp (+43/-0)
storage/mroonga/lib/mrn_path_mapper.cpp (+131/-0)
storage/mroonga/lib/mrn_path_mapper.hpp (+44/-0)
storage/mroonga/mrn_constants.hpp (+47/-0)
storage/mroonga/mrn_err.h (+28/-0)
storage/mroonga/mrn_macro.hpp (+30/-0)
storage/mroonga/mrn_mysql.h (+75/-0)
storage/mroonga/mrn_mysql_compat.h (+68/-0)
storage/mroonga/mrn_sys.cpp (+88/-0)
storage/mroonga/mrn_sys.hpp (+36/-0)
storage/mroonga/mrn_table.cpp (+918/-0)
storage/mroonga/mrn_table.hpp (+113/-0)
storage/mroonga/mrn_version.h (+40/-0)
storage/mroonga/plug.in (+65/-0)
support-files/compiler_warnings.supp (+10/-0)
To merge this branch: bzr merge lp:~kazuhiko/maria/5.3-groonga
Reviewer Review Type Date Requested Status
Maria-captains Pending
Review via email: mp+83898@code.launchpad.net

Commit message

bundle storage/mroonga and extra/groonga.

Description of the change

This is my second request of merging after including the latest stable release of the groonga library and the mroonga (groonga storage engine).

I hope that it is included in the comming 5.3-RC release.

The description copied from the first request below:

Mroonga (groonga storage engine for MySQL/MariaDB) and groonga library that is its requirement are added in this branch.
There are two suites of tests and all of them should pass.

Two configure options are added :

+ --without-groonga Use system groonga instead of bundled copy.
+ --with-groonga-default-parser=PARSER
+ specify the default fulltext parser for groonga
+ storage engine like
+ --with-groonga-default-parser=TokenMecab.
(default:
+ TokenBigram)

The first one, '--without-groonga', I don't like this naming, but it
follows the existing '--without-readline' and '--without-libedit' options.

Here is the summary of changes :

configure.in : groonga/mroonga configurations are added
extra/groonga : groonga library is added here
mysql-test/suite/groonga_storage : tests for mroonga's storage mode
mysql-test/suite/groonga_wrapper : tests for mroonga's wrapper mode
storage/mroonga : mroonga, that is groonga storage engine, is added here

The contents inside extra/groonga and storage/mroonga are under LGPL.
For the changes in configure.in, I am ready to sign MCA if needed.

Kazuhiko Shiozaki

To post a comment you must log in.
lp:~kazuhiko/maria/5.3-groonga updated
3324. By Igor Babaev

Fixed LP bug #898073.
The tables from the same semi-join or outer join nest cannot use
join buffers if in the join sequence of the query execution plan
they are separated by a table that is planned to be joined without
usage of a join buffer.

3325. By Michael Widenius

Patch to get MariaDB to compile on CYGWIN; By Guenter Knauf
Increased number of locks in thr_lock (used only when testing)

3326. By Michael Widenius

Fixes for netware by Guenter Knauf

3327. By Michael Widenius

Added new file (for netware)
Added some file to ignore

3328. By Igor Babaev

Fixed LP bug #899696.
If has been decided that the first match strategy is to be used to join table T
from a semi-join nest while no buffer can be employed to join this table
then no join buffer can be used to join any table in the join sequence between
the first one belonging to the semi-join nest and table T.

3329. By Sergey Petrunia

Make subquery Materialization, as well as semi-join Materialization be shown
in EXPLAIN as select_type==MATERIALIZED.

Before, we had select_type==SUBQUERY and it was difficult to tell materialized
subqueries from uncorrelated scalar-context subqueries.

3330. By Sergey Petrunia

Update test result missed in the previous cset

3331. By Sergey Petrunia

Bug #899962: materialized subquery with join_cache_level=3
- Make create_tmp_table() set KEY_PART_INFO attributes for the keys it creates.
  This wasn't needed before but is needed now, when temp. tables that are
  results of SJ-Materialization are being used for joins.
  This particular bug depended on HA_VAR_LENGTH_PART being set,
  but also added code to set HA_BLOB_PART and HA_NULL_PART when appropriate.

3332. By Igor Babaev

Merge

3333. By Igor Babaev

Fixed LP bug #899509.
The optimizer must ignore any possible hash join key when looking for the
query execution plan with join_cache_level set to 0.

3334. By Igor Babaev

Fixed LP bug #900469.
The execution plan cannot use sorting on the first table from the
sequence of the joined tables if it plans to employ the block-based
hash join algorithm.

3335. By Sergey Petrunia

BUG#901032: Wrong result for MIN/MAX on an indexed column with materialization and semijoin
- opt_sum_query() should not assume that join tables from sj-materialization
  have known numbers of rows.

3336. By Sergey Petrunia

Merge fix for BUG#868908

3337. By Sergey Petrunia

Small semi-join optimization improvement:
- if we're considering FirstMatch access with one inner table, and
  @@optimizer_switch has semijoin_with_cache flag, calculate costs
  as if we used join cache (because we will be able to do so)

3338. By Alexey Botchkov

bug #901655 ST_BUFFER asserts with a coplicated shape.
        Coinciding nodes can appear as a result of DOUBLE inaccuracy.
        We should test that before we start the loop.

        Also the spatial relations can be calculated faster if we check
        MBR relations first. And we do have the shape's MBR-s now.

per-file comments:
  sql/gcalc_slicescan.cc
        set_extent() method added.
bug #901655 ST_BUFFER asserts with a coplicated shape.
  sql/gcalc_slicescan.h
        set_extent() method declared.
bug #901655 ST_BUFFER asserts with a coplicated shape.
  sql/gcalc_tools.cc
bug #901655 ST_BUFFER asserts with a coplicated shape.
        checks for equal nodes added.
  sql/item_geofunc.cc
bug #901655 ST_BUFFER asserts with a coplicated shape.
        MBR for the shapes calculated, and MBR checks added before we
        start the heavy calculations.
  sql/spatial.h
bug #901655 ST_BUFFER asserts with a coplicated shape.
        MBR::buffer() method implemented.

3339. By Igor Babaev

Fixed LP bug #901312.
The function setup_sj_materialization_part1() forgot to set the value
of TABLE::map for any materialized IN subquery.
This could lead to wrong results for queries with subqueries that were
converted to queries with semijoins.

3340. By Michael Widenius

Merge with 5.1 & fixes to IGNORE handling

3341. By Igor Babaev

Adjusted the results of pbxt.subselect after the latest merge 5.1->5.2->5.3.

3342. By Igor Babaev

Merge

3343. By Igor Babaev

Fixed LP bug #901709.
The cause of the reported assertion failure was a division of a double value by 0.

3344. By Sergei Golubchik

5.2->5.3 merge

3345. By Michael Widenius

Automatic merge

3346. By Oleksandr "Sanja" Byelkin

The variable query_cache_strip_comments allowed in embedded server.

3347. By Sergey Petrunia

BUG#902632: Crash or invalid read at st_join_table::cleanup, st_table::disable_keyread
- Do a "more thorough" cleanup of SJ-Materialization join tab in JOIN_TAB::cleanup. The bug
  was due to the fact that JOIN_TAB::cleanup() may be called multiple times for the same tab
  if the join has grouping.

3348. By Igor Babaev

Merge

3349. By Sergey Petrunia

Merge

3350. By Michael Widenius

Merge

3351. By Sergey Petrunia

Fix trivial merge error

3352. By Sergey Petrunia

Merge

3353. By Sergey Petrunia

Fix unused variable 'thd' error.

3354. By Sergey Petrunia

Merge

3355. By Igor Babaev

Merge

3356. By Alexey Botchkov

GIS issues fixed.

Failures on SUN Solaris. Buggy compiler there required some extra initialization
for variables. Then the 02 optimization leads to bugs when values set through the
pointer are not always taken into account. Finally, the (long long) / (long)
crashes there, the explicit typeconverstion added.
Failing innodb_plunin.innodb_gis.test fixed.

per-file comments:
  mysql-test/suite/innodb_plugin/t/innodb_gis.test
GIS issues fixed.
  sql/gcalc_slicescan.cc
GIS issues fixed.
  sql/gcalc_tools.cc
GIS issues fixed.

3357. By Sergey Petrunia

Update test results for previous push

3358. By Igor Babaev

Adjusted test cases of the suite funcs_1.

3359. By Sergey Petrunia

Bump version number: now it's 5.3.3 (5.3.2 has been released some time ago)

3360. By Igor Babaev

Fixed LP bug #904832.
Do not perform index condition pushdown for conditions containing subqueries
and stored functions.

3361. By Oleksandr "Sanja" Byelkin

Supression condition made wider to cover some other system cases.

3362. By Sergey Petrunia

Remove garbage comments

3363. By Sergey Petrunia

BUG#904432: Wrong result with LEFT JOIN, constant table, semijoin=ON,materialization=ON
- Correct handling for SJ-Materialization + outer joins (details in the comments in the code)

3364. By Sergey Petrunia

BUG#906385: EXPLAIN EXTENDED crashes in TABLE_LIST::print with limited max_join_size
- Take into account that subquery's optimization can fail because of @@max_join_size error.

3365. By Timour Katchaounov

Backport of WL#5953 from MySQL 5.6

The patch differs from the original MySQL patch as follows:
- All test case differences have been reviewed one by one, and
  care has been taken to restore the original plan so that each
  test case executes the code path it was designed for.
- A bug was found and fixed in MariaDB 5.3 in
  Item_allany_subselect::cleanup().
- ORDER BY is not removed because we are unsure of all effects,
  and it would prevent enabling ORDER BY ... LIMIT subqueries.
- ref_pointer_array.m_size is not adjusted because we don't do
  array bounds checking, and because it looks risky.

Original comment by Jorgen Loland:
-------------------------------------------------------------
WL#5953 - Optimize away useless subquery clauses

For IN/ALL/ANY/SOME/EXISTS subqueries, the following clauses are
meaningless:

* ORDER BY (since we don't support LIMIT in these subqueries)
* DISTINCT
* GROUP BY if there is no HAVING clause and no aggregate
  functions

This WL detects and optimizes away these useless parts of the
query during JOIN::prepare()

3366. By Sergey Petrunia

Update mysql-test/suite/pbxt/r/subselect.result for the previous push

3367. By Sergey Petrunia

Fix version number: it's 5.3.3

3368. By Igor Babaev

Back-ported the patch of the mysql-5.6 code line that

fixed several defects in the greedy optimization:

1) The greedy optimizer calculated the 'compare-cost' (CPU-cost)
   for iterating over the partial plan result at each level in
   the query plan as 'record_count / (double) TIME_FOR_COMPARE'

   This cost was only used locally for 'best' calculation at each
   level, and *not* accumulated into the total cost for the query plan.

   This fix added the 'CPU-cost' of processing 'current_record_count'
   records at each level to 'current_read_time' *before* it is used as
   'accumulated cost' argument to recursive
   best_extension_by_limited_search() calls. This ensured that the
   cost of a huge join-fanout early in the QEP was correctly
   reflected in the cost of the final QEP.

   To get identical cost for a 'best' optimized query and a
   straight_join with the same join order, the same change was also
   applied to optimize_straight_join() and get_partial_join_cost()

2) Furthermore to get equal cost for 'best' optimized query and a
   straight_join the new code substrcated the same '0.001' in
   optimize_straight_join() as it had been already done in
   best_extension_by_limited_search()

3) When best_extension_by_limited_search() aggregated the 'best' plan a
   plan was 'best' by the check :

   'if ((search_depth == 1) || (current_read_time < join->best_read))'

   The term '(search_depth == 1' incorrectly caused a new best plan to be
   collected whenever the specified 'search_depth' was reached - even if
   this partial query plan was more expensive than what we had already
   found.

3369. By Igor Babaev

Changed a test case from join_cache.test to make it platform independent.

3370. By Michael Widenius

Merge with groonga storage engine

3371. By Kazuhiko

sync with groonga-1.2.9.

3372. By Kazuhiko

sync with mroonga-1.11.

3373. By Kazuhiko

change storage engine name to "mroonga" from "groonga".

3374. By Kazuhiko

fix plugin declaration.

3375. By Kazuhiko

build mroonga with the old library name too for backward compatibility.

3376. By Kazuhiko

build mroonga with the old library name too for backward compatibility.

3377. By Kazuhiko

mroonga's versino string should be still 1.11.

3378. By Kazuhiko

sync with mroonga 737b00803a.

3379. By Kazuhiko

remove a backward compatibility hack in configure.in.

3380. By Kazuhiko

sync with mroonga 4827b03b88.

3381. By Kazuhiko

merge with ~maria-captains/maria/mariadb-5.3-monty

3382. By Kazuhiko

sync with mroonga bae8e77d60.

3383. By Kazuhiko

move mroonga related include files from mysql-test/include to mysql-test/suite/mroonga_storage/inc.

3384. By Kazuhiko

move extra/groonga/ to storage/mroonga/groonga and sync with groonga d22672d69b.

3385. By Kazuhiko

sync with groonga 565ce7eb5e.

3386. By Kazuhiko

call autotools in storage/mroonga/groonga too.

3387. By Kazuhiko

add missing storage/mroonga/groonga/autogen.sh.

3388. By Kazuhiko

update groonga : 1.2.9-39-ged9e535.

3389. By Kazuhiko

update groonga : 1.2.9-43-g61bf230.

3390. By Kazuhiko

add mrn_version.h in noinst_HEADERS.

3391. By Kazuhiko

add suite/mroonga_storage/inc in TEST_DIRS.

3392. By Kazuhiko

update groonga : 1.2.9-46-g8f54dce.

3393. By Kazuhiko

update .bzrignore.

3394. By Kazuhiko

version up : groonga-1.3.0.

3395. By Kazuhiko

version up : mroonga-1.2.0.

3396. By Kazuhiko

these test no longer exist in mroonga-1.2.0.

3397. By Kazuhiko

follow MariaDB API.

3398. By Kazuhiko

add more tests for mroonga.

3399. By Kazuhiko

sync storage/mroonga with aaf4939e10.

3400. By Kazuhiko

sync storage/mroonga with 3bd1c26d84.

3401. By Kazuhiko

sync storage/mroonga/groonga with ccd492be04.

3402. By Kazuhiko

sync storage/mroonga with 8ff00828cc.

3403. By Kazuhiko

sync storage/mroonga with 25d8868156.

3404. By Kazuhiko

sync with ~maria-captains/maria/5.3 revision 3439.

3405. By Kazuhiko

sync storage/mroonga/groonga with 77f2afc794.

3406. By Kazuhiko

sync storage/mroonga with d043994701 except a85e22e357.

3407. By Kazuhiko

sync storage/mroonga with ff6533b8cf.

3408. By Kazuhiko

update .bzrignore

3409. By Kazuhiko

sync storage/mroonga with b1c398da0b.

3410. By Kazuhiko

sync storage/mroonga/groonga with c624c5d218.

3411. By Kazuhiko

update storage/mroogna/groonga/doc.

3412. By Kazuhiko

sync storage/mroonga/groonga with version 2.0.0.

3413. By Kazuhiko

sync storage/mroonga with version 2.0.0.

3414. By Kazuhiko

sync with ~maria-captains/maria/5.3 revision 3448.

3415. By Kazuhiko

modify the expected test result for plugin_version.

3416. By Kazuhiko

disable mroonga on Windows for now.

3417. By Kazuhiko

these tests don't run on embedded server.

3418. By Kazuhiko

readd this file that is removed by mistake.

3419. By Kazuhiko

remove --enable-document check on make dist.

3420. By Kazuhiko

sync storage/mroonga with c1473da4c7.

3421. By Kazuhiko

make pbxt.mysqlshow result stable, so that the combination of enabled engines does not affect its result.

3422. By Kazuhiko

make funcs_1.is_columns_is and funcs_1.is_tables_is stable, even if mroonga is enabled.

3423. By Kazuhiko

don't remove generated documents without hg.

3424. By Kazuhiko

BUILD/autorun.sh invokes autotools on storage/mroonga/groonga too to avoid problems caused by version mismatch.

3425. By Kazuhiko

these files should be now automatically generated.

3426. By Kazuhiko

update timestamps for documents.

3427. By Kazuhiko

update .bzrignore.

3428. By Kazuhiko

remove automatically generated files.

3429. By Kazuhiko

sync storage/mroonga/groonga with c0e556a7a1.

3430. By Kazuhiko

sync storage/mroonga with 5f0755b034.

3431. By Kazuhiko

sync storage/mroonga/groonga with 4ff4e9de80.

3432. By Kazuhiko

remove all automatically generated files.

3433. By Kazuhiko

forgot to add this directory.

3434. By Kazuhiko

removed by mistake.

3435. By Kazuhiko

forgot to add this file.

3436. By Kazuhiko

sync storage/mroonga/groonga with 152449f75d.

3437. By Kazuhiko

build mroonga as plugin only.

3438. By Kazuhiko

add missing files.

3439. By Kazuhiko

sync with 5.3-monty

3440. By Kazuhiko

sync with ~maria-captains/maria/5.3 revision 3455.

3441. By Kazuhiko

sync storage/mroonga with 787041ee01.

3442. By Kazuhiko

update storage/mroonga and storage/mroonga/groonga.

3443. By Kazuhiko

remove have_innodb.inc because xtradb plugin is already loaded by have_mroonga.opt.

3444. By Kazuhiko

remove a hack that does not work anyway.

3445. By Kazuhiko

32bit: use longlong for last_insert_grn_id().

3446. By Kazuhiko

update storage/mroonga/groonga to fix valgrind warning.

3447. By Kazuhiko

support datetime with fractional seconds as primary key.

3448. By Kazuhiko

merge storage/mroonga/groonga/autogen.sh into BUILD/autorun.sh because storage/mroonga/groonga/autogen.sh is not included in 'make dist' result.

3449. By Kazuhiko

forgot to add.

3450. By Kazuhiko

storage/mroonga/groonga/version.sh should be now included in the repository.

3451. By Kazuhiko

remove renamed files.

3452. By Kazuhiko

update storage/mroonga.

3453. By Kazuhiko

update storage/mroonga to fix compilation problem on solaris.

3454. By Kazuhiko

update storage/mroonga/groonga.

3455. By Kazuhiko

update storage/mroonga.

3456. By Kazuhiko

fix a typo in configure argument to specify the default parser for mroonga.

3457. By Kazuhiko

some modifications because of the new sub directory storage/mroonga/lib.

3458. By Kazuhiko

update storage/mroonga and storage/mroonga/groonga.

3459. By Kazuhiko

update storage/mroonga.

3460. By Kazuhiko

add more tests.

3461. By Kazuhiko

update storage/mroonga/groonga.

3462. By Kazuhiko

remove renamed tests.

3463. By Kazuhiko

update mroonga and groonga.

3464. By Kazuhiko

remove auto-generated files.

3465. By Kazuhiko

update .bzrignore.

3466. By Kazuhiko

update mroonga and groonga.

3467. By Kazuhiko

remove an obsolete file.

3468. By Kazuhiko

sync with ~maria-captains/maria/5.3 revision 3507.

3469. By Kazuhiko

support MariaDB 5.3.6 whose auto_repair requires an argument.

3470. By Kazuhiko

add gpg_uid that is required for autoconf in storage/mroonga/groonga.

3471. By Kazuhiko

add missing files.

3472. By Kazuhiko

update storage/mroonga.

3473. By Kazuhiko

update storage/mroonga/groonga.

Unmerged revisions

3473. By Kazuhiko

update storage/mroonga/groonga.

3472. By Kazuhiko

update storage/mroonga.

3471. By Kazuhiko

add missing files.

3470. By Kazuhiko

add gpg_uid that is required for autoconf in storage/mroonga/groonga.

3469. By Kazuhiko

support MariaDB 5.3.6 whose auto_repair requires an argument.

3468. By Kazuhiko

sync with ~maria-captains/maria/5.3 revision 3507.

3467. By Kazuhiko

remove an obsolete file.

3466. By Kazuhiko

update mroonga and groonga.

3465. By Kazuhiko

update .bzrignore.

3464. By Kazuhiko

remove auto-generated files.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '.bzrignore'
--- .bzrignore 2012-02-20 23:58:50 +0000
+++ .bzrignore 2012-04-27 12:15:31 +0000
@@ -1982,3 +1982,19 @@
1982plugin/handler_socket/perl-Net-HandlerSocket/Makefile.PL1982plugin/handler_socket/perl-Net-HandlerSocket/Makefile.PL
1983libmysqld/gcalc_slicescan.cc1983libmysqld/gcalc_slicescan.cc
1984libmysqld/gcalc_tools.cc1984libmysqld/gcalc_tools.cc
1985storage/mroonga/groonga/config.lt
1986storage/mroonga/groonga/examples/kv
1987storage/mroonga/groonga/groonga.pc
1988storage/mroonga/groonga/libtool.m4
1989storage/mroonga/groonga/ltoptions.m4
1990storage/mroonga/groonga/ltsugar.m4
1991storage/mroonga/groonga/ltversion.m4
1992storage/mroonga/groonga/lt~obsolete.m4
1993storage/mroonga/groonga/packages/windows/setup-x64.nsi
1994storage/mroonga/groonga/src/grnslap
1995storage/mroonga/groonga/src/groonga
1996storage/mroonga/groonga/src/groonga-benchmark
1997storage/mroonga/groonga/src/suggest/groonga-suggest-create-dataset
1998storage/mroonga/groonga/test/benchmark/bench-geo-distance
1999storage/mroonga/groonga/test/benchmark/bench-geo-select
2000storage/mroonga/groonga/test/benchmark/bench-table-factory
19852001
=== modified file 'BUILD/autorun.sh'
--- BUILD/autorun.sh 2011-02-20 16:51:43 +0000
+++ BUILD/autorun.sh 2012-04-27 12:15:31 +0000
@@ -29,3 +29,12 @@
29# and --force to overwrite them if they already exist29# and --force to overwrite them if they already exist
30automake --add-missing --force --copy || die "Can't execute automake"30automake --add-missing --force --copy || die "Can't execute automake"
31autoconf || die "Can't execute autoconf"31autoconf || die "Can't execute autoconf"
32
33(
34 cd storage/mroonga/groonga &&
35 aclocal &&
36 autoheader &&
37 $LIBTOOLIZE --force --copy &&
38 automake --add-missing --copy &&
39 autoconf
40)
3241
=== modified file 'BUILD/compile-pentium64'
--- BUILD/compile-pentium64 2011-02-20 16:51:43 +0000
+++ BUILD/compile-pentium64 2012-04-27 12:15:31 +0000
@@ -7,7 +7,7 @@
7# On CentOS/Fedora Core 10 amd64, there is system libz.so but not7# On CentOS/Fedora Core 10 amd64, there is system libz.so but not
8# libz.a, so need to use bundled zlib when building static8# libz.a, so need to use bundled zlib when building static
9# binary. Hence we use --with-zlib-dir=bundled9# binary. Hence we use --with-zlib-dir=bundled
10extra_configs="$pentium_configs $static_link --with-zlib-dir=bundled"10extra_configs="$pentium_configs --with-zlib-dir=bundled"
11CC="$CC --pipe"11CC="$CC --pipe"
12strip=yes12strip=yes
1313
1414
=== modified file 'config/ac-macros/plugins.m4'
--- config/ac-macros/plugins.m4 2010-11-19 21:33:47 +0000
+++ config/ac-macros/plugins.m4 2012-04-27 12:15:31 +0000
@@ -293,6 +293,23 @@
293])293])
294294
295dnl ---------------------------------------------------------------------------295dnl ---------------------------------------------------------------------------
296dnl Macro: MYSQL_PLUGIN_CONFIG_FILES
297dnl
298dnl SYNOPSIS
299dnl MYSQL_PLUGIN_CONFIG_FILES([name],[PLUGIN_CONFIGURE_FILE_PATHS_FROM_TOP_DIRECTORY])
300dnl
301dnl DESCRIPTION
302dnl Declares configuration files for AC_CONFIG_FILES explicitly.
303dnl Normaly, this is not needed because configuration files are detected
304dnl automatically.
305dnl
306dnl ---------------------------------------------------------------------------
307AC_DEFUN([MYSQL_PLUGIN_CONFIG_FILES],[
308 MYSQL_REQUIRE_PLUGIN([$1])
309 m4_define([MYSQL_PLUGIN_CONFIG_FILES_]AS_TR_CPP([$1]), [$2])
310])
311
312dnl ---------------------------------------------------------------------------
296dnl Macro: MYSQL_CONFIGURE_PLUGINS313dnl Macro: MYSQL_CONFIGURE_PLUGINS
297dnl314dnl
298dnl SYNOPSIS315dnl SYNOPSIS
@@ -353,7 +370,8 @@
353 [MYSQL_PLUGIN_MANDATORY_]AS_TR_CPP([$1]),370 [MYSQL_PLUGIN_MANDATORY_]AS_TR_CPP([$1]),
354 [MYSQL_PLUGIN_DISABLED_]AS_TR_CPP([$1]),371 [MYSQL_PLUGIN_DISABLED_]AS_TR_CPP([$1]),
355 [MYSQL_PLUGIN_EMBEDDED_]AS_TR_CPP([$1]),372 [MYSQL_PLUGIN_EMBEDDED_]AS_TR_CPP([$1]),
356 [MYSQL_PLUGIN_ACTIONS_]AS_TR_CPP([$1])373 [MYSQL_PLUGIN_ACTIONS_]AS_TR_CPP([$1]),
374 [MYSQL_PLUGIN_CONFIG_FILES_]AS_TR_CPP([$1]),
357 )375 )
358])376])
359377
@@ -371,6 +389,7 @@
371dnl 10 - disabled flag389dnl 10 - disabled flag
372dnl 11 - static target for libmysqld (if different from $7)390dnl 11 - static target for libmysqld (if different from $7)
373dnl 12 - actions391dnl 12 - actions
392dnl 13 - config files
374AC_DEFUN([__MYSQL_EMIT_CHECK_PLUGIN],[393AC_DEFUN([__MYSQL_EMIT_CHECK_PLUGIN],[
375 m4_ifdef([$5],[394 m4_ifdef([$5],[
376 AH_TEMPLATE($5, [Include ]$3[ into mysqld])395 AH_TEMPLATE($5, [Include ]$3[ into mysqld])
@@ -524,18 +543,21 @@
524 fi543 fi
525 fi544 fi
526545
527 m4_ifdef([$6], [546 m4_ifdef([$13], [
528 if test -d "$srcdir/$6"; then547 AC_CONFIG_FILES($13)
529 # Even if we don't build a plugin, we bundle its source into the dist548 ],[
530 # file. So its Makefile (and Makefiles for any subdirs) must be549 m4_ifdef([$6], [
531 # generated for 'make dist' to work.550 if test -d "$srcdir/$6"; then
532 m4_syscmd([test -f "]$6[/configure"])551 # Even if we don't build a plugin, we bundle its source into the dist
533 ifelse(m4_sysval, 0,552 # file. So its Makefile (and Makefiles for any subdirs) must be
534 [AC_CONFIG_SUBDIRS($6)],553 # generated for 'make dist' to work.
535 [554 m4_syscmd([test -f "]$6[/configure"])
536 # autoconf doesn't provide an automatic way to configure DIST_SUBDIRS of555 ifelse(m4_sysval, 0,
537 # a subdir; for our purposes, it's enough to just check for existing556 [AC_CONFIG_SUBDIRS($6)],
538 # Makefile.am files and add them in here557 [
558 # autoconf doesn't provide an automatic way to configure DIST_SUBDIRS of
559 # a subdir; for our purposes, it's enough to just check for existing
560 # Makefile.am files and add them in here
539dnl561dnl
540dnl Warning, don't try to quote the m4_esyscmd() macro, it doesn't562dnl Warning, don't try to quote the m4_esyscmd() macro, it doesn't
541dnl work. Quoting here is tricky.563dnl work. Quoting here is tricky.
@@ -544,10 +566,15 @@
544dnl to if they need to pass a specific path. This is *NOT* used when calling566dnl to if they need to pass a specific path. This is *NOT* used when calling
545dnl running configure!567dnl running configure!
546dnl568dnl
547 AC_CONFIG_FILES(m4_esyscmd([${FIND-find} "]$6[" -name Makefile.am -print | ${SED-sed} 's,\.am$,,']))569 AC_CONFIG_FILES(m4_esyscmd([${FIND-find} "]$6[" -name Makefile.am -print | ${SED-sed} 's,\.am$,,']))
548 ]570 ]
549 )571 )
572 fi
573 ])
574 ])
550575
576 m4_ifdef([$6], [
577 if test -d "$srcdir/$6"; then
551 ifelse(578 ifelse(
552 m4_substr($6, 0, 8), [storage/], [579 m4_substr($6, 0, 8), [storage/], [
553 mysql_se_distdirs="$mysql_se_distdirs m4_substr($6, 8)"580 mysql_se_distdirs="$mysql_se_distdirs m4_substr($6, 8)"
554581
=== modified file 'config/ac-macros/zlib.m4'
--- config/ac-macros/zlib.m4 2011-02-23 09:22:56 +0000
+++ config/ac-macros/zlib.m4 2012-04-27 12:15:31 +0000
@@ -79,8 +79,8 @@
79 ;;79 ;;
80 *)80 *)
81 AC_ARG_WITH([zlib-dir],81 AC_ARG_WITH([zlib-dir],
82 AC_HELP_STRING([--with-zlib-dir=no|bundled|DIR],82 AC_HELP_STRING([--with-zlib-dir=no|bundled|system|DIR],
83 [Provide MySQL with a custom location of83 [Provide MariaDB with a custom location of
84 compression library. Given DIR, zlib binary is 84 compression library. Given DIR, zlib binary is
85 assumed to be in $DIR/lib and header files85 assumed to be in $DIR/lib and header files
86 in $DIR/include.]),86 in $DIR/include.]),
@@ -95,7 +95,7 @@
95 MYSQL_USE_BUNDLED_ZLIB95 MYSQL_USE_BUNDLED_ZLIB
96 AC_MSG_RESULT([using bundled zlib])96 AC_MSG_RESULT([using bundled zlib])
97 ;;97 ;;
98 "")98 "" | "system")
99 ZLIB_INCLUDES=""99 ZLIB_INCLUDES=""
100 ZLIB_LIBS="-lz"100 ZLIB_LIBS="-lz"
101 MYSQL_CHECK_ZLIB_DIR101 MYSQL_CHECK_ZLIB_DIR
102102
=== modified file 'mysql-test/Makefile.am'
--- mysql-test/Makefile.am 2012-02-21 15:58:43 +0000
+++ mysql-test/Makefile.am 2012-04-27 12:15:31 +0000
@@ -116,7 +116,12 @@
116 suite/engines/iuds/t suite/engines/rr_trx/include suite/engines/rr_trx/r \116 suite/engines/iuds/t suite/engines/rr_trx/include suite/engines/rr_trx/r \
117 suite/engines/rr_trx/t \117 suite/engines/rr_trx/t \
118 suite/optimizer_unfixed_bugs/t \118 suite/optimizer_unfixed_bugs/t \
119 suite/optimizer_unfixed_bugs/r119 suite/optimizer_unfixed_bugs/r \
120 suite/mroonga_storage/inc \
121 suite/mroonga_storage/t \
122 suite/mroonga_storage/r \
123 suite/mroonga_wrapper/t \
124 suite/mroonga_wrapper/r
120125
121# Used by dist-hook and install-data-local to copy all126# Used by dist-hook and install-data-local to copy all
122# test files into either dist or install directory127# test files into either dist or install directory
123128
=== modified file 'mysql-test/mysql-test-run.pl'
--- mysql-test/mysql-test-run.pl 2012-04-05 21:07:18 +0000
+++ mysql-test/mysql-test-run.pl 2012-04-27 12:15:31 +0000
@@ -160,9 +160,10 @@
160# executables will be used by the test suite.160# executables will be used by the test suite.
161our $opt_vs_config = $ENV{'MTR_VS_CONFIG'};161our $opt_vs_config = $ENV{'MTR_VS_CONFIG'};
162162
163my $DEFAULT_SUITES="main,binlog,federated,rpl,maria,handler,parts,innodb," . 163my $DEFAULT_SUITES="main,binlog,federated,rpl,maria,handler,parts,innodb," .
164 "innodb_plugin,percona,ndb,vcol,oqgraph,sphinx," .164 "innodb_plugin,percona,ndb,vcol,oqgraph,sphinx," .
165 "optimizer_unfixed_bugs,plugins";165 "optimizer_unfixed_bugs,plugins," .
166 "mroonga_storage,mroonga_wrapper";
166my $opt_suites;167my $opt_suites;
167168
168our $opt_verbose= 0; # Verbose output, enable with --verbose169our $opt_verbose= 0; # Verbose output, enable with --verbose
169170
=== modified file 'mysql-test/r/log_state.result'
--- mysql-test/r/log_state.result 2011-05-19 17:19:44 +0000
+++ mysql-test/r/log_state.result 2012-04-27 12:15:31 +0000
@@ -271,10 +271,10 @@
271SET GLOBAL general_log_file = 'bug32748.query.log';271SET GLOBAL general_log_file = 'bug32748.query.log';
272SET GLOBAL slow_query_log_file = 'bug32748.slow.log';272SET GLOBAL slow_query_log_file = 'bug32748.slow.log';
273273
274SHOW VARIABLES LIKE '%log_file';274select * from information_schema.global_variables where variable_name like "%log_file" and (variable_name like "general%" or variable_name like "slow%");
275Variable_name Value275VARIABLE_NAME VARIABLE_VALUE
276general_log_file bug32748.query.log276GENERAL_LOG_FILE bug32748.query.log
277slow_query_log_file bug32748.slow.log277SLOW_QUERY_LOG_FILE bug32748.slow.log
278278
279SET GLOBAL general_log_file = @old_general_log_file;279SET GLOBAL general_log_file = @old_general_log_file;
280SET GLOBAL slow_query_log_file = @old_slow_query_log_file;280SET GLOBAL slow_query_log_file = @old_slow_query_log_file;
281281
=== removed file 'mysql-test/suite/binlog/t/binlog_index-master.opt.moved'
--- mysql-test/suite/binlog/t/binlog_index-master.opt.moved 2011-02-20 16:51:43 +0000
+++ mysql-test/suite/binlog/t/binlog_index-master.opt.moved 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1--skip-stack-trace --test-expect-abort --log-warnings=0
20
=== modified file 'mysql-test/suite/funcs_1/r/is_columns_is.result'
--- mysql-test/suite/funcs_1/r/is_columns_is.result 2011-07-01 12:08:30 +0000
+++ mysql-test/suite/funcs_1/r/is_columns_is.result 2012-04-27 12:15:31 +0000
@@ -1,6 +1,6 @@
1SELECT * FROM information_schema.columns1SELECT * FROM information_schema.columns
2WHERE table_schema = 'information_schema'2WHERE table_schema = 'information_schema'
3AND table_name <> 'profiling'3AND table_name <> 'profiling' AND table_name <> 'mroonga_stats'
4ORDER BY table_schema, table_name, column_name;4ORDER BY table_schema, table_name, column_name;
5TABLE_CATALOG TABLE_SCHEMA TABLE_NAME COLUMN_NAME ORDINAL_POSITION COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA PRIVILEGES COLUMN_COMMENT5TABLE_CATALOG TABLE_SCHEMA TABLE_NAME COLUMN_NAME ORDINAL_POSITION COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA PRIVILEGES COLUMN_COMMENT
6NULL information_schema CHARACTER_SETS CHARACTER_SET_NAME 1 NO varchar 32 96 NULL NULL NULL utf8 utf8_general_ci varchar(32) select 6NULL information_schema CHARACTER_SETS CHARACTER_SET_NAME 1 NO varchar 32 96 NULL NULL NULL utf8 utf8_general_ci varchar(32) select
@@ -502,7 +502,7 @@
502COLLATION_NAME502COLLATION_NAME
503FROM information_schema.columns503FROM information_schema.columns
504WHERE table_schema = 'information_schema'504WHERE table_schema = 'information_schema'
505AND table_name <> 'profiling'505AND table_name <> 'profiling' AND table_name <> 'mroonga_stats'
506AND CHARACTER_OCTET_LENGTH / CHARACTER_MAXIMUM_LENGTH = 1506AND CHARACTER_OCTET_LENGTH / CHARACTER_MAXIMUM_LENGTH = 1
507ORDER BY CHARACTER_SET_NAME, COLLATION_NAME, COL_CML;507ORDER BY CHARACTER_SET_NAME, COLLATION_NAME, COL_CML;
508COL_CML DATA_TYPE CHARACTER_SET_NAME COLLATION_NAME508COL_CML DATA_TYPE CHARACTER_SET_NAME COLLATION_NAME
@@ -514,7 +514,7 @@
514COLLATION_NAME514COLLATION_NAME
515FROM information_schema.columns515FROM information_schema.columns
516WHERE table_schema = 'information_schema'516WHERE table_schema = 'information_schema'
517AND table_name <> 'profiling'517AND table_name <> 'profiling' AND table_name <> 'mroonga_stats'
518AND CHARACTER_OCTET_LENGTH / CHARACTER_MAXIMUM_LENGTH <> 1518AND CHARACTER_OCTET_LENGTH / CHARACTER_MAXIMUM_LENGTH <> 1
519ORDER BY CHARACTER_SET_NAME, COLLATION_NAME, COL_CML;519ORDER BY CHARACTER_SET_NAME, COLLATION_NAME, COL_CML;
520COL_CML DATA_TYPE CHARACTER_SET_NAME COLLATION_NAME520COL_CML DATA_TYPE CHARACTER_SET_NAME COLLATION_NAME
@@ -526,7 +526,7 @@
526COLLATION_NAME526COLLATION_NAME
527FROM information_schema.columns527FROM information_schema.columns
528WHERE table_schema = 'information_schema'528WHERE table_schema = 'information_schema'
529AND table_name <> 'profiling'529AND table_name <> 'profiling' AND table_name <> 'mroonga_stats'
530AND CHARACTER_OCTET_LENGTH / CHARACTER_MAXIMUM_LENGTH IS NULL530AND CHARACTER_OCTET_LENGTH / CHARACTER_MAXIMUM_LENGTH IS NULL
531ORDER BY CHARACTER_SET_NAME, COLLATION_NAME, COL_CML;531ORDER BY CHARACTER_SET_NAME, COLLATION_NAME, COL_CML;
532COL_CML DATA_TYPE CHARACTER_SET_NAME COLLATION_NAME532COL_CML DATA_TYPE CHARACTER_SET_NAME COLLATION_NAME
@@ -550,7 +550,7 @@
550COLUMN_TYPE550COLUMN_TYPE
551FROM information_schema.columns551FROM information_schema.columns
552WHERE table_schema = 'information_schema'552WHERE table_schema = 'information_schema'
553AND table_name <> 'profiling'553AND table_name <> 'profiling' AND table_name <> 'mroonga_stats'
554ORDER BY TABLE_SCHEMA, TABLE_NAME, ORDINAL_POSITION;554ORDER BY TABLE_SCHEMA, TABLE_NAME, ORDINAL_POSITION;
555COL_CML TABLE_SCHEMA TABLE_NAME COLUMN_NAME DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE555COL_CML TABLE_SCHEMA TABLE_NAME COLUMN_NAME DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE
5563.0000 information_schema CHARACTER_SETS CHARACTER_SET_NAME varchar 32 96 utf8 utf8_general_ci varchar(32)5563.0000 information_schema CHARACTER_SETS CHARACTER_SET_NAME varchar 32 96 utf8 utf8_general_ci varchar(32)
557557
=== modified file 'mysql-test/suite/funcs_1/r/is_tables_is.result'
--- mysql-test/suite/funcs_1/r/is_tables_is.result 2010-09-11 18:43:48 +0000
+++ mysql-test/suite/funcs_1/r/is_tables_is.result 2012-04-27 12:15:31 +0000
@@ -11,7 +11,7 @@
11'-----------------------------------------------------' AS "Separator"11'-----------------------------------------------------' AS "Separator"
12FROM information_schema.tables12FROM information_schema.tables
13WHERE table_schema = 'information_schema'13WHERE table_schema = 'information_schema'
14AND table_name <> 'profiling'14AND table_name <> 'profiling' AND table_name <> 'mroonga_stats'
15ORDER BY table_schema,table_name;15ORDER BY table_schema,table_name;
16TABLE_CATALOG NULL16TABLE_CATALOG NULL
17TABLE_SCHEMA information_schema17TABLE_SCHEMA information_schema
@@ -1201,7 +1201,7 @@
1201'-----------------------------------------------------' AS "Separator"1201'-----------------------------------------------------' AS "Separator"
1202FROM information_schema.tables1202FROM information_schema.tables
1203WHERE table_schema = 'information_schema'1203WHERE table_schema = 'information_schema'
1204AND table_name <> 'profiling'1204AND table_name <> 'profiling' AND table_name <> 'mroonga_stats'
1205ORDER BY table_schema,table_name;1205ORDER BY table_schema,table_name;
1206TABLE_CATALOG NULL1206TABLE_CATALOG NULL
1207TABLE_SCHEMA information_schema1207TABLE_SCHEMA information_schema
12081208
=== modified file 'mysql-test/suite/funcs_1/t/is_columns_is.test'
--- mysql-test/suite/funcs_1/t/is_columns_is.test 2010-08-17 07:14:46 +0000
+++ mysql-test/suite/funcs_1/t/is_columns_is.test 2012-04-27 12:15:31 +0000
@@ -22,5 +22,5 @@
22--source include/have_xtradb.inc22--source include/have_xtradb.inc
2323
24let $my_where = WHERE table_schema = 'information_schema'24let $my_where = WHERE table_schema = 'information_schema'
25AND table_name <> 'profiling';25AND table_name <> 'profiling' AND table_name <> 'mroonga_stats';
26--source suite/funcs_1/datadict/columns.inc26--source suite/funcs_1/datadict/columns.inc
2727
=== modified file 'mysql-test/suite/funcs_1/t/is_tables_is.test'
--- mysql-test/suite/funcs_1/t/is_tables_is.test 2010-09-11 18:43:48 +0000
+++ mysql-test/suite/funcs_1/t/is_tables_is.test 2012-04-27 12:15:31 +0000
@@ -15,5 +15,5 @@
15--source include/not_embedded.inc15--source include/not_embedded.inc
16--source include/have_innodb.inc16--source include/have_innodb.inc
17let $my_where = WHERE table_schema = 'information_schema'17let $my_where = WHERE table_schema = 'information_schema'
18AND table_name <> 'profiling';18AND table_name <> 'profiling' AND table_name <> 'mroonga_stats';
19--source suite/funcs_1/datadict/tables1.inc19--source suite/funcs_1/datadict/tables1.inc
2020
=== added directory 'mysql-test/suite/mroonga_storage'
=== added directory 'mysql-test/suite/mroonga_storage/inc'
=== added file 'mysql-test/suite/mroonga_storage/inc/have_fractional_seconds.inc'
--- mysql-test/suite/mroonga_storage/inc/have_fractional_seconds.inc 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/inc/have_fractional_seconds.inc 2012-04-27 12:15:31 +0000
@@ -0,0 +1,34 @@
1# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
2#
3# This library is free software; you can redistribute it and/or
4# modify it under the terms of the GNU Lesser General Public
5# License as published by the Free Software Foundation; either
6# version 2.1 of the License, or (at your option) any later version.
7#
8# This library is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11# Lesser General Public License for more details.
12#
13# You should have received a copy of the GNU Lesser General Public
14# License along with this library; if not, write to the Free Software
15# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
17--source suite/mroonga_storage/inc/have_mariadb.inc
18
19if ($have_mariadb)
20{
21 let $fractional_seconds = 1;
22}
23
24if (!$have_mariadb)
25{
26--disable_query_log
27 let $fractional_seconds = `SELECT @@global.version >= '5.6'`;
28--enable_query_log
29}
30
31if (!$fractional_seconds)
32{
33 skip fractional seconds in time values are available in MySQL version 5.6 or later or MariaDB;
34}
035
=== added file 'mysql-test/suite/mroonga_storage/inc/have_fulltext_index_comment.inc'
--- mysql-test/suite/mroonga_storage/inc/have_fulltext_index_comment.inc 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/inc/have_fulltext_index_comment.inc 2012-04-27 12:15:31 +0000
@@ -0,0 +1,7 @@
1--disable_query_log
2let $fulltext_index_comment = `SELECT @@global.version >= '5.5'`;
3--enable_query_log
4if (!$fulltext_index_comment)
5{
6 skip Fulltext index comment is available in version 5.5 or later;
7}
08
=== added file 'mysql-test/suite/mroonga_storage/inc/have_mariadb.inc'
--- mysql-test/suite/mroonga_storage/inc/have_mariadb.inc 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/inc/have_mariadb.inc 2012-04-27 12:15:31 +0000
@@ -0,0 +1,19 @@
1# Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
2#
3# This library is free software; you can redistribute it and/or
4# modify it under the terms of the GNU Lesser General Public
5# License as published by the Free Software Foundation; either
6# version 2.1 of the License, or (at your option) any later version.
7#
8# This library is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11# Lesser General Public License for more details.
12#
13# You should have received a copy of the GNU Lesser General Public
14# License along with this library; if not, write to the Free Software
15# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
17--disable_query_log
18let $have_mariadb = `SELECT LOCATE('MariaDB', @@global.version) > 0`;
19--enable_query_log
020
=== added file 'mysql-test/suite/mroonga_storage/inc/have_mroonga.inc'
--- mysql-test/suite/mroonga_storage/inc/have_mroonga.inc 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/inc/have_mroonga.inc 2012-04-27 12:15:31 +0000
@@ -0,0 +1,47 @@
1# Copyright(C) 2010 Kentoku SHIBA
2#
3# This library is free software; you can redistribute it and/or
4# modify it under the terms of the GNU Lesser General Public
5# License as published by the Free Software Foundation; either
6# version 2.1 of the License, or (at your option) any later version.
7#
8# This library is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11# Lesser General Public License for more details.
12#
13# You should have received a copy of the GNU Lesser General Public
14# License along with this library; if not, write to the Free Software
15# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
17disable_query_log;
18
19if (!`SELECT count(*) FROM information_schema.plugins WHERE
20 plugin_name = 'mroonga' AND plugin_status = 'active'`){
21 skip Need mroonga storage engine;
22}
23
24if (!`SELECT count(*) FROM information_schema.plugins WHERE
25 plugin_name = 'InnoDB' AND plugin_status = 'active'`){
26 skip Need InnoDB storage engine;
27}
28
29let have_default_storage_engine_variable=`SELECT 1 FROM information_schema.global_variables WHERE variable_name = "default_storage_engine"`;
30if ($have_default_storage_engine_variable)
31{
32 set default_storage_engine=mroonga;
33}
34if (!$have_default_storage_engine_variable)
35{
36 set storage_engine=mroonga;
37}
38set global mroonga_log_level=NOTICE;
39set global mroonga_default_parser=TokenBigram;
40
41let have_default_tmp_storage_engine_variable=`SELECT 1 FROM information_schema.global_variables WHERE variable_name = "default_tmp_storage_engine"`;
42if ($have_default_tmp_storage_engine_variable)
43{
44 set default_tmp_storage_engine=mroonga;
45}
46
47enable_query_log;
048
=== added file 'mysql-test/suite/mroonga_storage/inc/have_mroonga.opt'
--- mysql-test/suite/mroonga_storage/inc/have_mroonga.opt 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/inc/have_mroonga.opt 2012-04-27 12:15:31 +0000
@@ -0,0 +1,3 @@
1--loose-mroonga
2--loose-innodb
3--plugin-load=$HA_XTRADB_SO;$HA_MROONGA_SO
04
=== added file 'mysql-test/suite/mroonga_storage/inc/have_mroonga_deinit.inc'
--- mysql-test/suite/mroonga_storage/inc/have_mroonga_deinit.inc 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/inc/have_mroonga_deinit.inc 2012-04-27 12:15:31 +0000
@@ -0,0 +1,35 @@
1# Copyright(C) 2010 Kentoku SHIBA
2#
3# This library is free software; you can redistribute it and/or
4# modify it under the terms of the GNU Lesser General Public
5# License as published by the Free Software Foundation; either
6# version 2.1 of the License, or (at your option) any later version.
7#
8# This library is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11# Lesser General Public License for more details.
12#
13# You should have received a copy of the GNU Lesser General Public
14# License along with this library; if not, write to the Free Software
15# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
17disable_query_log;
18
19set global mroonga_default_parser=TokenBigram;
20set global mroonga_log_level=NOTICE;
21if ($have_default_storage_engine_variable)
22{
23 set default_storage_engine=MyISAM;
24}
25if (!$have_default_storage_engine_variable)
26{
27 set storage_engine=MyISAM;
28}
29
30if ($have_default_tmp_storage_engine_variable)
31{
32 set default_tmp_storage_engine=MyISAM;
33}
34
35enable_query_log;
036
=== added file 'mysql-test/suite/mroonga_storage/inc/have_mroonga_helper.inc'
--- mysql-test/suite/mroonga_storage/inc/have_mroonga_helper.inc 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/inc/have_mroonga_helper.inc 2012-04-27 12:15:31 +0000
@@ -0,0 +1,17 @@
1# Copyright(C) 2011 Kouhei Sutou <kou@clear-code.com>
2#
3# This library is free software; you can redistribute it and/or
4# modify it under the terms of the GNU Lesser General Public
5# License as published by the Free Software Foundation; either
6# version 2.1 of the License, or (at your option) any later version.
7#
8# This library is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11# Lesser General Public License for more details.
12#
13# You should have received a copy of the GNU Lesser General Public
14# License along with this library; if not, write to the Free Software
15# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
17let $MYSQLD_DATADIR= `select @@datadir`;
018
=== added file 'mysql-test/suite/mroonga_storage/inc/have_mroonga_plugin.inc'
--- mysql-test/suite/mroonga_storage/inc/have_mroonga_plugin.inc 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/inc/have_mroonga_plugin.inc 2012-04-27 12:15:31 +0000
@@ -0,0 +1,6 @@
1--source suite/mroonga_storage/inc/have_mroonga.inc
2
3if (!`SELECT COUNT(*) FROM INFORMATION_SCHEMA.PLUGINS
4 WHERE PLUGIN_NAME = 'mroonga' AND PLUGIN_LIBRARY='ha_mroonga.so'`) {
5 skip Need mroonga plugin as shared library;
6}
07
=== added directory 'mysql-test/suite/mroonga_storage/r'
=== added file 'mysql-test/suite/mroonga_storage/r/alter_table_add_column.result'
--- mysql-test/suite/mroonga_storage/r/alter_table_add_column.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/alter_table_add_column.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,37 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT
5) DEFAULT CHARSET UTF8;
6SHOW CREATE TABLE diaries;
7Table Create Table
8diaries CREATE TABLE `diaries` (
9 `id` int(11) NOT NULL AUTO_INCREMENT,
10 `title` text,
11 PRIMARY KEY (`id`)
12) ENGINE=mroonga DEFAULT CHARSET=utf8
13INSERT INTO diaries (title) VALUES ("survey");
14SELECT * FROM diaries;
15id title
161 survey
17ALTER TABLE diaries ADD COLUMN body TEXT;
18UPDATE diaries SET body = "will start groonga!";
19SELECT * FROM diaries;
20id title body
211 survey will start groonga!
22INSERT INTO diaries (title, body) values ("groonga (1)", "starting groonga...");
23INSERT INTO diaries (title, body) values ("groonga (2)", "started groonga.");
24SELECT * FROM diaries;
25id title body
261 survey will start groonga!
272 groonga (1) starting groonga...
283 groonga (2) started groonga.
29SHOW CREATE TABLE diaries;
30Table Create Table
31diaries CREATE TABLE `diaries` (
32 `id` int(11) NOT NULL AUTO_INCREMENT,
33 `title` text,
34 `body` text,
35 PRIMARY KEY (`id`)
36) ENGINE=mroonga DEFAULT CHARSET=utf8
37DROP TABLE diaries;
038
=== added file 'mysql-test/suite/mroonga_storage/r/alter_table_change_engine.result'
--- mysql-test/suite/mroonga_storage/r/alter_table_change_engine.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/alter_table_change_engine.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,49 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5body TEXT,
6FULLTEXT INDEX title_index (title),
7FULLTEXT INDEX body_index (body)
8) ENGINE MyISAM DEFAULT CHARSET UTF8;
9SHOW CREATE TABLE diaries;
10Table Create Table
11diaries CREATE TABLE `diaries` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `title` text,
14 `body` text,
15 PRIMARY KEY (`id`),
16 FULLTEXT KEY `title_index` (`title`),
17 FULLTEXT KEY `body_index` (`body`)
18) ENGINE=MyISAM DEFAULT CHARSET=utf8
19INSERT INTO diaries (title, body) VALUES ("survey", "will start groonga!");
20INSERT INTO diaries (title, body) VALUES ("groonga (1)", "starting groonga...");
21SELECT * FROM diaries
22WHERE MATCH(title) AGAINST("survey" IN BOOLEAN MODE) AND
23MATCH(body) AGAINST("groonga" IN BOOLEAN MODE);
24id title body
251 survey will start groonga!
26ALTER TABLE diaries ENGINE = mroonga;
27SHOW CREATE TABLE diaries;
28Table Create Table
29diaries CREATE TABLE `diaries` (
30 `id` int(11) NOT NULL AUTO_INCREMENT,
31 `title` text,
32 `body` text,
33 PRIMARY KEY (`id`),
34 FULLTEXT KEY `title_index` (`title`),
35 FULLTEXT KEY `body_index` (`body`)
36) ENGINE=mroonga DEFAULT CHARSET=utf8
37SELECT * FROM diaries
38WHERE MATCH(title) AGAINST("survey" IN BOOLEAN MODE) AND
39MATCH(body) AGAINST("groonga" IN BOOLEAN MODE);
40id title body
411 survey will start groonga!
42INSERT INTO diaries (title, body) VALUES ("groonga (2)", "started groonga.");
43SELECT * FROM diaries
44WHERE MATCH(title) AGAINST("groonga" IN BOOLEAN MODE) AND
45MATCH(body) AGAINST("groonga" IN BOOLEAN MODE);
46id title body
472 groonga (1) starting groonga...
483 groonga (2) started groonga.
49DROP TABLE diaries;
050
=== added file 'mysql-test/suite/mroonga_storage/r/alter_table_drop_column.result'
--- mysql-test/suite/mroonga_storage/r/alter_table_drop_column.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/alter_table_drop_column.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,37 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5body TEXT
6) DEFAULT CHARSET UTF8;
7SHOW CREATE TABLE diaries;
8Table Create Table
9diaries CREATE TABLE `diaries` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `title` text,
12 `body` text,
13 PRIMARY KEY (`id`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15INSERT INTO diaries (title, body) VALUES ("survey", "will start groonga!");
16SELECT * FROM diaries;
17id title body
181 survey will start groonga!
19ALTER TABLE diaries DROP COLUMN body;
20SHOW CREATE TABLE diaries;
21Table Create Table
22diaries CREATE TABLE `diaries` (
23 `id` int(11) NOT NULL AUTO_INCREMENT,
24 `title` text,
25 PRIMARY KEY (`id`)
26) ENGINE=mroonga DEFAULT CHARSET=utf8
27SELECT * FROM diaries;
28id title
291 survey
30INSERT INTO diaries (title) values ("groonga (1)");
31INSERT INTO diaries (title) values ("groonga (2)");
32SELECT * FROM diaries;
33id title
341 survey
352 groonga (1)
363 groonga (2)
37DROP TABLE diaries;
038
=== added file 'mysql-test/suite/mroonga_storage/r/alter_table_engine_decimal.result'
--- mysql-test/suite/mroonga_storage/r/alter_table_engine_decimal.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/alter_table_engine_decimal.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,38 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5temperature DECIMAL(6, 3)
6) ENGINE InnoDB DEFAULT CHARSET UTF8;
7SHOW CREATE TABLE diaries;
8Table Create Table
9diaries CREATE TABLE `diaries` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `title` text,
12 `temperature` decimal(6,3) DEFAULT NULL,
13 PRIMARY KEY (`id`)
14) ENGINE=InnoDB DEFAULT CHARSET=utf8
15INSERT INTO diaries (title, temperature) VALUES ("clear day", 21.281);
16SELECT * FROM diaries;
17id title temperature
181 clear day 21.281
19ALTER TABLE diaries ENGINE = mroonga;
20SELECT * FROM diaries;
21id title temperature
221 clear day 21.281
23INSERT INTO diaries (title, temperature) VALUES ("rainy day", 14.213);
24INSERT INTO diaries (title, temperature) VALUES ("cloudy day", 17.821);
25SELECT * FROM diaries;
26id title temperature
271 clear day 21.281
282 rainy day 14.213
293 cloudy day 17.821
30SHOW CREATE TABLE diaries;
31Table Create Table
32diaries CREATE TABLE `diaries` (
33 `id` int(11) NOT NULL AUTO_INCREMENT,
34 `title` text,
35 `temperature` decimal(6,3) DEFAULT NULL,
36 PRIMARY KEY (`id`)
37) ENGINE=mroonga DEFAULT CHARSET=utf8
38DROP TABLE diaries;
039
=== added file 'mysql-test/suite/mroonga_storage/r/alter_table_fulltext.result'
--- mysql-test/suite/mroonga_storage/r/alter_table_fulltext.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/alter_table_fulltext.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,52 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5FULLTEXT INDEX title_index (title)
6) DEFAULT CHARSET UTF8;
7SHOW CREATE TABLE diaries;
8Table Create Table
9diaries CREATE TABLE `diaries` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `title` text,
12 PRIMARY KEY (`id`),
13 FULLTEXT KEY `title_index` (`title`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15INSERT INTO diaries (title) VALUES ("survey");
16SELECT * FROM diaries;
17id title
181 survey
19ALTER TABLE diaries ADD COLUMN body TEXT;
20UPDATE diaries SET body = "will start groonga!";
21SELECT * FROM diaries;
22id title body
231 survey will start groonga!
24INSERT INTO diaries (title, body) values ("groonga (1)", "starting groonga...");
25INSERT INTO diaries (title, body) values ("groonga (2)", "started groonga.");
26SELECT * FROM diaries;
27id title body
281 survey will start groonga!
292 groonga (1) starting groonga...
303 groonga (2) started groonga.
31ALTER TABLE diaries ADD FULLTEXT INDEX body_index (body);
32SELECT * FROM diaries
33WHERE MATCH(title) AGAINST("survey") AND
34MATCH(body) AGAINST("groonga");
35id title body
361 survey will start groonga!
37SELECT * FROM diaries
38WHERE MATCH(title) AGAINST("groonga") AND
39MATCH(body) AGAINST("starting");
40id title body
412 groonga (1) starting groonga...
42SHOW CREATE TABLE diaries;
43Table Create Table
44diaries CREATE TABLE `diaries` (
45 `id` int(11) NOT NULL AUTO_INCREMENT,
46 `title` text,
47 `body` text,
48 PRIMARY KEY (`id`),
49 FULLTEXT KEY `title_index` (`title`),
50 FULLTEXT KEY `body_index` (`body`)
51) ENGINE=mroonga DEFAULT CHARSET=utf8
52DROP TABLE diaries;
053
=== added file 'mysql-test/suite/mroonga_storage/r/alter_table_rename_table.result'
--- mysql-test/suite/mroonga_storage/r/alter_table_rename_table.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/alter_table_rename_table.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,45 @@
1DROP TABLE IF EXISTS diaries, memos;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5body TEXT,
6FULLTEXT INDEX title_index (title),
7FULLTEXT INDEX body_index (body)
8) DEFAULT CHARSET UTF8;
9SHOW CREATE TABLE diaries;
10Table Create Table
11diaries CREATE TABLE `diaries` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `title` text,
14 `body` text,
15 PRIMARY KEY (`id`),
16 FULLTEXT KEY `title_index` (`title`),
17 FULLTEXT KEY `body_index` (`body`)
18) ENGINE=mroonga DEFAULT CHARSET=utf8
19INSERT INTO diaries (title, body) VALUES ("survey", "will start groonga!");
20SELECT * FROM diaries;
21id title body
221 survey will start groonga!
23SELECT * FROM diaries
24WHERE MATCH(title) AGAINST("groonga") AND
25MATCH(body) AGAINST("starting");
26id title body
27ALTER TABLE diaries RENAME memos;
28SELECT * FROM memos;
29id title body
301 survey will start groonga!
31SELECT * FROM memos
32WHERE MATCH(title) AGAINST("groonga") AND
33MATCH(body) AGAINST("starting");
34id title body
35SHOW CREATE TABLE memos;
36Table Create Table
37memos CREATE TABLE `memos` (
38 `id` int(11) NOT NULL AUTO_INCREMENT,
39 `title` text,
40 `body` text,
41 PRIMARY KEY (`id`),
42 FULLTEXT KEY `title_index` (`title`),
43 FULLTEXT KEY `body_index` (`body`)
44) ENGINE=mroonga DEFAULT CHARSET=utf8
45DROP TABLE memos;
046
=== added file 'mysql-test/suite/mroonga_storage/r/alter_table_spatial.result'
--- mysql-test/suite/mroonga_storage/r/alter_table_spatial.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/alter_table_spatial.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,131 @@
1DROP TABLE IF EXISTS shops;
2CREATE TABLE shops (
3id INT PRIMARY KEY AUTO_INCREMENT,
4name TEXT,
5location GEOMETRY NOT NULL
6);
7INSERT INTO shops (name, location)
8VALUES ('nezu-no-taiyaki',
9GeomFromText('POINT(139.762573 35.720253)'));
10INSERT INTO shops (name, location)
11VALUES ('taiyaki-kataoka',
12GeomFromText('POINT(139.715591 35.712521)'));
13INSERT INTO shops (name, location)
14VALUES ('soba-taiyaki-ku',
15GeomFromText('POINT(139.659088 35.683712)'));
16INSERT INTO shops (name, location)
17VALUES ('kuruma',
18GeomFromText('POINT(139.706207 35.721516)'));
19INSERT INTO shops (name, location)
20VALUES ('hirose-ya',
21GeomFromText('POINT(139.685608 35.714844)'));
22INSERT INTO shops (name, location)
23VALUES ('sazare',
24GeomFromText('POINT(139.685043 35.714653)'));
25INSERT INTO shops (name, location)
26VALUES ('omede-taiyaki',
27GeomFromText('POINT(139.817154 35.700516)'));
28INSERT INTO shops (name, location)
29VALUES ('onaga-ya',
30GeomFromText('POINT(139.81105 35.698254)'));
31INSERT INTO shops (name, location)
32VALUES ('shiro-ya',
33GeomFromText('POINT(139.638611 35.705517)'));
34INSERT INTO shops (name, location)
35VALUES ('fuji-ya',
36GeomFromText('POINT(139.637115 35.703938)'));
37INSERT INTO shops (name, location)
38VALUES ('miyoshi',
39GeomFromText('POINT(139.537323 35.644539)'));
40INSERT INTO shops (name, location)
41VALUES ('juju-ya',
42GeomFromText('POINT(139.695755 35.628922)'));
43INSERT INTO shops (name, location)
44VALUES ('tatsumi-ya',
45GeomFromText('POINT(139.638657 35.665501)'));
46INSERT INTO shops (name, location)
47VALUES ('tetsuji',
48GeomFromText('POINT(139.76857 35.680912)'));
49INSERT INTO shops (name, location)
50VALUES ('gazuma-ya',
51GeomFromText('POINT(139.647598 35.700817)'));
52INSERT INTO shops (name, location)
53VALUES ('honma-mon',
54GeomFromText('POINT(139.652573 35.722736)'));
55INSERT INTO shops (name, location)
56VALUES ('naniwa-ya',
57GeomFromText('POINT(139.796234 35.730061)'));
58INSERT INTO shops (name, location)
59VALUES ('kuro-dai',
60GeomFromText('POINT(139.704834 35.650345)'));
61INSERT INTO shops (name, location)
62VALUES ('daruma',
63GeomFromText('POINT(139.770599 35.681461)'));
64INSERT INTO shops (name, location)
65VALUES ('yanagi-ya',
66GeomFromText('POINT(139.783981 35.685341)'));
67INSERT INTO shops (name, location)
68VALUES ('sharaku',
69GeomFromText('POINT(139.794846 35.716969)'));
70INSERT INTO shops (name, location)
71VALUES ('takane',
72GeomFromText('POINT(139.560913 35.698601)'));
73INSERT INTO shops (name, location)
74VALUES ('chiyoda',
75GeomFromText('POINT(139.652817 35.642601)'));
76INSERT INTO shops (name, location)
77VALUES ('da-ka-po',
78GeomFromText('POINT(139.727356 35.627346)'));
79INSERT INTO shops (name, location)
80VALUES ('matsushima-ya',
81GeomFromText('POINT(139.737381 35.640556)'));
82INSERT INTO shops (name, location)
83VALUES ('kazuya',
84GeomFromText('POINT(139.760895 35.673508)'));
85INSERT INTO shops (name, location)
86VALUES ('furuya-kogane-an',
87GeomFromText('POINT(139.676071 35.680603)'));
88INSERT INTO shops (name, location)
89VALUES ('hachi-no-ie',
90GeomFromText('POINT(139.668106 35.608021)'));
91INSERT INTO shops (name, location)
92VALUES ('azuki-chan',
93GeomFromText('POINT(139.673203 35.64151)'));
94INSERT INTO shops (name, location)
95VALUES ('kuriko-an',
96GeomFromText('POINT(139.796829 35.712013)'));
97INSERT INTO shops (name, location)
98VALUES ('yume-no-aru-machi-no-taiyaki-ya-san',
99GeomFromText('POINT(139.712524 35.616199)'));
100INSERT INTO shops (name, location)
101VALUES ('naze-ya',
102GeomFromText('POINT(139.665833 35.609039)'));
103INSERT INTO shops (name, location)
104VALUES ('sanoki-ya',
105GeomFromText('POINT(139.770721 35.66592)'));
106INSERT INTO shops (name, location)
107VALUES ('shigeta',
108GeomFromText('POINT(139.780273 35.672626)'));
109INSERT INTO shops (name, location)
110VALUES ('nishimi-ya',
111GeomFromText('POINT(139.774628 35.671825)'));
112INSERT INTO shops (name, location)
113VALUES ('hiiragi',
114GeomFromText('POINT(139.711517 35.647701)'));
115ALTER TABLE shops ADD SPATIAL KEY location_index (location);
116SELECT id, name, AsText(location) AS location_text FROM shops
117WHERE MBRContains(GeomFromText('LineString(139.7727 35.6684, 139.7038 35.7121)'), location);
118id name location_text
11914 tetsuji POINT(139.76857 35.6809119444444)
12019 daruma POINT(139.770598888889 35.6814611111111)
12126 kazuya POINT(139.760895 35.6735080555556)
122SHOW CREATE TABLE shops;
123Table Create Table
124shops CREATE TABLE `shops` (
125 `id` int(11) NOT NULL AUTO_INCREMENT,
126 `name` text,
127 `location` geometry NOT NULL,
128 PRIMARY KEY (`id`),
129 SPATIAL KEY `location_index` (`location`)
130) ENGINE=mroonga DEFAULT CHARSET=latin1
131DROP TABLE shops;
0132
=== added file 'mysql-test/suite/mroonga_storage/r/auto_increment.result'
--- mysql-test/suite/mroonga_storage/r/auto_increment.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/auto_increment.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,53 @@
1drop table if exists t1;
2create table t1 (c1 int auto_increment, primary key(c1));
3insert into t1 values(null);
4select c1 from t1 order by c1 desc limit 1;
5c1
61
7insert into t1 values(null);
8select c1 from t1 order by c1 desc limit 1;
9c1
102
11insert into t1 values(10);
12select c1 from t1 order by c1 desc limit 1;
13c1
1410
15insert into t1 values(null);
16select c1 from t1 order by c1 desc limit 1;
17c1
1811
19insert into t1 values(6);
20select c1 from t1 order by c1 desc limit 1;
21c1
2211
23insert into t1 values(null);
24select c1 from t1 order by c1 desc limit 1;
25c1
2612
27drop table t1;
28create table t1 (c1 int, c2 int auto_increment, primary key(c1), key idx1(c2));
29insert into t1 values(1, null);
30select * from t1 order by c2 desc limit 1;
31c1 c2
321 1
33insert into t1 values(2, null);
34select * from t1 order by c2 desc limit 1;
35c1 c2
362 2
37insert into t1 values(3, 10);
38select * from t1 order by c2 desc limit 1;
39c1 c2
403 10
41insert into t1 values(4, null);
42select * from t1 order by c2 desc limit 1;
43c1 c2
444 11
45insert into t1 values(5, 6);
46select * from t1 order by c2 desc limit 1;
47c1 c2
484 11
49insert into t1 values(6, null);
50select * from t1 order by c2 desc limit 1;
51c1 c2
526 12
53drop table t1;
054
=== added file 'mysql-test/suite/mroonga_storage/r/auto_increment_text.result'
--- mysql-test/suite/mroonga_storage/r/auto_increment_text.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/auto_increment_text.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,15 @@
1drop table if exists diaries;
2create table diaries (
3id int primary key auto_increment,
4body text
5);
6insert into diaries (body) values ("started groonga (long text)");
7select * from diaries;
8id body
91 started groonga (long text)
10insert into diaries (body) values ("sleeping... (short text)");
11select * from diaries;
12id body
131 started groonga (long text)
142 sleeping... (short text)
15drop table diaries;
016
=== added file 'mysql-test/suite/mroonga_storage/r/binlog.result'
--- mysql-test/suite/mroonga_storage/r/binlog.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/binlog.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,34 @@
1drop table if exists t1;
2show variables like 'log_bin';
3Variable_name Value
4log_bin ON
5set binlog_format="STATEMENT";
6create table t1 (c1 int primary key, c2 int) engine = mroonga;
7insert into t1 values(1,100);
8insert into t1 values(2,100);
9commit;
10select * from t1;
11c1 c2
121 100
132 100
14drop table t1;
15set binlog_format="ROW";
16create table t1 (c1 int primary key, c2 int) engine = mroonga;
17insert into t1 values(1,100);
18insert into t1 values(2,100);
19commit;
20select * from t1;
21c1 c2
221 100
232 100
24drop table t1;
25set binlog_format="MIXED";
26create table t1 (c1 int primary key, c2 int) engine = mroonga;
27insert into t1 values(1,100);
28insert into t1 values(2,100);
29commit;
30select * from t1;
31c1 c2
321 100
332 100
34drop table t1;
035
=== added file 'mysql-test/suite/mroonga_storage/r/btree.result'
--- mysql-test/suite/mroonga_storage/r/btree.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/btree.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,25 @@
1drop table if exists t1, t2, t3;
2create table t1 (c1 int primary key, c2 int, index using btree (c2));
3show create table t1;
4Table Create Table
5t1 CREATE TABLE `t1` (
6 `c1` int(11) NOT NULL,
7 `c2` int(11) DEFAULT NULL,
8 PRIMARY KEY (`c1`),
9 KEY `c2` (`c2`) USING BTREE
10) ENGINE=mroonga DEFAULT CHARSET=latin1
11insert into t1 values (1, 100);
12insert into t1 values (2, 101);
13insert into t1 values (3, 102);
14select * from t1;
15c1 c2
161 100
172 101
183 102
19flush tables;
20select * from t1;
21c1 c2
221 100
232 101
243 102
25drop table t1;
026
=== added file 'mysql-test/suite/mroonga_storage/r/column_date_with_index.result'
--- mysql-test/suite/mroonga_storage/r/column_date_with_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_date_with_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,29 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5created_at DATE,
6KEY (created_at)
7) DEFAULT CHARSET UTF8;
8SHOW CREATE TABLE diaries;
9Table Create Table
10diaries CREATE TABLE `diaries` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `title` text,
13 `created_at` date DEFAULT NULL,
14 PRIMARY KEY (`id`),
15 KEY `created_at` (`created_at`)
16) ENGINE=mroonga DEFAULT CHARSET=utf8
17INSERT INTO diaries (title, created_at) VALUES ("clear day", "2012-01-29");
18INSERT INTO diaries (title, created_at) VALUES ("rainy day", "2012-01-30");
19INSERT INTO diaries (title, created_at) VALUES ("cloudy day", "2012-01-31");
20SELECT * FROM diaries;
21id title created_at
221 clear day 2012-01-29
232 rainy day 2012-01-30
243 cloudy day 2012-01-31
25SELECT * FROM diaries WHERE created_at BETWEEN "2012-01-29" AND "2012-01-30";
26id title created_at
271 clear day 2012-01-29
282 rainy day 2012-01-30
29DROP TABLE diaries;
030
=== added file 'mysql-test/suite/mroonga_storage/r/column_date_without_index.result'
--- mysql-test/suite/mroonga_storage/r/column_date_without_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_date_without_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,27 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5created_at DATE
6) DEFAULT CHARSET UTF8;
7SHOW CREATE TABLE diaries;
8Table Create Table
9diaries CREATE TABLE `diaries` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `title` text,
12 `created_at` date DEFAULT NULL,
13 PRIMARY KEY (`id`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15INSERT INTO diaries (title, created_at) VALUES ("clear day", "2012-01-29");
16INSERT INTO diaries (title, created_at) VALUES ("rainy day", "2012-01-30");
17INSERT INTO diaries (title, created_at) VALUES ("cloudy day", "2012-01-31");
18SELECT * FROM diaries;
19id title created_at
201 clear day 2012-01-29
212 rainy day 2012-01-30
223 cloudy day 2012-01-31
23SELECT * FROM diaries WHERE created_at BETWEEN "2012-01-29" AND "2012-01-30";
24id title created_at
251 clear day 2012-01-29
262 rainy day 2012-01-30
27DROP TABLE diaries;
028
=== added file 'mysql-test/suite/mroonga_storage/r/column_datetime_with_fractional_seconds_with_index.result'
--- mysql-test/suite/mroonga_storage/r/column_datetime_with_fractional_seconds_with_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_datetime_with_fractional_seconds_with_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,34 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5created_at DATETIME(6),
6KEY (created_at)
7) DEFAULT CHARSET UTF8;
8SHOW CREATE TABLE diaries;
9Table Create Table
10diaries CREATE TABLE `diaries` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `title` text,
13 `created_at` datetime(6) DEFAULT NULL,
14 PRIMARY KEY (`id`),
15 KEY `created_at` (`created_at`)
16) ENGINE=mroonga DEFAULT CHARSET=utf8
17INSERT INTO diaries (title, created_at)
18VALUES ("clear day", "2012-01-29 21:51:01.111111");
19INSERT INTO diaries (title, created_at)
20VALUES ("rainy day", "2012-01-30 01:23:45.333");
21INSERT INTO diaries (title, created_at)
22VALUES ("cloudy day", "2012-01-31 08:32:10.5555");
23SELECT * FROM diaries;
24id title created_at
251 clear day 2012-01-29 21:51:01.111111
262 rainy day 2012-01-30 01:23:45.333000
273 cloudy day 2012-01-31 08:32:10.555500
28SELECT * FROM diaries
29WHERE created_at BETWEEN "2012-01-29 00:00:00.123456" AND
30"2012-01-31 00:00:00.999999";
31id title created_at
321 clear day 2012-01-29 21:51:01.111111
332 rainy day 2012-01-30 01:23:45.333000
34DROP TABLE diaries;
035
=== added file 'mysql-test/suite/mroonga_storage/r/column_datetime_with_fractional_seconds_without_index.result'
--- mysql-test/suite/mroonga_storage/r/column_datetime_with_fractional_seconds_without_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_datetime_with_fractional_seconds_without_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,32 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5created_at DATETIME(6)
6) DEFAULT CHARSET UTF8;
7SHOW CREATE TABLE diaries;
8Table Create Table
9diaries CREATE TABLE `diaries` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `title` text,
12 `created_at` datetime(6) DEFAULT NULL,
13 PRIMARY KEY (`id`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15INSERT INTO diaries (title, created_at)
16VALUES ("clear day", "2012-01-29 21:51:01.111111");
17INSERT INTO diaries (title, created_at)
18VALUES ("rainy day", "2012-01-30 01:23:45.333");
19INSERT INTO diaries (title, created_at)
20VALUES ("cloudy day", "2012-01-31 08:32:10.5555");
21SELECT * FROM diaries;
22id title created_at
231 clear day 2012-01-29 21:51:01.111111
242 rainy day 2012-01-30 01:23:45.333000
253 cloudy day 2012-01-31 08:32:10.555500
26SELECT * FROM diaries
27WHERE created_at BETWEEN "2012-01-29 00:00:00.123456" AND
28"2012-01-31 00:00:00.999999";
29id title created_at
301 clear day 2012-01-29 21:51:01.111111
312 rainy day 2012-01-30 01:23:45.333000
32DROP TABLE diaries;
033
=== added file 'mysql-test/suite/mroonga_storage/r/column_datetime_without_fractional_seconds_with_index.result'
--- mysql-test/suite/mroonga_storage/r/column_datetime_without_fractional_seconds_with_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_datetime_without_fractional_seconds_with_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,33 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5created_at DATETIME,
6KEY (created_at)
7) DEFAULT CHARSET UTF8;
8SHOW CREATE TABLE diaries;
9Table Create Table
10diaries CREATE TABLE `diaries` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `title` text,
13 `created_at` datetime DEFAULT NULL,
14 PRIMARY KEY (`id`),
15 KEY `created_at` (`created_at`)
16) ENGINE=mroonga DEFAULT CHARSET=utf8
17INSERT INTO diaries (title, created_at)
18VALUES ("clear day", "2012-01-29 21:51:01");
19INSERT INTO diaries (title, created_at)
20VALUES ("rainy day", "2012-01-30 01:23:45");
21INSERT INTO diaries (title, created_at)
22VALUES ("cloudy day", "2012-01-31 08:32:10");
23SELECT * FROM diaries;
24id title created_at
251 clear day 2012-01-29 21:51:01
262 rainy day 2012-01-30 01:23:45
273 cloudy day 2012-01-31 08:32:10
28SELECT * FROM diaries
29WHERE created_at BETWEEN "2012-01-29 00:00:00" AND "2012-01-31 00:00:00";
30id title created_at
311 clear day 2012-01-29 21:51:01
322 rainy day 2012-01-30 01:23:45
33DROP TABLE diaries;
034
=== added file 'mysql-test/suite/mroonga_storage/r/column_datetime_without_fractional_seconds_without_index.result'
--- mysql-test/suite/mroonga_storage/r/column_datetime_without_fractional_seconds_without_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_datetime_without_fractional_seconds_without_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,31 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5created_at DATETIME
6) DEFAULT CHARSET UTF8;
7SHOW CREATE TABLE diaries;
8Table Create Table
9diaries CREATE TABLE `diaries` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `title` text,
12 `created_at` datetime DEFAULT NULL,
13 PRIMARY KEY (`id`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15INSERT INTO diaries (title, created_at)
16VALUES ("clear day", "2012-01-29 21:51:01");
17INSERT INTO diaries (title, created_at)
18VALUES ("rainy day", "2012-01-30 01:23:45");
19INSERT INTO diaries (title, created_at)
20VALUES ("cloudy day", "2012-01-31 08:32:10");
21SELECT * FROM diaries;
22id title created_at
231 clear day 2012-01-29 21:51:01
242 rainy day 2012-01-30 01:23:45
253 cloudy day 2012-01-31 08:32:10
26SELECT * FROM diaries
27WHERE created_at BETWEEN "2012-01-29 00:00:00" AND "2012-01-31 00:00:00";
28id title created_at
291 clear day 2012-01-29 21:51:01
302 rainy day 2012-01-30 01:23:45
31DROP TABLE diaries;
032
=== added file 'mysql-test/suite/mroonga_storage/r/column_decimal_with_fractional_seconds_with_index.result'
--- mysql-test/suite/mroonga_storage/r/column_decimal_with_fractional_seconds_with_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_decimal_with_fractional_seconds_with_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,29 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5temperature DECIMAL(6, 3),
6KEY (temperature)
7) DEFAULT CHARSET UTF8;
8SHOW CREATE TABLE diaries;
9Table Create Table
10diaries CREATE TABLE `diaries` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `title` text,
13 `temperature` decimal(6,3) DEFAULT NULL,
14 PRIMARY KEY (`id`),
15 KEY `temperature` (`temperature`)
16) ENGINE=mroonga DEFAULT CHARSET=utf8
17INSERT INTO diaries (title, temperature) VALUES ("clear day", 21.281);
18INSERT INTO diaries (title, temperature) VALUES ("rainy day", 14.213);
19INSERT INTO diaries (title, temperature) VALUES ("cloudy day", 17.821);
20SELECT * FROM diaries;
21id title temperature
221 clear day 21.281
232 rainy day 14.213
243 cloudy day 17.821
25SELECT * FROM diaries WHERE temperature BETWEEN "14.213" AND "17.821";
26id title temperature
272 rainy day 14.213
283 cloudy day 17.821
29DROP TABLE diaries;
030
=== added file 'mysql-test/suite/mroonga_storage/r/column_decimal_with_fractional_seconds_without_index.result'
--- mysql-test/suite/mroonga_storage/r/column_decimal_with_fractional_seconds_without_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_decimal_with_fractional_seconds_without_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,27 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5temperature DECIMAL(6, 3)
6) DEFAULT CHARSET UTF8;
7SHOW CREATE TABLE diaries;
8Table Create Table
9diaries CREATE TABLE `diaries` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `title` text,
12 `temperature` decimal(6,3) DEFAULT NULL,
13 PRIMARY KEY (`id`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15INSERT INTO diaries (title, temperature) VALUES ("clear day", 21.281);
16INSERT INTO diaries (title, temperature) VALUES ("rainy day", 14.213);
17INSERT INTO diaries (title, temperature) VALUES ("cloudy day", 17.821);
18SELECT * FROM diaries;
19id title temperature
201 clear day 21.281
212 rainy day 14.213
223 cloudy day 17.821
23SELECT * FROM diaries WHERE temperature BETWEEN "14.213" AND "17.821";
24id title temperature
252 rainy day 14.213
263 cloudy day 17.821
27DROP TABLE diaries;
028
=== added file 'mysql-test/suite/mroonga_storage/r/column_decimal_without_fractional_seconds_with_index.result'
--- mysql-test/suite/mroonga_storage/r/column_decimal_without_fractional_seconds_with_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_decimal_without_fractional_seconds_with_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,29 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5temperature DECIMAL,
6KEY (temperature)
7) DEFAULT CHARSET UTF8;
8SHOW CREATE TABLE diaries;
9Table Create Table
10diaries CREATE TABLE `diaries` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `title` text,
13 `temperature` decimal(10,0) DEFAULT NULL,
14 PRIMARY KEY (`id`),
15 KEY `temperature` (`temperature`)
16) ENGINE=mroonga DEFAULT CHARSET=utf8
17INSERT INTO diaries (title, temperature) VALUES ("clear day", 21);
18INSERT INTO diaries (title, temperature) VALUES ("rainy day", 14);
19INSERT INTO diaries (title, temperature) VALUES ("cloudy day", 17);
20SELECT * FROM diaries;
21id title temperature
221 clear day 21
232 rainy day 14
243 cloudy day 17
25SELECT * FROM diaries WHERE temperature BETWEEN "14" AND "17";
26id title temperature
272 rainy day 14
283 cloudy day 17
29DROP TABLE diaries;
030
=== added file 'mysql-test/suite/mroonga_storage/r/column_decimal_without_fractional_seconds_without_index.result'
--- mysql-test/suite/mroonga_storage/r/column_decimal_without_fractional_seconds_without_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_decimal_without_fractional_seconds_without_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,27 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5temperature DECIMAL
6) DEFAULT CHARSET UTF8;
7SHOW CREATE TABLE diaries;
8Table Create Table
9diaries CREATE TABLE `diaries` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `title` text,
12 `temperature` decimal(10,0) DEFAULT NULL,
13 PRIMARY KEY (`id`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15INSERT INTO diaries (title, temperature) VALUES ("clear day", 21);
16INSERT INTO diaries (title, temperature) VALUES ("rainy day", 14);
17INSERT INTO diaries (title, temperature) VALUES ("cloudy day", 17);
18SELECT * FROM diaries;
19id title temperature
201 clear day 21
212 rainy day 14
223 cloudy day 17
23SELECT * FROM diaries WHERE temperature BETWEEN "14" AND "17";
24id title temperature
252 rainy day 14
263 cloudy day 17
27DROP TABLE diaries;
028
=== added file 'mysql-test/suite/mroonga_storage/r/column_enum_less_with_index.result'
--- mysql-test/suite/mroonga_storage/r/column_enum_less_with_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_enum_less_with_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,28 @@
1DROP TABLE IF EXISTS items;
2CREATE TABLE items (
3name VARCHAR(255),
4size ENUM("small", "medium", "large"),
5INDEX (size)
6) ENGINE=mroonga DEFAULT CHARSET=utf8;
7SHOW CREATE TABLE items;
8Table Create Table
9items CREATE TABLE `items` (
10 `name` varchar(255) DEFAULT NULL,
11 `size` enum('small','medium','large') DEFAULT NULL,
12 KEY `size` (`size`)
13) ENGINE=mroonga DEFAULT CHARSET=utf8
14INSERT INTO items VALUES ("t-shart for child", "small");
15INSERT INTO items VALUES ("leadies' coat", "medium");
16INSERT INTO items VALUES ("parka", "large");
17INSERT INTO items VALUES ("hat", "medium");
18SELECT * FROM items;
19name size
20t-shart for child small
21leadies' coat medium
22parka large
23hat medium
24SELECT * FROM items WHERE size = "medium";
25name size
26leadies' coat medium
27hat medium
28DROP TABLE items;
029
=== added file 'mysql-test/suite/mroonga_storage/r/column_enum_many_with_index.result'
--- mysql-test/suite/mroonga_storage/r/column_enum_many_with_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_enum_many_with_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,287 @@
1DROP TABLE IF EXISTS items;
2CREATE TABLE items (
3name VARCHAR(255),
4size ENUM("size1",
5"size2",
6"size3",
7"size4",
8"size5",
9"size6",
10"size7",
11"size8",
12"size9",
13"size10",
14"size11",
15"size12",
16"size13",
17"size14",
18"size15",
19"size16",
20"size17",
21"size18",
22"size19",
23"size20",
24"size21",
25"size22",
26"size23",
27"size24",
28"size25",
29"size26",
30"size27",
31"size28",
32"size29",
33"size30",
34"size31",
35"size32",
36"size33",
37"size34",
38"size35",
39"size36",
40"size37",
41"size38",
42"size39",
43"size40",
44"size41",
45"size42",
46"size43",
47"size44",
48"size45",
49"size46",
50"size47",
51"size48",
52"size49",
53"size50",
54"size51",
55"size52",
56"size53",
57"size54",
58"size55",
59"size56",
60"size57",
61"size58",
62"size59",
63"size60",
64"size61",
65"size62",
66"size63",
67"size64",
68"size65",
69"size66",
70"size67",
71"size68",
72"size69",
73"size70",
74"size71",
75"size72",
76"size73",
77"size74",
78"size75",
79"size76",
80"size77",
81"size78",
82"size79",
83"size80",
84"size81",
85"size82",
86"size83",
87"size84",
88"size85",
89"size86",
90"size87",
91"size88",
92"size89",
93"size90",
94"size91",
95"size92",
96"size93",
97"size94",
98"size95",
99"size96",
100"size97",
101"size98",
102"size99",
103"size100",
104"size101",
105"size102",
106"size103",
107"size104",
108"size105",
109"size106",
110"size107",
111"size108",
112"size109",
113"size110",
114"size111",
115"size112",
116"size113",
117"size114",
118"size115",
119"size116",
120"size117",
121"size118",
122"size119",
123"size120",
124"size121",
125"size122",
126"size123",
127"size124",
128"size125",
129"size126",
130"size127",
131"size128",
132"size129",
133"size130",
134"size131",
135"size132",
136"size133",
137"size134",
138"size135",
139"size136",
140"size137",
141"size138",
142"size139",
143"size140",
144"size141",
145"size142",
146"size143",
147"size144",
148"size145",
149"size146",
150"size147",
151"size148",
152"size149",
153"size150",
154"size151",
155"size152",
156"size153",
157"size154",
158"size155",
159"size156",
160"size157",
161"size158",
162"size159",
163"size160",
164"size161",
165"size162",
166"size163",
167"size164",
168"size165",
169"size166",
170"size167",
171"size168",
172"size169",
173"size170",
174"size171",
175"size172",
176"size173",
177"size174",
178"size175",
179"size176",
180"size177",
181"size178",
182"size179",
183"size180",
184"size181",
185"size182",
186"size183",
187"size184",
188"size185",
189"size186",
190"size187",
191"size188",
192"size189",
193"size190",
194"size191",
195"size192",
196"size193",
197"size194",
198"size195",
199"size196",
200"size197",
201"size198",
202"size199",
203"size200",
204"size201",
205"size202",
206"size203",
207"size204",
208"size205",
209"size206",
210"size207",
211"size208",
212"size209",
213"size210",
214"size211",
215"size212",
216"size213",
217"size214",
218"size215",
219"size216",
220"size217",
221"size218",
222"size219",
223"size220",
224"size221",
225"size222",
226"size223",
227"size224",
228"size225",
229"size226",
230"size227",
231"size228",
232"size229",
233"size230",
234"size231",
235"size232",
236"size233",
237"size234",
238"size235",
239"size236",
240"size237",
241"size238",
242"size239",
243"size240",
244"size241",
245"size242",
246"size243",
247"size244",
248"size245",
249"size246",
250"size247",
251"size248",
252"size249",
253"size250",
254"size251",
255"size252",
256"size253",
257"size254",
258"size255",
259"size256"),
260INDEX (size)
261) ENGINE=mroonga DEFAULT CHARSET=utf8;
262SHOW CREATE TABLE items;
263Table Create Table
264items CREATE TABLE `items` (
265 `name` varchar(255) DEFAULT NULL,
266 `size` enum('size1','size2','size3','size4','size5','size6','size7','size8','size9','size10','size11','size12','size13','size14','size15','size16','size17','size18','size19','size20','size21','size22','size23','size24','size25','size26','size27','size28','size29','size30','size31','size32','size33','size34','size35','size36','size37','size38','size39','size40','size41','size42','size43','size44','size45','size46','size47','size48','size49','size50','size51','size52','size53','size54','size55','size56','size57','size58','size59','size60','size61','size62','size63','size64','size65','size66','size67','size68','size69','size70','size71','size72','size73','size74','size75','size76','size77','size78','size79','size80','size81','size82','size83','size84','size85','size86','size87','size88','size89','size90','size91','size92','size93','size94','size95','size96','size97','size98','size99','size100','size101','size102','size103','size104','size105','size106','size107','size108','size109','size110','size111','size112','size113','size114','size115','size116','size117','size118','size119','size120','size121','size122','size123','size124','size125','size126','size127','size128','size129','size130','size131','size132','size133','size134','size135','size136','size137','size138','size139','size140','size141','size142','size143','size144','size145','size146','size147','size148','size149','size150','size151','size152','size153','size154','size155','size156','size157','size158','size159','size160','size161','size162','size163','size164','size165','size166','size167','size168','size169','size170','size171','size172','size173','size174','size175','size176','size177','size178','size179','size180','size181','size182','size183','size184','size185','size186','size187','size188','size189','size190','size191','size192','size193','size194','size195','size196','size197','size198','size199','size200','size201','size202','size203','size204','size205','size206','size207','size208','size209','size210','size211','size212','size213','size214','size215','size216','size217','size218','size219','size220','size221','size222','size223','size224','size225','size226','size227','size228','size229','size230','size231','size232','size233','size234','size235','size236','size237','size238','size239','size240','size241','size242','size243','size244','size245','size246','size247','size248','size249','size250','size251','size252','size253','size254','size255','size256') DEFAULT NULL,
267 KEY `size` (`size`)
268) ENGINE=mroonga DEFAULT CHARSET=utf8
269INSERT INTO items VALUES ("t-shart for child", "size1");
270INSERT INTO items VALUES ("leadies' coat", "size1");
271INSERT INTO items VALUES ("parka", "size256");
272INSERT INTO items VALUES ("hat", "size256");
273SELECT * FROM items;
274name size
275t-shart for child size1
276leadies' coat size1
277parka size256
278hat size256
279SELECT * FROM items WHERE size = "size1";
280name size
281t-shart for child size1
282leadies' coat size1
283SELECT * FROM items WHERE size = "size256";
284name size
285parka size256
286hat size256
287DROP TABLE items;
0288
=== added file 'mysql-test/suite/mroonga_storage/r/column_int_with_index_zero_value.result'
--- mysql-test/suite/mroonga_storage/r/column_int_with_index_zero_value.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_int_with_index_zero_value.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,21 @@
1DROP TABLE IF EXISTS items;
2CREATE TABLE items (
3name VARCHAR(255),
4price INT KEY
5) ENGINE=mroonga DEFAULT CHARSET=utf8;
6INSERT INTO items VALUES ("hamburger", 200);
7INSERT INTO items VALUES ("smile", 0);
8INSERT INTO items VALUES ("coke", 100);
9SELECT * FROM items;
10name price
11smile 0
12coke 100
13hamburger 200
14SELECT * FROM items WHERE price = 0;
15name price
16smile 0
17SELECT * FROM items WHERE price <= 100;
18name price
19smile 0
20coke 100
21DROP TABLE items;
022
=== added file 'mysql-test/suite/mroonga_storage/r/column_time_with_fractional_seconds.result'
--- mysql-test/suite/mroonga_storage/r/column_time_with_fractional_seconds.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_time_with_fractional_seconds.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,40 @@
1DROP TABLE IF EXISTS running_records;
2CREATE TABLE running_records (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5average TIME(6),
6max TIME(6),
7KEY (average)
8) DEFAULT CHARSET UTF8;
9SHOW CREATE TABLE running_records;
10Table Create Table
11running_records CREATE TABLE `running_records` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `title` text,
14 `average` time(6) DEFAULT NULL,
15 `max` time(6) DEFAULT NULL,
16 PRIMARY KEY (`id`),
17 KEY `average` (`average`)
18) ENGINE=mroonga DEFAULT CHARSET=utf8
19INSERT INTO running_records (title, average, max)
20VALUES ("normal condition", "01:00:00.000001", "01:05:00.000001");
21INSERT INTO running_records (title, average, max)
22VALUES ("bad condition", "12:23:34.123456", "838:59:58.999999");
23INSERT INTO running_records (title, average, max)
24VALUES ("record failure", "-838:59:59.000000", "-838:59:59.000000");
25SELECT * FROM running_records;
26id title average max
271 normal condition 01:00:00.000001 01:05:00.000001
282 bad condition 12:23:34.123456 838:59:58.999999
293 record failure -838:59:59.000000 -838:59:59.000000
30SELECT * FROM running_records
31WHERE average BETWEEN "00:59:59.999999" AND "100:10:10.101010";
32id title average max
331 normal condition 01:00:00.000001 01:05:00.000001
342 bad condition 12:23:34.123456 838:59:58.999999
35SELECT * FROM running_records
36WHERE average BETWEEN "-838:59:59.000000" AND "01:00:00.000001";
37id title average max
383 record failure -838:59:59.000000 -838:59:59.000000
391 normal condition 01:00:00.000001 01:05:00.000001
40DROP TABLE running_records;
041
=== added file 'mysql-test/suite/mroonga_storage/r/column_time_without_fractional_seconds.result'
--- mysql-test/suite/mroonga_storage/r/column_time_without_fractional_seconds.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_time_without_fractional_seconds.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,40 @@
1DROP TABLE IF EXISTS running_records;
2CREATE TABLE running_records (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5average TIME,
6max TIME,
7KEY (average)
8) DEFAULT CHARSET UTF8;
9SHOW CREATE TABLE running_records;
10Table Create Table
11running_records CREATE TABLE `running_records` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `title` text,
14 `average` time DEFAULT NULL,
15 `max` time DEFAULT NULL,
16 PRIMARY KEY (`id`),
17 KEY `average` (`average`)
18) ENGINE=mroonga DEFAULT CHARSET=utf8
19INSERT INTO running_records (title, average, max)
20VALUES ("normal condition", "01:00:00", "01:05:00");
21INSERT INTO running_records (title, average, max)
22VALUES ("bad condition", "12:23:34", "838:59:59");
23INSERT INTO running_records (title, average, max)
24VALUES ("record failure", "-838:59:59", "-838:59:59");
25SELECT * FROM running_records;
26id title average max
271 normal condition 01:00:00 01:05:00
282 bad condition 12:23:34 838:59:59
293 record failure -838:59:59 -838:59:59
30SELECT * FROM running_records
31WHERE average BETWEEN "00:59:59" AND "100:10:10";
32id title average max
331 normal condition 01:00:00 01:05:00
342 bad condition 12:23:34 838:59:59
35SELECT * FROM running_records
36WHERE average BETWEEN "-838:59:59" AND "01:00:00";
37id title average max
383 record failure -838:59:59 -838:59:59
391 normal condition 01:00:00 01:05:00
40DROP TABLE running_records;
041
=== added file 'mysql-test/suite/mroonga_storage/r/column_timestamp_with_fractional_seconds.result'
--- mysql-test/suite/mroonga_storage/r/column_timestamp_with_fractional_seconds.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_timestamp_with_fractional_seconds.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,42 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5created_at TIMESTAMP(6),
6updated_at TIMESTAMP(6),
7KEY (updated_at)
8) DEFAULT CHARSET UTF8;
9SHOW CREATE TABLE diaries;
10Table Create Table
11diaries CREATE TABLE `diaries` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `title` text,
14 `created_at` timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
15 `updated_at` timestamp(6) NOT NULL DEFAULT '0000-00-00 00:00:00.000000',
16 PRIMARY KEY (`id`),
17 KEY `updated_at` (`updated_at`)
18) ENGINE=mroonga DEFAULT CHARSET=utf8
19INSERT INTO diaries (title, created_at, updated_at)
20VALUES ("clear day",
21"2012-01-29 21:51:01.111111",
22"2012-01-29 21:51:02.222222");
23INSERT INTO diaries (title, created_at, updated_at)
24VALUES ("rainy day",
25"2012-01-30 01:23:45.333",
26"2012-01-30 01:23:46.444");
27INSERT INTO diaries (title, created_at, updated_at)
28VALUES ("cloudy day",
29"2012-01-31 08:32:10.5555",
30"2012-01-31 08:32:11.6666");
31SELECT * FROM diaries;
32id title created_at updated_at
331 clear day 2012-01-29 21:51:01.111111 2012-01-29 21:51:02.222222
342 rainy day 2012-01-30 01:23:45.333000 2012-01-30 01:23:46.444000
353 cloudy day 2012-01-31 08:32:10.555500 2012-01-31 08:32:11.666600
36SELECT * FROM diaries
37WHERE updated_at BETWEEN "2012-01-29 00:00:00.123456" AND
38"2012-01-31 00:00:00.999999";
39id title created_at updated_at
401 clear day 2012-01-29 21:51:01.111111 2012-01-29 21:51:02.222222
412 rainy day 2012-01-30 01:23:45.333000 2012-01-30 01:23:46.444000
42DROP TABLE diaries;
043
=== added file 'mysql-test/suite/mroonga_storage/r/column_timestamp_without_fractional_seconds.result'
--- mysql-test/suite/mroonga_storage/r/column_timestamp_without_fractional_seconds.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_timestamp_without_fractional_seconds.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,35 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5created_at TIMESTAMP,
6updated_at TIMESTAMP,
7KEY (updated_at)
8) DEFAULT CHARSET UTF8;
9SHOW CREATE TABLE diaries;
10Table Create Table
11diaries CREATE TABLE `diaries` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `title` text,
14 `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
15 `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
16 PRIMARY KEY (`id`),
17 KEY `updated_at` (`updated_at`)
18) ENGINE=mroonga DEFAULT CHARSET=utf8
19INSERT INTO diaries (title, created_at, updated_at)
20VALUES ("clear day", "2012-01-29 21:51:01", "2012-01-29 21:51:02");
21INSERT INTO diaries (title, created_at, updated_at)
22VALUES ("rainy day", "2012-01-30 01:23:45", "2012-01-30 01:23:46");
23INSERT INTO diaries (title, created_at, updated_at)
24VALUES ("cloudy day", "2012-01-31 08:32:10", "2012-01-31 08:32:11");
25SELECT * FROM diaries;
26id title created_at updated_at
271 clear day 2012-01-29 21:51:01 2012-01-29 21:51:02
282 rainy day 2012-01-30 01:23:45 2012-01-30 01:23:46
293 cloudy day 2012-01-31 08:32:10 2012-01-31 08:32:11
30SELECT * FROM diaries
31WHERE updated_at BETWEEN "2012-01-29 00:00:00" AND "2012-01-31 00:00:00";
32id title created_at updated_at
331 clear day 2012-01-29 21:51:01 2012-01-29 21:51:02
342 rainy day 2012-01-30 01:23:45 2012-01-30 01:23:46
35DROP TABLE diaries;
036
=== added file 'mysql-test/suite/mroonga_storage/r/column_year_with_index.result'
--- mysql-test/suite/mroonga_storage/r/column_year_with_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_year_with_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,37 @@
1DROP TABLE IF EXISTS aniversary_memos;
2CREATE TABLE aniversary_memos (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5party_year YEAR,
6KEY (party_year)
7) DEFAULT CHARSET UTF8;
8SHOW CREATE TABLE aniversary_memos;
9Table Create Table
10aniversary_memos CREATE TABLE `aniversary_memos` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `title` text,
13 `party_year` year(4) DEFAULT NULL,
14 PRIMARY KEY (`id`),
15 KEY `party_year` (`party_year`)
16) ENGINE=mroonga DEFAULT CHARSET=utf8
17INSERT INTO aniversary_memos (title, party_year)
18VALUES ("We need a big cake!", "11");
19INSERT INTO aniversary_memos (title, party_year)
20VALUES ("Invitations are sent.", "2012");
21INSERT INTO aniversary_memos (title, party_year)
22VALUES ("Tommorow is the anniversary party day!", "2012");
23INSERT INTO aniversary_memos (title, party_year)
24VALUES ("Wow! Today is the anniversary party day!", "13");
25SELECT * FROM aniversary_memos;
26id title party_year
271 We need a big cake! 2011
282 Invitations are sent. 2012
293 Tommorow is the anniversary party day! 2012
304 Wow! Today is the anniversary party day! 2013
31SELECT * FROM aniversary_memos
32WHERE party_year BETWEEN "12" AND "2013";
33id title party_year
342 Invitations are sent. 2012
353 Tommorow is the anniversary party day! 2012
364 Wow! Today is the anniversary party day! 2013
37DROP TABLE aniversary_memos;
038
=== added file 'mysql-test/suite/mroonga_storage/r/column_year_without_index.result'
--- mysql-test/suite/mroonga_storage/r/column_year_without_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/column_year_without_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,35 @@
1DROP TABLE IF EXISTS aniversary_memos;
2CREATE TABLE aniversary_memos (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5party_year YEAR
6) DEFAULT CHARSET UTF8;
7SHOW CREATE TABLE aniversary_memos;
8Table Create Table
9aniversary_memos CREATE TABLE `aniversary_memos` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `title` text,
12 `party_year` year(4) DEFAULT NULL,
13 PRIMARY KEY (`id`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15INSERT INTO aniversary_memos (title, party_year)
16VALUES ("We need a big cake!", "11");
17INSERT INTO aniversary_memos (title, party_year)
18VALUES ("Invitations are sent.", "2012");
19INSERT INTO aniversary_memos (title, party_year)
20VALUES ("Tommorow is the anniversary party day!", "2012");
21INSERT INTO aniversary_memos (title, party_year)
22VALUES ("Wow! Today is the anniversary party day!", "13");
23SELECT * FROM aniversary_memos;
24id title party_year
251 We need a big cake! 2011
262 Invitations are sent. 2012
273 Tommorow is the anniversary party day! 2012
284 Wow! Today is the anniversary party day! 2013
29SELECT * FROM aniversary_memos
30WHERE party_year BETWEEN "12" AND "2013";
31id title party_year
322 Invitations are sent. 2012
333 Tommorow is the anniversary party day! 2012
344 Wow! Today is the anniversary party day! 2013
35DROP TABLE aniversary_memos;
036
=== added file 'mysql-test/suite/mroonga_storage/r/create_database_name_slash.result'
--- mysql-test/suite/mroonga_storage/r/create_database_name_slash.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/create_database_name_slash.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,33 @@
1DROP DATABASE IF EXISTS `master/production`;
2DROP DATABASE IF EXISTS `master/development`;
3CREATE DATABASE `master/production`;
4USE `master/production`;
5CREATE TABLE diaries (
6id INT PRIMARY KEY AUTO_INCREMENT,
7title TEXT
8) DEFAULT CHARSET=UTF8;
9INSERT INTO diaries (title) VALUES ("clear day (production)");
10INSERT INTO diaries (title) VALUES ("rainy day (production)");
11INSERT INTO diaries (title) VALUES ("cloudy day (production)");
12SELECT * FROM diaries;
13id title
141 clear day (production)
152 rainy day (production)
163 cloudy day (production)
17CREATE DATABASE `master/development`;
18USE `master/development`;
19CREATE TABLE diaries (
20id INT PRIMARY KEY AUTO_INCREMENT,
21title TEXT
22) DEFAULT CHARSET=UTF8;
23INSERT INTO diaries (title) VALUES ("clear day (development)");
24INSERT INTO diaries (title) VALUES ("rainy day (development)");
25INSERT INTO diaries (title) VALUES ("cloudy day (development)");
26SELECT * FROM diaries;
27id title
281 clear day (development)
292 rainy day (development)
303 cloudy day (development)
31USE test;
32DROP DATABASE `master/production`;
33DROP DATABASE `master/development`;
034
=== added file 'mysql-test/suite/mroonga_storage/r/create_table.result'
--- mysql-test/suite/mroonga_storage/r/create_table.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/create_table.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,172 @@
1drop table if exists t1, t2, t3;
2create table t1 (c1 int);
3create table t2 (c1 int);
4create table t3 (c1 int);
5drop table t1,t2,t3;
6create table t1 (c1 int, c2 int, c3 int);
7create table t2 (c1 int primary key, c2 int, c3 int);
8drop table t1,t2;
9create table t1 (c1 bit);
10desc t1;
11Field Type Null Key Default Extra
12c1 bit(1) YES NULL
13drop table t1;
14create table t1 (c1 tinyint);
15desc t1;
16Field Type Null Key Default Extra
17c1 tinyint(4) YES NULL
18drop table t1;
19create table t1 (c1 smallint);
20desc t1;
21Field Type Null Key Default Extra
22c1 smallint(6) YES NULL
23drop table t1;
24create table t1 (c1 mediumint);
25desc t1;
26Field Type Null Key Default Extra
27c1 mediumint(9) YES NULL
28drop table t1;
29create table t1 (c1 int);
30desc t1;
31Field Type Null Key Default Extra
32c1 int(11) YES NULL
33drop table t1;
34create table t1 (c1 bigint);
35desc t1;
36Field Type Null Key Default Extra
37c1 bigint(20) YES NULL
38drop table t1;
39create table t1 (c1 double);
40desc t1;
41Field Type Null Key Default Extra
42c1 double YES NULL
43drop table t1;
44create table t1 (c1 float);
45desc t1;
46Field Type Null Key Default Extra
47c1 float YES NULL
48drop table t1;
49create table t1 (c1 decimal);
50desc t1;
51Field Type Null Key Default Extra
52c1 decimal(10,0) YES NULL
53drop table t1;
54create table t1 (c1 date);
55desc t1;
56Field Type Null Key Default Extra
57c1 date YES NULL
58drop table t1;
59create table t1 (c1 time);
60desc t1;
61Field Type Null Key Default Extra
62c1 time YES NULL
63drop table t1;
64create table t1 (c1 timestamp);
65desc t1;
66Field Type Null Key Default Extra
67c1 timestamp NO CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
68drop table t1;
69create table t1 (c1 datetime);
70desc t1;
71Field Type Null Key Default Extra
72c1 datetime YES NULL
73drop table t1;
74create table t1 (c1 year);
75desc t1;
76Field Type Null Key Default Extra
77c1 year(4) YES NULL
78drop table t1;
79create table t1 (c1 char(10));
80desc t1;
81Field Type Null Key Default Extra
82c1 char(10) YES NULL
83drop table t1;
84create table t1 (c1 varchar(10));
85desc t1;
86Field Type Null Key Default Extra
87c1 varchar(10) YES NULL
88drop table t1;
89create table t1 (c1 binary(10));
90desc t1;
91Field Type Null Key Default Extra
92c1 binary(10) YES NULL
93drop table t1;
94create table t1 (c1 varbinary(10));
95desc t1;
96Field Type Null Key Default Extra
97c1 varbinary(10) YES NULL
98drop table t1;
99create table t1 (c1 tinyblob);
100desc t1;
101Field Type Null Key Default Extra
102c1 tinyblob YES NULL
103drop table t1;
104create table t1 (c1 blob);
105desc t1;
106Field Type Null Key Default Extra
107c1 blob YES NULL
108drop table t1;
109create table t1 (c1 mediumblob);
110desc t1;
111Field Type Null Key Default Extra
112c1 mediumblob YES NULL
113drop table t1;
114create table t1 (c1 longblob);
115desc t1;
116Field Type Null Key Default Extra
117c1 longblob YES NULL
118drop table t1;
119create table t1 (c1 tinytext);
120desc t1;
121Field Type Null Key Default Extra
122c1 tinytext YES NULL
123drop table t1;
124create table t1 (c1 text);
125desc t1;
126Field Type Null Key Default Extra
127c1 text YES NULL
128drop table t1;
129create table t1 (c1 mediumtext);
130desc t1;
131Field Type Null Key Default Extra
132c1 mediumtext YES NULL
133drop table t1;
134create table t1 (c1 longtext);
135desc t1;
136Field Type Null Key Default Extra
137c1 longtext YES NULL
138drop table t1;
139create table t1 (c1 enum("yes","no"));
140desc t1;
141Field Type Null Key Default Extra
142c1 enum('yes','no') YES NULL
143drop table t1;
144create table t1 (c1 set("A","B","AB","O"));
145desc t1;
146Field Type Null Key Default Extra
147c1 set('A','B','AB','O') YES NULL
148drop table t1;
149create table t1 (c1 int, `_id` int) engine = mroonga;
150desc t1;
151Field Type Null Key Default Extra
152c1 int(11) YES NULL
153_id int(11) YES NULL
154drop table t1;
155create table t1 (c1 int, `_score` float) engine = mroonga;
156ERROR HY000: [column][create] name can't start with '_' and contains only 0-9, A-Z, a-z, #, @, - or _: <_score>
157create table t1 (c1 int, `_id` text) engine = mroonga;
158ERROR HY000: _id must be numeric data type
159create table t1 (c1 int, `_id` int, index(`_id`)) engine = mroonga;
160ERROR HY000: only hash index can be defined for _id
161create table t1 (_id int, c1 int, primary key (_id));
162ERROR HY000: only hash index can be defined for _id
163create table t1 (_id int, c1 int, primary key (_id) using hash);
164drop table t1;
165create table t1 (_id int, c1 int, unique key (_id));
166ERROR HY000: only hash index can be defined for _id
167create table t1 (_id int, c1 int, unique key (_id) using hash);
168drop table t1;
169create table t1 (_id int, c1 int, key (_id));
170ERROR HY000: only hash index can be defined for _id
171create table t1 (_id int, c1 int, key (_id) using hash);
172drop table t1;
0173
=== added file 'mysql-test/suite/mroonga_storage/r/delete_fulltext_column.result'
--- mysql-test/suite/mroonga_storage/r/delete_fulltext_column.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/delete_fulltext_column.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,21 @@
1drop table if exists t1, t2, t3;
2create table t1 (c1 int primary key, c2 text, fulltext index (c2));
3insert into t1 values(10, "aa ii uu ee");
4insert into t1 values(20, "ka ki ku ke");
5insert into t1 values(30, "sa si su se");
6select * from t1;
7c1 c2
810 aa ii uu ee
920 ka ki ku ke
1030 sa si su se
11select * from t1 where match(c2) against("ki");
12c1 c2
1320 ka ki ku ke
14delete from t1 where c1=20;
15select * from t1;
16c1 c2
1710 aa ii uu ee
1830 sa si su se
19select * from t1 where match(c2) against("ki");
20c1 c2
21drop table t1;
022
=== added file 'mysql-test/suite/mroonga_storage/r/delete_id_index_hash_no_unique.result'
--- mysql-test/suite/mroonga_storage/r/delete_id_index_hash_no_unique.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/delete_id_index_hash_no_unique.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,19 @@
1drop table if exists t1, t2, t3;
2create table t1 (_id int, c1 int, key (_id) using hash);
3insert into t1 values(null, 100);
4insert into t1 values(null, 100);
5insert into t1 values(null, 100);
6insert into t1 values(null, 100);
7select * from t1;
8_id c1
91 100
102 100
113 100
124 100
13delete from t1 where _id = 2;
14select * from t1;
15_id c1
161 100
173 100
184 100
19drop table t1;
020
=== added file 'mysql-test/suite/mroonga_storage/r/delete_id_index_hash_unique.result'
--- mysql-test/suite/mroonga_storage/r/delete_id_index_hash_unique.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/delete_id_index_hash_unique.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,19 @@
1drop table if exists t1, t2, t3;
2create table t1 (_id int, c1 int, unique key (_id) using hash);
3insert into t1 values(null, 100);
4insert into t1 values(null, 100);
5insert into t1 values(null, 100);
6insert into t1 values(null, 100);
7select * from t1;
8_id c1
91 100
102 100
113 100
124 100
13delete from t1 where _id = 2;
14select * from t1;
15_id c1
161 100
173 100
184 100
19drop table t1;
020
=== added file 'mysql-test/suite/mroonga_storage/r/delete_normal_column.result'
--- mysql-test/suite/mroonga_storage/r/delete_normal_column.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/delete_normal_column.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,34 @@
1drop table if exists t1, t2, t3;
2create table t1 (c1 int, c2 int);
3show create table t1;
4Table Create Table
5t1 CREATE TABLE `t1` (
6 `c1` int(11) DEFAULT NULL,
7 `c2` int(11) DEFAULT NULL
8) ENGINE=mroonga DEFAULT CHARSET=latin1
9insert into t1 values (1, 100);
10insert into t1 values (2, 101);
11insert into t1 values (3, 102);
12insert into t1 values (4, 102);
13select * from t1;
14c1 c2
151 100
162 101
173 102
184 102
19delete from t1 where c1=3;
20select * from t1;
21c1 c2
221 100
232 101
244 102
25flush tables;
26delete from t1 where c1=2;
27select * from t1;
28c1 c2
291 100
304 102
31delete from t1;
32select * from t1;
33c1 c2
34drop table t1;
035
=== added file 'mysql-test/suite/mroonga_storage/r/drop_database.result'
--- mysql-test/suite/mroonga_storage/r/drop_database.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/drop_database.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,14 @@
1drop database if exists groonga;
2create database groonga;
3drop database groonga;
4create database groonga;
5use groonga;
6create table t1 (c1 int primary key, c2 varchar(255)) default charset utf8;
7create table t2 (c1 int primary key, c2 varchar(255)) default charset utf8;
8drop database groonga;
9create database groonga;
10use groonga;
11create table t1 (c1 int primary key, c2 varchar(255)) default charset utf8;
12create table t2 (c1 int primary key, c2 varchar(255)) default charset utf8;
13drop table t1, t2;
14drop database groonga;
015
=== added file 'mysql-test/suite/mroonga_storage/r/drop_table.result'
--- mysql-test/suite/mroonga_storage/r/drop_table.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/drop_table.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,5 @@
1drop table if exists alphabet, `with-hyphen`;
2create table alphabet (c1 int primary key, c2 int, c3 int);
3drop table alphabet;
4create table `with-hyphen` (c1 int primary key, c2 int, c3 int);
5drop table `with-hyphen`;
06
=== added file 'mysql-test/suite/mroonga_storage/r/dry_write_delete.result'
--- mysql-test/suite/mroonga_storage/r/dry_write_delete.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/dry_write_delete.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,28 @@
1drop table if exists diaries;
2create table diaries (
3id int primary key auto_increment,
4body text,
5fulltext index body_index (body)
6) default charset utf8;
7show create table diaries;
8Table Create Table
9diaries CREATE TABLE `diaries` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `body` text,
12 PRIMARY KEY (`id`),
13 FULLTEXT KEY `body_index` (`body`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15insert into diaries (body) values ("will start groonga!");
16select * from diaries;
17id body
181 will start groonga!
19set mroonga_dry_write=true;
20delete from diaries where id = 1;
21select * from diaries;
22id body
231 will start groonga!
24set mroonga_dry_write=false;
25delete from diaries where id = 1;
26select * from diaries;
27id body
28drop table diaries;
029
=== added file 'mysql-test/suite/mroonga_storage/r/dry_write_insert.result'
--- mysql-test/suite/mroonga_storage/r/dry_write_insert.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/dry_write_insert.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,30 @@
1drop table if exists diaries;
2create table diaries (
3id int primary key auto_increment,
4body text,
5fulltext index body_index (body)
6) default charset utf8;
7show create table diaries;
8Table Create Table
9diaries CREATE TABLE `diaries` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `body` text,
12 PRIMARY KEY (`id`),
13 FULLTEXT KEY `body_index` (`body`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15insert into diaries (body) values ("will start groonga!");
16select * from diaries;
17id body
181 will start groonga!
19set mroonga_dry_write=true;
20insert into diaries (body) values ("starting groonga...");
21select * from diaries;
22id body
231 will start groonga!
24set mroonga_dry_write=false;
25insert into diaries (body) values ("started groonga.");
26select * from diaries;
27id body
281 will start groonga!
292 started groonga.
30drop table diaries;
031
=== added file 'mysql-test/suite/mroonga_storage/r/dry_write_update.result'
--- mysql-test/suite/mroonga_storage/r/dry_write_update.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/dry_write_update.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,26 @@
1drop table if exists diaries;
2create table diaries (
3id int primary key auto_increment,
4body text,
5fulltext index body_index (body)
6) default charset utf8;
7show create table diaries;
8Table Create Table
9diaries CREATE TABLE `diaries` (
10 `id` int(11) NOT NULL AUTO_INCREMENT,
11 `body` text,
12 PRIMARY KEY (`id`),
13 FULLTEXT KEY `body_index` (`body`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15insert into diaries (body) values ("will start groonga!");
16set mroonga_dry_write=true;
17update diaries set body = "starting groonga..." where id = 1;
18select * from diaries;
19id body
201 will start groonga!
21set mroonga_dry_write=false;
22update diaries set body = "starting groonga..." where id = 1;
23select * from diaries;
24id body
251 starting groonga...
26drop table diaries;
027
=== added file 'mysql-test/suite/mroonga_storage/r/flush_logs.result'
--- mysql-test/suite/mroonga_storage/r/flush_logs.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/flush_logs.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,1 @@
1flush logs;
02
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_boolean_mode_pragma_default_operator.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_boolean_mode_pragma_default_operator.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_boolean_mode_pragma_default_operator.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,45 @@
1drop table if exists diaries;
2set names utf8;
3create table diaries (
4id int primary key,
5title varchar(255),
6content text,
7fulltext index (content)
8) default charset utf8;
9show create table diaries;
10Table Create Table
11diaries CREATE TABLE `diaries` (
12 `id` int(11) NOT NULL,
13 `title` varchar(255) DEFAULT NULL,
14 `content` text,
15 PRIMARY KEY (`id`),
16 FULLTEXT KEY `content` (`content`)
17) ENGINE=mroonga DEFAULT CHARSET=utf8
18insert into diaries values(1, "Hello", "今日�ら������。");
19insert into diaries values(2, "天気", "明日�富士山�天気����");
20insert into diaries values(3, "富士山", "今日も天気�よ���れ��見�る。");
21select * from diaries where match(content) against("今日 天気" in boolean mode);
22id title content
231 Hello 今日�ら������。
243 富士山 今日も天気�よ���れ��見�る。
252 天気 明日�富士山�天気����
26select * from diaries where match(content) against("*D+ 今日 天気" in boolean mode);
27id title content
283 富士山 今日も天気�よ���れ��見�る。
29select * from diaries where match(content) against("*D- 今日 天気" in boolean mode);
30id title content
311 Hello 今日�ら������。
323 富士山 今日も天気�よ���れ��見�る。
332 天気 明日�富士山�天気����
34select * from diaries where match(content) against("*D- +今日 +天気" in boolean mode);
35id title content
363 富士山 今日も天気�よ���れ��見�る。
37select * from diaries where match(content) against("*DOR 今日 天気" in boolean mode);
38id title content
391 Hello 今日�ら������。
403 富士山 今日も天気�よ���れ��見�る。
412 天気 明日�富士山�天気����
42select * from diaries where match(content) against("*DOR +今日 +天気" in boolean mode);
43id title content
443 富士山 今日も天気�よ���れ��見�る。
45drop table diaries;
046
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_found_rows.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_found_rows.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_found_rows.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,42 @@
1DROP TABLE IF EXISTS diaries;
2SET NAMES UTF8;
3CREATE TABLE diaries (
4id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
5year INT UNSIGNED,
6month INT UNSIGNED,
7day INT UNSIGNED,
8title VARCHAR(255),
9content TEXT,
10FULLTEXT INDEX(content),
11KEY(day)
12) DEFAULT CHARSET UTF8;
13SHOW CREATE TABLE diaries;
14Table Create Table
15diaries CREATE TABLE `diaries` (
16 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
17 `year` int(10) unsigned DEFAULT NULL,
18 `month` int(10) unsigned DEFAULT NULL,
19 `day` int(10) unsigned DEFAULT NULL,
20 `title` varchar(255) DEFAULT NULL,
21 `content` text,
22 PRIMARY KEY (`id`),
23 KEY `day` (`day`),
24 FULLTEXT KEY `content` (`content`)
25) ENGINE=mroonga DEFAULT CHARSET=utf8
26INSERT INTO diaries VALUES(1, 2011, 11, 9, "Hello", "今日�ら������。");
27INSERT INTO diaries VALUES(2, 2011, 11, 10, "天気", "明日�富士山�天気����");
28INSERT INTO diaries VALUES(3, 2011, 11, 11, "富士山", "今日も天気�よ���れ��見�る。");
29INSERT INTO diaries VALUES(4, 2011, 11, 11, "帰り�", "今日�天気�よ��よ���。");
30INSERT INTO diaries VALUES(5, 2011, 12, 1, "久��り", "天気�悪��ら���留守番。");
31INSERT INTO diaries VALUES(6, 2011, 12, 2, "�雪", "今日�天気�雪�");
32SELECT SQL_CALC_FOUND_ROWS * FROM diaries WHERE MATCH(content) AGAINST("今日 天気" IN BOOLEAN MODE) ORDER BY day LIMIT 0,5;
33id year month day title content
345 2011 12 1 久��り 天気�悪��ら���留守番。
356 2011 12 2 �雪 今日�天気�雪�
361 2011 11 9 Hello 今日�ら������。
372 2011 11 10 天気 明日�富士山�天気����
383 2011 11 11 富士山 今日も天気�よ���れ��見�る。
39SELECT FOUND_ROWS();
40FOUND_ROWS()
416
42DROP TABLE diaries;
043
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_index_recreate.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_index_recreate.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_index_recreate.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,41 @@
1drop table if exists diaries;
2set names utf8;
3create table diaries (
4id int primary key,
5title varchar(255),
6content text,
7fulltext index (title)
8) default charset utf8;
9show create table diaries;
10Table Create Table
11diaries CREATE TABLE `diaries` (
12 `id` int(11) NOT NULL,
13 `title` varchar(255) DEFAULT NULL,
14 `content` text,
15 PRIMARY KEY (`id`),
16 FULLTEXT KEY `title` (`title`)
17) ENGINE=mroonga DEFAULT CHARSET=utf8
18insert into diaries values(1, "Hello", "������。");
19insert into diaries values(2, "天気", "明日�富士山�天気����");
20insert into diaries values(3, "富士山", "今日も�れ�。");
21select * from diaries where match(title) against("富士山");
22id title content
233 富士山 今日も�れ�。
24drop index title on diaries;
25select * from diaries where match(title) against("富士山");
26ERROR HY000: Can't find FULLTEXT index matching the column list
27select * from diaries;
28id title content
291 Hello ������。
302 天気 明日�富士山�天気����
313 富士山 今日も�れ�。
32create fulltext index new_title_index on diaries (title);
33select * from diaries where match(title) against("富士山");
34id title content
353 富士山 今日も�れ�。
36select * from diaries;
37id title content
381 Hello ������。
392 天気 明日�富士山�天気����
403 富士山 今日も�れ�。
41drop table diaries;
042
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_insert_select.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_insert_select.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_insert_select.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,66 @@
1drop table if exists t1, t2, t3;
2create table t1 (c1 int primary key, c2 varchar(100), fulltext index(c2)) default charset utf8;
3create table t2 (c1 int primary key, c2 text, fulltext index(c2)) default charset utf8;
4insert into t1 values (1, "aa ii uu ee oo");
5insert into t1 values (2, "ka ki ku ke ko");
6insert into t1 values (3, "aa ii ii ii oo");
7insert into t1 values (4, "sa si su se so");
8insert into t1 values (5, "ta ti ii ii to");
9insert into t2 (c1,c2) select c1,c2 from t1;
10select * from t1;
11c1 c2
121 aa ii uu ee oo
132 ka ki ku ke ko
143 aa ii ii ii oo
154 sa si su se so
165 ta ti ii ii to
17select * from t2;
18c1 c2
191 aa ii uu ee oo
202 ka ki ku ke ko
213 aa ii ii ii oo
224 sa si su se so
235 ta ti ii ii to
24select * from t1 where c1=3;
25c1 c2
263 aa ii ii ii oo
27select * from t2 where c1=3;
28c1 c2
293 aa ii ii ii oo
30select * from t1 where c1>3 order by c1 desc;
31c1 c2
325 ta ti ii ii to
334 sa si su se so
34select * from t2 where c1>3 order by c1 asc;
35c1 c2
364 sa si su se so
375 ta ti ii ii to
38select * from t1 where c2>"s" order by c2 desc;
39c1 c2
405 ta ti ii ii to
414 sa si su se so
42select * from t2 where c2>"s" order by c1 asc;
43c1 c2
444 sa si su se so
455 ta ti ii ii to
46select * from t1 where match(c2) against("ii") order by match(c2) against("ii") desc;
47c1 c2
483 aa ii ii ii oo
495 ta ti ii ii to
501 aa ii uu ee oo
51select * from t2 where match(c2) against("ii") order by match(c2) against("ii") asc;
52c1 c2
531 aa ii uu ee oo
545 ta ti ii ii to
553 aa ii ii ii oo
56select c1,c2,match(c2) against("ii") from t1 where match(c2) against("ii");
57c1 c2 match(c2) against("ii")
581 aa ii uu ee oo 174763
593 aa ii ii ii oo 524289
605 ta ti ii ii to 349526
61select c1,c2,match(c2) against("ii") from t2 where match(c2) against("ii");
62c1 c2 match(c2) against("ii")
631 aa ii uu ee oo 174763
643 aa ii ii ii oo 524289
655 ta ti ii ii to 349526
66drop table t1,t2;
067
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_insert_values.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_insert_values.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_insert_values.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,25 @@
1drop table if exists t1, t2, t3;
2create table t1 (c1 int primary key, c2 text, fulltext index ft (c2));
3show create table t1;
4Table Create Table
5t1 CREATE TABLE `t1` (
6 `c1` int(11) NOT NULL,
7 `c2` text,
8 PRIMARY KEY (`c1`),
9 FULLTEXT KEY `ft` (`c2`)
10) ENGINE=mroonga DEFAULT CHARSET=latin1
11insert into t1 values (1, "hoge hoge");
12insert into t1 values (2, "fuga fuga");
13insert into t1 values (3, "moge moge");
14select * from t1;
15c1 c2
161 hoge hoge
172 fuga fuga
183 moge moge
19flush tables;
20select * from t1;
21c1 c2
221 hoge hoge
232 fuga fuga
243 moge moge
25drop table t1;
026
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_delete.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_delete.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_delete.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,34 @@
1drop table if exists diaries;
2set names utf8;
3create table diaries (
4id int primary key,
5title varchar(255),
6content text,
7fulltext index (title, content),
8fulltext index (title),
9fulltext index (content)
10) default charset utf8;
11show create table diaries;
12Table Create Table
13diaries CREATE TABLE `diaries` (
14 `id` int(11) NOT NULL,
15 `title` varchar(255) DEFAULT NULL,
16 `content` text,
17 PRIMARY KEY (`id`),
18 FULLTEXT KEY `title` (`title`,`content`),
19 FULLTEXT KEY `title_2` (`title`),
20 FULLTEXT KEY `content` (`content`)
21) ENGINE=mroonga DEFAULT CHARSET=utf8
22insert into diaries values(1, "Hello", "������。");
23insert into diaries values(2, "天気", "明日�富士山�天気����");
24insert into diaries values(3, "富士山", "今日も�れ�。");
25delete from diaries where id = 2;
26select * from diaries where match(title, content) against("富士山");
27id title content
283 富士山 今日も�れ�。
29select * from diaries where match(title) against("富士山");
30id title content
313 富士山 今日も�れ�。
32select * from diaries where match(content) against("富士山");
33id title content
34drop table diaries;
035
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_insert.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_insert.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_insert.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,40 @@
1drop table if exists diaries;
2set names utf8;
3create table diaries (
4id int primary key,
5title varchar(255),
6content text,
7fulltext index (title, content),
8fulltext index (title),
9fulltext index (content)
10) default charset utf8;
11show create table diaries;
12Table Create Table
13diaries CREATE TABLE `diaries` (
14 `id` int(11) NOT NULL,
15 `title` varchar(255) DEFAULT NULL,
16 `content` text,
17 PRIMARY KEY (`id`),
18 FULLTEXT KEY `title` (`title`,`content`),
19 FULLTEXT KEY `title_2` (`title`),
20 FULLTEXT KEY `content` (`content`)
21) ENGINE=mroonga DEFAULT CHARSET=utf8
22insert into diaries values(1, "Hello", "������。");
23insert into diaries values(2, "天気", "明日�富士山�天気����");
24insert into diaries values(3, "富士山", "今日も�れ�。");
25select * from diaries;
26id title content
271 Hello ������。
282 天気 明日�富士山�天気����
293 富士山 今日も�れ�。
30select * from diaries where match(title, content) against("富士山");
31id title content
322 天気 明日�富士山�天気����
333 富士山 今日も�れ�。
34select * from diaries where match(title) against("富士山");
35id title content
363 富士山 今日も�れ�。
37select * from diaries where match(content) against("富士山");
38id title content
392 天気 明日�富士山�天気����
40drop table diaries;
041
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_recreate.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_recreate.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_recreate.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,42 @@
1drop table if exists diaries;
2set names utf8;
3create table diaries (
4id int primary key,
5title varchar(255),
6content text,
7fulltext index (title, content),
8fulltext index (title),
9fulltext index (content)
10) default charset utf8;
11show create table diaries;
12Table Create Table
13diaries CREATE TABLE `diaries` (
14 `id` int(11) NOT NULL,
15 `title` varchar(255) DEFAULT NULL,
16 `content` text,
17 PRIMARY KEY (`id`),
18 FULLTEXT KEY `title` (`title`,`content`),
19 FULLTEXT KEY `title_2` (`title`),
20 FULLTEXT KEY `content` (`content`)
21) ENGINE=mroonga DEFAULT CHARSET=utf8
22insert into diaries values(1, "Hello", "������。");
23insert into diaries values(2, "天気", "明日�富士山�天気����");
24insert into diaries values(3, "富士山", "今日も�れ�。");
25select * from diaries where match(title, content) against("富士山");
26id title content
272 天気 明日�富士山�天気����
283 富士山 今日も�れ�。
29drop index title on diaries;
30select * from diaries where match(title, content) against("富士山");
31ERROR HY000: Can't find FULLTEXT index matching the column list
32create fulltext index new_title_content_index on diaries (title, content);
33select * from diaries where match(title, content) against("富士山");
34id title content
352 天気 明日�富士山�天気����
363 富士山 今日も�れ�。
37select * from diaries;
38id title content
391 Hello ������。
402 天気 明日�富士山�天気����
413 富士山 今日も�れ�。
42drop table diaries;
043
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_update.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_update.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_multiple_column_index_update.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,37 @@
1drop table if exists diaries;
2set names utf8;
3create table diaries (
4id int primary key,
5title varchar(255),
6content text,
7fulltext index (title, content),
8fulltext index (title),
9fulltext index (content)
10) default charset utf8;
11show create table diaries;
12Table Create Table
13diaries CREATE TABLE `diaries` (
14 `id` int(11) NOT NULL,
15 `title` varchar(255) DEFAULT NULL,
16 `content` text,
17 PRIMARY KEY (`id`),
18 FULLTEXT KEY `title` (`title`,`content`),
19 FULLTEXT KEY `title_2` (`title`),
20 FULLTEXT KEY `content` (`content`)
21) ENGINE=mroonga DEFAULT CHARSET=utf8
22insert into diaries values(1, "Hello", "������。");
23insert into diaries values(2, "天気", "明日�富士山�天気����");
24insert into diaries values(3, "富士山", "今日も�れ�。");
25update diaries set title = "�ョモランマ" where id = 3;
26update diaries set content = "�ョモランマ�富士山" where id = 1;
27select * from diaries where match(title, content) against("富士山");
28id title content
291 Hello �ョモランマ�富士山
302 天気 明日�富士山�天気����
31select * from diaries where match(title) against("富士山");
32id title content
33select * from diaries where match(content) against("富士山");
34id title content
351 Hello �ョモランマ�富士山
362 天気 明日�富士山�天気����
37drop table diaries;
038
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_multiple_index.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_multiple_index.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_multiple_index.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,33 @@
1drop table if exists diaries;
2create table diaries (
3id int primary key auto_increment,
4title text,
5body text,
6fulltext index title_index (title),
7fulltext index body_index (body)
8) default charset utf8;
9show create table diaries;
10Table Create Table
11diaries CREATE TABLE `diaries` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `title` text,
14 `body` text,
15 PRIMARY KEY (`id`),
16 FULLTEXT KEY `title_index` (`title`),
17 FULLTEXT KEY `body_index` (`body`)
18) ENGINE=mroonga DEFAULT CHARSET=utf8
19insert into diaries (title, body) values ("survey", "will start groonga!");
20insert into diaries (title, body) values ("groonga (1)", "starting groonga...");
21insert into diaries (title, body) values ("groonga (2)", "started groonga.");
22select * from diaries
23where match(title) against("survey") and
24match(body) against("groonga");
25id title body
261 survey will start groonga!
27select *, match(title) against("survey"), match(body) against("groonga")
28from diaries
29where match(title) against("survey") and
30match(body) against("groonga");
31id title body match(title) against("survey") match(body) against("groonga")
321 survey will start groonga! 1048577 149797
33drop table diaries;
034
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_no_primary_key.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_no_primary_key.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_no_primary_key.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,21 @@
1DROP TABLE IF EXISTS diaries;
2SET NAMES UTF8;
3CREATE TABLE diaries (
4title VARCHAR(255),
5content TEXT,
6FULLTEXT INDEX (content)
7) DEFAULT CHARSET UTF8;
8SHOW CREATE TABLE diaries;
9Table Create Table
10diaries CREATE TABLE `diaries` (
11 `title` varchar(255) DEFAULT NULL,
12 `content` text,
13 FULLTEXT KEY `content` (`content`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15INSERT INTO diaries VALUES("Hello", "今日�ら������。");
16INSERT INTO diaries VALUES("天気", "明日�富士山�天気����");
17INSERT INTO diaries VALUES("富士山", "今日も天気�よ���れ��見�る。");
18SELECT * FROM diaries WHERE MATCH(content) AGAINST("*D+ 今日 天気" IN BOOLEAN MODE);
19title content
20富士山 今日も天気�よ���れ��見�る。
21DROP TABLE diaries;
022
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_no_such_key.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_no_such_key.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_no_such_key.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,25 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title TEXT,
5body TEXT,
6FULLTEXT INDEX title_index (title),
7FULLTEXT INDEX body_index (body)
8) DEFAULT CHARSET UTF8;
9SHOW CREATE TABLE diaries;
10Table Create Table
11diaries CREATE TABLE `diaries` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `title` text,
14 `body` text,
15 PRIMARY KEY (`id`),
16 FULLTEXT KEY `title_index` (`title`),
17 FULLTEXT KEY `body_index` (`body`)
18) ENGINE=mroonga DEFAULT CHARSET=utf8
19INSERT INTO diaries (title, body) VALUES ("survey", "will start groonga!");
20INSERT INTO diaries (title, body) VALUES ("groonga (1)", "starting groonga...");
21INSERT INTO diaries (title, body) VALUES ("groonga (2)", "started groonga.");
22SELECT * FROM diaries FORCE INDEX(primary)
23WHERE MATCH(title) AGAINST("survey" IN BOOLEAN MODE);
24id title body
25DROP TABLE diaries;
026
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_not_match_against.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_not_match_against.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_not_match_against.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,68 @@
1drop table if exists t1, t2, t3;
2create table t1 (c1 int primary key, c2 int, c3 text, fulltext index ft(c3));
3insert into t1 values(1,10,"aa ii uu ee oo");
4insert into t1 values(2,10,"ka ki ku ke ko");
5insert into t1 values(3,10,"aa ii uu ee oo");
6insert into t1 values(4,10,"ka ki ku ke ko");
7insert into t1 values(5,20,"aa ii uu ee oo");
8insert into t1 values(6,20,"ka ki ku ke ko");
9insert into t1 values(7,20,"aa ii uu ee oo");
10insert into t1 values(8,20,"ka ki ku ke ko");
11select * from t1;
12c1 c2 c3
131 10 aa ii uu ee oo
142 10 ka ki ku ke ko
153 10 aa ii uu ee oo
164 10 ka ki ku ke ko
175 20 aa ii uu ee oo
186 20 ka ki ku ke ko
197 20 aa ii uu ee oo
208 20 ka ki ku ke ko
21select * from t1 where match(c3) against("uu");
22c1 c2 c3
231 10 aa ii uu ee oo
243 10 aa ii uu ee oo
255 20 aa ii uu ee oo
267 20 aa ii uu ee oo
27select * from t1 where not match(c3) against("uu");
28c1 c2 c3
292 10 ka ki ku ke ko
304 10 ka ki ku ke ko
316 20 ka ki ku ke ko
328 20 ka ki ku ke ko
33select * from t1 where match(c3) against("dummy");
34c1 c2 c3
35select * from t1 where not match(c3) against("dummy");
36c1 c2 c3
371 10 aa ii uu ee oo
382 10 ka ki ku ke ko
393 10 aa ii uu ee oo
404 10 ka ki ku ke ko
415 20 aa ii uu ee oo
426 20 ka ki ku ke ko
437 20 aa ii uu ee oo
448 20 ka ki ku ke ko
45select * from t1 where c1 = 4 and not match(c3) against("uu");
46c1 c2 c3
474 10 ka ki ku ke ko
48select * from t1 where c1 <= 4 and not match(c3) against("uu");
49c1 c2 c3
502 10 ka ki ku ke ko
514 10 ka ki ku ke ko
52select * from t1 where c1 > 4 and not match(c3) against("uu");
53c1 c2 c3
546 20 ka ki ku ke ko
558 20 ka ki ku ke ko
56select * from t1 where c2 = 10 and not match(c3) against("uu");
57c1 c2 c3
582 10 ka ki ku ke ko
594 10 ka ki ku ke ko
60select * from t1 where c2 >= 15 and not match(c3) against("uu");
61c1 c2 c3
626 20 ka ki ku ke ko
638 20 ka ki ku ke ko
64select * from t1 where c2 < 15 and not match(c3) against("uu");
65c1 c2 c3
662 10 ka ki ku ke ko
674 10 ka ki ku ke ko
68drop table t1;
069
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_parser_comment.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_parser_comment.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_parser_comment.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,29 @@
1drop table if exists diaries;
2create table diaries (
3id int primary key auto_increment,
4body text,
5fulltext index body_index (body)
6comment 'parser "TokenBigramSplitSymbolAlphaDigit"'
7) default charset utf8;
8show create table diaries;
9Table Create Table
10diaries CREATE TABLE `diaries` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `body` text,
13 PRIMARY KEY (`id`),
14 FULLTEXT KEY `body_index` (`body`) COMMENT 'parser "TokenBigramSplitSymbolAlphaDigit"'
15) ENGINE=mroonga DEFAULT CHARSET=utf8
16insert into diaries (body) values ("will start groonga!");
17insert into diaries (body) values ("starting groonga...");
18insert into diaries (body) values ("started groonga.");
19select * from diaries;
20id body
211 will start groonga!
222 starting groonga...
233 started groonga.
24select * from diaries where match(body) against("start");
25id body
261 will start groonga!
272 starting groonga...
283 started groonga.
29drop table diaries;
030
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_parser_default.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_parser_default.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_parser_default.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,31 @@
1drop table if exists diaries;
2set global mroonga_default_parser=TokenBigramSplitSymbolAlphaDigit;
3create table diaries (
4id int primary key auto_increment,
5body text,
6fulltext index body_index (body)
7) default charset utf8;
8show create table diaries;
9Table Create Table
10diaries CREATE TABLE `diaries` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `body` text,
13 PRIMARY KEY (`id`),
14 FULLTEXT KEY `body_index` (`body`)
15) ENGINE=mroonga DEFAULT CHARSET=utf8
16insert into diaries (body) values ("will start groonga!");
17insert into diaries (body) values ("starting groonga...");
18insert into diaries (body) values ("started groonga.");
19insert into diaries (body) values ("finished groonga.");
20select * from diaries;
21id body
221 will start groonga!
232 starting groonga...
243 started groonga.
254 finished groonga.
26select * from diaries where match(body) against("start");
27id body
281 will start groonga!
292 starting groonga...
303 started groonga.
31drop table diaries;
032
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_search_ascii.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_search_ascii.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_search_ascii.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,29 @@
1drop table if exists t1, t2, t3;
2create table t1 (c1 int primary key, c2 int, c3 text, fulltext index ft(c3));
3insert into t1 values(1,10,"aa ii uu ee oo");
4insert into t1 values(2,20,"ka ki ku ke ko");
5insert into t1 values(3,30,"sa si su se so");
6insert into t1 values(4,40,"ta ti tu te to");
7insert into t1 values(5,50,"aa ii uu ee oo");
8select * from t1;
9c1 c2 c3
101 10 aa ii uu ee oo
112 20 ka ki ku ke ko
123 30 sa si su se so
134 40 ta ti tu te to
145 50 aa ii uu ee oo
15select * from t1 where match(c3) against("su");
16c1 c2 c3
173 30 sa si su se so
18select * from t1 where match(c3) against("ii");
19c1 c2 c3
201 10 aa ii uu ee oo
215 50 aa ii uu ee oo
22select * from t1 where match(c3) against("+su" in boolean mode);
23c1 c2 c3
243 30 sa si su se so
25select * from t1 where match(c3) against("+ii" in boolean mode);
26c1 c2 c3
271 10 aa ii uu ee oo
285 50 aa ii uu ee oo
29drop table t1;
030
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_search_cp932.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_search_cp932.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_search_cp932.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,18 @@
1drop table if exists t1, t2, t3;
2set names cp932;
3create table t1 (c1 int primary key, c2 varchar(255), c3 text, fulltext index(c2), fulltext index(c3)) default charset cp932;
4insert into t1 values(1, "–¾“ú‚Ì•xŽmŽR‚Ì“V‹C‚ɂ‚¢‚Ä","‚ ‚ ‚ ‚ ‚ ‚ ‚ ");
5insert into t1 values(2, "‚¢‚¢‚¢‚¢‚¢","–¾“ú‚Ì•xŽmŽR‚Ì“V‹C‚Í•ª‚©‚è‚Ü‚¹‚ñ");
6insert into t1 values(3, "dummy", "dummy");
7select * from t1;
8c1 c2 c3
91 –¾“ú‚Ì•xŽmŽR‚Ì“V‹C‚ɂ‚¢‚Ä ‚ ‚ ‚ ‚ ‚ ‚ ‚ 
102 ‚¢‚¢‚¢‚¢‚¢ –¾“ú‚Ì•xŽmŽR‚Ì“V‹C‚Í•ª‚©‚è‚Ü‚¹‚ñ
113 dummy dummy
12select * from t1 where match(c2) against("•xŽmŽR");
13c1 c2 c3
141 –¾“ú‚Ì•xŽmŽR‚Ì“V‹C‚ɂ‚¢‚Ä ‚ ‚ ‚ ‚ ‚ ‚ ‚ 
15select * from t1 where match(c3) against("•xŽmŽR");
16c1 c2 c3
172 ‚¢‚¢‚¢‚¢‚¢ –¾“ú‚Ì•xŽmŽR‚Ì“V‹C‚Í•ª‚©‚è‚Ü‚¹‚ñ
18drop table t1;
019
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_search_eucjpms.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_search_eucjpms.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_search_eucjpms.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,18 @@
1drop table if exists t1, t2, t3;
2set names eucjpms;
3create table t1 (c1 int primary key, c2 varchar(255), c3 text, fulltext index(c2), fulltext index(c3)) default charset eucjpms;
4insert into t1 values(1, "ÌÀÆü¤ÎÉٻ볤ÎÅ·µ¤¤Ë¤Ä¤¤¤Æ","¤¢¤¢¤¢¤¢¤¢¤¢¤¢");
5insert into t1 values(2, "¤¤¤¤¤¤¤¤¤¤","ÌÀÆü¤ÎÉٻ볤ÎÅ·µ¤¤Ïʬ¤«¤ê¤Þ¤»¤ó");
6insert into t1 values(3, "dummy", "dummy");
7select * from t1;
8c1 c2 c3
91 ÌÀÆü¤ÎÉٻ볤ÎÅ·µ¤¤Ë¤Ä¤¤¤Æ ¤¢¤¢¤¢¤¢¤¢¤¢¤¢
102 ¤¤¤¤¤¤¤¤¤¤ ÌÀÆü¤ÎÉٻ볤ÎÅ·µ¤¤Ïʬ¤«¤ê¤Þ¤»¤ó
113 dummy dummy
12select * from t1 where match(c2) against("Éٻλ³");
13c1 c2 c3
141 ÌÀÆü¤ÎÉٻ볤ÎÅ·µ¤¤Ë¤Ä¤¤¤Æ ¤¢¤¢¤¢¤¢¤¢¤¢¤¢
15select * from t1 where match(c3) against("Éٻλ³");
16c1 c2 c3
172 ¤¤¤¤¤¤¤¤¤¤ ÌÀÆü¤ÎÉٻ볤ÎÅ·µ¤¤Ïʬ¤«¤ê¤Þ¤»¤ó
18drop table t1;
019
=== added file 'mysql-test/suite/mroonga_storage/r/fulltext_search_japanese.result'
--- mysql-test/suite/mroonga_storage/r/fulltext_search_japanese.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/fulltext_search_japanese.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,18 @@
1drop table if exists t1, t2, t3;
2set names utf8;
3create table t1 (c1 int primary key, c2 varchar(255), c3 text, fulltext index(c2), fulltext index(c3)) default charset utf8;
4insert into t1 values(1, "明日�富士山�天気����","�������");
5insert into t1 values(2, "�����","明日�富士山�天気�分�り��ん");
6insert into t1 values(3, "dummy", "dummy");
7select * from t1;
8c1 c2 c3
91 明日�富士山�天気���� �������
102 ����� 明日�富士山�天気�分�り��ん
113 dummy dummy
12select * from t1 where match(c2) against("富士山");
13c1 c2 c3
141 明日�富士山�天気���� �������
15select * from t1 where match(c3) against("富士山");
16c1 c2 c3
172 ����� 明日�富士山�天気�分�り��ん
18drop table t1;
019
=== added file 'mysql-test/suite/mroonga_storage/r/geometry_contains.result'
--- mysql-test/suite/mroonga_storage/r/geometry_contains.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/geometry_contains.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,169 @@
1drop table if exists shops;
2create table shops (
3id int primary key auto_increment,
4name text,
5location geometry NOT NULL,
6spatial key location_index (location)
7);
8show create table shops;
9Table Create Table
10shops CREATE TABLE `shops` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `name` text,
13 `location` geometry NOT NULL,
14 PRIMARY KEY (`id`),
15 SPATIAL KEY `location_index` (`location`)
16) ENGINE=mroonga DEFAULT CHARSET=latin1
17insert into shops (name, location)
18values ('nezu-no-taiyaki',
19GeomFromText('POINT(139.762573 35.720253)'));
20insert into shops (name, location)
21values ('taiyaki-kataoka',
22GeomFromText('POINT(139.715591 35.712521)'));
23insert into shops (name, location)
24values ('soba-taiyaki-ku',
25GeomFromText('POINT(139.659088 35.683712)'));
26insert into shops (name, location)
27values ('kuruma',
28GeomFromText('POINT(139.706207 35.721516)'));
29insert into shops (name, location)
30values ('hirose-ya',
31GeomFromText('POINT(139.685608 35.714844)'));
32insert into shops (name, location)
33values ('sazare',
34GeomFromText('POINT(139.685043 35.714653)'));
35insert into shops (name, location)
36values ('omede-taiyaki',
37GeomFromText('POINT(139.817154 35.700516)'));
38insert into shops (name, location)
39values ('onaga-ya',
40GeomFromText('POINT(139.81105 35.698254)'));
41insert into shops (name, location)
42values ('shiro-ya',
43GeomFromText('POINT(139.638611 35.705517)'));
44insert into shops (name, location)
45values ('fuji-ya',
46GeomFromText('POINT(139.637115 35.703938)'));
47insert into shops (name, location)
48values ('miyoshi',
49GeomFromText('POINT(139.537323 35.644539)'));
50insert into shops (name, location)
51values ('juju-ya',
52GeomFromText('POINT(139.695755 35.628922)'));
53insert into shops (name, location)
54values ('tatsumi-ya',
55GeomFromText('POINT(139.638657 35.665501)'));
56insert into shops (name, location)
57values ('tetsuji',
58GeomFromText('POINT(139.76857 35.680912)'));
59insert into shops (name, location)
60values ('gazuma-ya',
61GeomFromText('POINT(139.647598 35.700817)'));
62insert into shops (name, location)
63values ('honma-mon',
64GeomFromText('POINT(139.652573 35.722736)'));
65insert into shops (name, location)
66values ('naniwa-ya',
67GeomFromText('POINT(139.796234 35.730061)'));
68insert into shops (name, location)
69values ('kuro-dai',
70GeomFromText('POINT(139.704834 35.650345)'));
71insert into shops (name, location)
72values ('daruma',
73GeomFromText('POINT(139.770599 35.681461)'));
74insert into shops (name, location)
75values ('yanagi-ya',
76GeomFromText('POINT(139.783981 35.685341)'));
77insert into shops (name, location)
78values ('sharaku',
79GeomFromText('POINT(139.794846 35.716969)'));
80insert into shops (name, location)
81values ('takane',
82GeomFromText('POINT(139.560913 35.698601)'));
83insert into shops (name, location)
84values ('chiyoda',
85GeomFromText('POINT(139.652817 35.642601)'));
86insert into shops (name, location)
87values ('da-ka-po',
88GeomFromText('POINT(139.727356 35.627346)'));
89insert into shops (name, location)
90values ('matsushima-ya',
91GeomFromText('POINT(139.737381 35.640556)'));
92insert into shops (name, location)
93values ('kazuya',
94GeomFromText('POINT(139.760895 35.673508)'));
95insert into shops (name, location)
96values ('furuya-kogane-an',
97GeomFromText('POINT(139.676071 35.680603)'));
98insert into shops (name, location)
99values ('hachi-no-ie',
100GeomFromText('POINT(139.668106 35.608021)'));
101insert into shops (name, location)
102values ('azuki-chan',
103GeomFromText('POINT(139.673203 35.64151)'));
104insert into shops (name, location)
105values ('kuriko-an',
106GeomFromText('POINT(139.796829 35.712013)'));
107insert into shops (name, location)
108values ('yume-no-aru-machi-no-taiyaki-ya-san',
109GeomFromText('POINT(139.712524 35.616199)'));
110insert into shops (name, location)
111values ('naze-ya',
112GeomFromText('POINT(139.665833 35.609039)'));
113insert into shops (name, location)
114values ('sanoki-ya',
115GeomFromText('POINT(139.770721 35.66592)'));
116insert into shops (name, location)
117values ('shigeta',
118GeomFromText('POINT(139.780273 35.672626)'));
119insert into shops (name, location)
120values ('nishimi-ya',
121GeomFromText('POINT(139.774628 35.671825)'));
122insert into shops (name, location)
123values ('hiiragi',
124GeomFromText('POINT(139.711517 35.647701)'));
125select id, name, AsText(location) as location_text from shops;
126id name location_text
1271 nezu-no-taiyaki POINT(139.762573055556 35.7202530555556)
1282 taiyaki-kataoka POINT(139.715591111111 35.7125211111111)
1293 soba-taiyaki-ku POINT(139.659088055556 35.6837119444444)
1304 kuruma POINT(139.706206944444 35.7215161111111)
1315 hirose-ya POINT(139.685608055556 35.7148438888889)
1326 sazare POINT(139.685043055556 35.7146530555556)
1337 omede-taiyaki POINT(139.817153888889 35.7005161111111)
1348 onaga-ya POINT(139.81105 35.6982538888889)
1359 shiro-ya POINT(139.638611111111 35.7055169444444)
13610 fuji-ya POINT(139.637115 35.7039380555556)
13711 miyoshi POINT(139.537323055556 35.6445388888889)
13812 juju-ya POINT(139.695755 35.6289219444444)
13913 tatsumi-ya POINT(139.638656944444 35.6655011111111)
14014 tetsuji POINT(139.76857 35.6809119444444)
14115 gazuma-ya POINT(139.647598055556 35.7008169444444)
14216 honma-mon POINT(139.652573055556 35.7227361111111)
14317 naniwa-ya POINT(139.796233888889 35.7300611111111)
14418 kuro-dai POINT(139.704833888889 35.650345)
14519 daruma POINT(139.770598888889 35.6814611111111)
14620 yanagi-ya POINT(139.783981111111 35.6853411111111)
14721 sharaku POINT(139.794846111111 35.7169688888889)
14822 takane POINT(139.560913055556 35.6986011111111)
14923 chiyoda POINT(139.652816944444 35.6426011111111)
15024 da-ka-po POINT(139.727356111111 35.6273461111111)
15125 matsushima-ya POINT(139.737381111111 35.6405561111111)
15226 kazuya POINT(139.760895 35.6735080555556)
15327 furuya-kogane-an POINT(139.676071111111 35.6806030555556)
15428 hachi-no-ie POINT(139.668106111111 35.6080211111111)
15529 azuki-chan POINT(139.673203055556 35.64151)
15630 kuriko-an POINT(139.796828888889 35.7120130555556)
15731 yume-no-aru-machi-no-taiyaki-ya-san POINT(139.712523888889 35.6161988888889)
15832 naze-ya POINT(139.665833055556 35.6090388888889)
15933 sanoki-ya POINT(139.770721111111 35.66592)
16034 shigeta POINT(139.780273055556 35.6726261111111)
16135 nishimi-ya POINT(139.774628055556 35.671825)
16236 hiiragi POINT(139.711516944444 35.6477011111111)
163select id, name, AsText(location) as location_text from shops
164where MBRContains(GeomFromText('LineString(139.7727 35.6684, 139.7038 35.7121)'), location);
165id name location_text
16614 tetsuji POINT(139.76857 35.6809119444444)
16719 daruma POINT(139.770598888889 35.6814611111111)
16826 kazuya POINT(139.760895 35.6735080555556)
169drop table shops;
0170
=== added file 'mysql-test/suite/mroonga_storage/r/hash_index_id_normal.result'
--- mysql-test/suite/mroonga_storage/r/hash_index_id_normal.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/hash_index_id_normal.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,18 @@
1drop table if exists t1, t2, t3;
2create table t1 (_id int, a int, key (_id) using hash);
3insert into t1 values(null, 100);
4insert into t1 values(null, 100);
5insert into t1 values(null, 100);
6insert into t1 values(null, 100);
7select * from t1;
8_id a
91 100
102 100
113 100
124 100
13select * from t1 where _id = 2;
14_id a
152 100
16select * from t1 where _id = 20;
17_id a
18drop table t1;
019
=== added file 'mysql-test/suite/mroonga_storage/r/hash_index_id_primary.result'
--- mysql-test/suite/mroonga_storage/r/hash_index_id_primary.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/hash_index_id_primary.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,28 @@
1drop table if exists t1, t2, t3;
2create table t1 (_id int, a int, primary key (_id) using hash);
3insert into t1 values(null, 100);
4ERROR 23000: Column '_id' cannot be null
5insert into t1 values(1,100);
6Warnings:
7Warning 1265 data truncated for _id column
8insert into t1 values(1,100);
9Warnings:
10Warning 1265 data truncated for _id column
11insert into t1 values(1,100);
12Warnings:
13Warning 1265 data truncated for _id column
14insert into t1 values(1,100);
15Warnings:
16Warning 1265 data truncated for _id column
17select * from t1;
18_id a
191 100
202 100
213 100
224 100
23select * from t1 where _id = 2;
24_id a
252 100
26select * from t1 where _id = 20;
27_id a
28drop table t1;
029
=== added file 'mysql-test/suite/mroonga_storage/r/hash_index_id_unique.result'
--- mysql-test/suite/mroonga_storage/r/hash_index_id_unique.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/hash_index_id_unique.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,18 @@
1drop table if exists t1, t2, t3;
2create table t1 (_id int, a int, unique key (_id) using hash);
3insert into t1 values(null, 100);
4insert into t1 values(null, 100);
5insert into t1 values(null, 100);
6insert into t1 values(null, 100);
7select * from t1;
8_id a
91 100
102 100
113 100
124 100
13select * from t1 where _id = 2;
14_id a
152 100
16select * from t1 where _id = 20;
17_id a
18drop table t1;
019
=== added file 'mysql-test/suite/mroonga_storage/r/hash_index_normal_column_insert.result'
--- mysql-test/suite/mroonga_storage/r/hash_index_normal_column_insert.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/hash_index_normal_column_insert.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,25 @@
1drop table if exists t1, t2, t3;
2create table t1 (c1 int primary key, c2 int, index using hash (c2));
3show create table t1;
4Table Create Table
5t1 CREATE TABLE `t1` (
6 `c1` int(11) NOT NULL,
7 `c2` int(11) DEFAULT NULL,
8 PRIMARY KEY (`c1`),
9 KEY `c2` (`c2`) USING HASH
10) ENGINE=mroonga DEFAULT CHARSET=latin1
11insert into t1 values (1, 100);
12insert into t1 values (2, 101);
13insert into t1 values (3, 102);
14select * from t1;
15c1 c2
161 100
172 101
183 102
19flush tables;
20select * from t1;
21c1 c2
221 100
232 101
243 102
25drop table t1;
026
=== added file 'mysql-test/suite/mroonga_storage/r/information_schema.result'
--- mysql-test/suite/mroonga_storage/r/information_schema.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/information_schema.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,4 @@
1select PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_TYPE
2from information_schema.plugins where plugin_name = "mroonga";
3PLUGIN_NAME PLUGIN_VERSION PLUGIN_TYPE
4mroonga 2.2 STORAGE ENGINE
05
=== added file 'mysql-test/suite/mroonga_storage/r/insert.result'
--- mysql-test/suite/mroonga_storage/r/insert.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/insert.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,90 @@
1drop table if exists t1, t2, t3;
2create table t1 (c1 tinyint);
3insert into t1 values(1);
4select * from t1;
5c1
61
7drop table t1;
8create table t1 (c1 smallint);
9insert into t1 values(1);
10select * from t1;
11c1
121
13drop table t1;
14create table t1 (c1 mediumint);
15insert into t1 values(1);
16select * from t1;
17c1
181
19drop table t1;
20create table t1 (c1 int);
21insert into t1 values(1);
22select * from t1;
23c1
241
25drop table t1;
26create table t1 (c1 bigint);
27insert into t1 values(1);
28select * from t1;
29c1
301
31drop table t1;
32create table t1 (c1 float);
33insert into t1 values(0.5);
34select * from t1;
35c1
360.5
37drop table t1;
38create table t1 (c1 double);
39insert into t1 values(0.5);
40select * from t1;
41c1
420.5
43drop table t1;
44create table t1 (c1 date);
45insert into t1 values("2010/03/26");
46select * from t1;
47c1
482010-03-26
49drop table t1;
50create table t1 (c1 time);
51insert into t1 values("11:22:33");
52select * from t1;
53c1
5411:22:33
55drop table t1;
56create table t1 (c1 year);
57insert into t1 values("2010");
58select * from t1;
59c1
602010
61drop table t1;
62create table t1 (c1 datetime);
63insert into t1 values("2010/03/26 11:22:33");
64select * from t1;
65c1
662010-03-26 11:22:33
67drop table t1;
68create table t1 (c1 int, _id int);
69set sql_mode="";
70insert into t1 (c1,_id) values (1,1);
71Warnings:
72Warning 1265 data truncated for _id column
73set sql_mode="strict_all_tables";
74insert into t1 (c1,_id) values (4,1);
75ERROR 22001: cannot insert value to _id column
76select * from t1;
77c1 _id
781 1
79drop table t1;
80create table t1 (c1 int primary key, c2 int);
81insert into t1 values(1,100);
82select * from t1;
83c1 c2
841 100
85insert into t1 values(1,200);
86ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
87select * from t1;
88c1 c2
891 100
90drop table t1;
091
=== added file 'mysql-test/suite/mroonga_storage/r/insert_on_duplicate_key_update_primary_key.result'
--- mysql-test/suite/mroonga_storage/r/insert_on_duplicate_key_update_primary_key.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/insert_on_duplicate_key_update_primary_key.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,26 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3day DATE PRIMARY KEY,
4title TEXT
5) DEFAULT CHARSET=UTF8;
6SHOW CREATE TABLE diaries;
7Table Create Table
8diaries CREATE TABLE `diaries` (
9 `day` date NOT NULL,
10 `title` text,
11 PRIMARY KEY (`day`)
12) ENGINE=mroonga DEFAULT CHARSET=utf8
13INSERT INTO diaries (day, title)
14VALUES ("2012-02-14", "clear day")
15ON DUPLICATE KEY UPDATE title = "clear day (duplicated)";
16INSERT INTO diaries (day, title)
17VALUES ("2012-02-14", "rainy day")
18ON DUPLICATE KEY UPDATE title = "rainy day (duplicated)";
19INSERT INTO diaries (day, title)
20VALUES ("2012-02-15", "cloudy day")
21ON DUPLICATE KEY UPDATE title = "cloudy day (duplicated)";
22SELECT * FROM diaries;
23day title
242012-02-14 rainy day (duplicated)
252012-02-15 cloudy day
26DROP TABLE diaries;
027
=== added file 'mysql-test/suite/mroonga_storage/r/insert_on_duplicate_key_update_unique_key.result'
--- mysql-test/suite/mroonga_storage/r/insert_on_duplicate_key_update_unique_key.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/insert_on_duplicate_key_update_unique_key.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,30 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4day DATE,
5title TEXT,
6UNIQUE KEY day (day)
7) DEFAULT CHARSET=UTF8;
8SHOW CREATE TABLE diaries;
9Table Create Table
10diaries CREATE TABLE `diaries` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `day` date DEFAULT NULL,
13 `title` text,
14 PRIMARY KEY (`id`),
15 UNIQUE KEY `day` (`day`)
16) ENGINE=mroonga DEFAULT CHARSET=utf8
17INSERT INTO diaries (day, title)
18VALUES ("2012-02-14", "clear day")
19ON DUPLICATE KEY UPDATE title = "clear day (duplicated)";
20INSERT INTO diaries (day, title)
21VALUES ("2012-02-14", "rainy day")
22ON DUPLICATE KEY UPDATE title = "rainy day (duplicated)";
23INSERT INTO diaries (day, title)
24VALUES ("2012-02-15", "cloudy day")
25ON DUPLICATE KEY UPDATE title = "cloudy day (duplicated)";
26SELECT * FROM diaries;
27id day title
281 2012-02-14 rainy day (duplicated)
292 2012-02-15 cloudy day
30DROP TABLE diaries;
031
=== added file 'mysql-test/suite/mroonga_storage/r/key_read.result'
--- mysql-test/suite/mroonga_storage/r/key_read.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/key_read.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,53 @@
1drop table if exists t1;
2create table t1 (c1 int, c2 int, c3 int, primary key(c1), key idx1(c2), key idx2(c3, c2));
3insert into t1 values(1,2,4);
4insert into t1 select c1 + 1, c2 + 2, c3 + 4 from t1;
5insert into t1 select c1 + 2, c2 + 4, c3 + 8 from t1;
6insert into t1 select c1 + 4, c2 + 8, c3 + 16 from t1;
7insert into t1 select c1 + 8, c2 + 16, c3 + 32 from t1;
8insert into t1 select c1 + 16, c2 + 32, c3 + 64 from t1;
9select c1 from t1 where c1 between 10 and 16;
10c1
1110
1211
1312
1413
1514
1615
1716
18select c2 from t1 where c2 between 10 and 16;
19c2
2010
2112
2214
2316
24select c2, c3 from t1 where c3 between 10 and 16;
25c2 c3
266 12
27drop table t1;
28create table t1 (c1 varchar(10), c2 varchar(10), c3 varchar(10), primary key(c1), key idx1(c2), key idx2(c3, c2));
29insert into t1 values('1','2','4');
30insert into t1 select c1 + 1, c2 + 2, c3 + 4 from t1;
31insert into t1 select c1 + 2, c2 + 4, c3 + 8 from t1;
32insert into t1 select c1 + 4, c2 + 8, c3 + 16 from t1;
33insert into t1 select c1 + 8, c2 + 16, c3 + 32 from t1;
34insert into t1 select c1 + 16, c2 + 32, c3 + 64 from t1;
35select c1 from t1 where c1 between '10' and '16';
36c1
3710
3811
3912
4013
4114
4215
4316
44select c2 from t1 where c2 between '10' and '16';
45c2
4610
4712
4814
4916
50select c2, c3 from t1 where c3 between '10' and '16';
51c2 c3
526 12
53drop table t1;
054
=== added file 'mysql-test/suite/mroonga_storage/r/last_insert_grn_id.result'
--- mysql-test/suite/mroonga_storage/r/last_insert_grn_id.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/last_insert_grn_id.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,31 @@
1drop table if exists t1, t2, t3;
2drop function if exists last_insert_grn_id;
3create function last_insert_grn_id returns integer soname 'ha_mroonga.so';
4create table t1 (_id int, c1 int);
5select last_insert_grn_id();
6last_insert_grn_id()
70
8insert into t1 values(null,100);
9insert into t1 values(null,100);
10select last_insert_grn_id();
11last_insert_grn_id()
122
13insert into t1 values(null,100);
14insert into t1 values(null,100);
15select last_insert_grn_id();
16last_insert_grn_id()
174
18insert into t1 values(null,100);
19insert into t1 values(null,100);
20select last_insert_grn_id();
21last_insert_grn_id()
226
23insert into t1 values(null,100);
24insert into t1 values(null,100);
25select last_insert_grn_id();
26last_insert_grn_id()
278
28select last_insert_grn_id(1);
29ERROR HY000: Can't initialize function 'last_insert_grn_id'; last_insert_grn_id must not have arguments
30drop table t1;
31drop function last_insert_grn_id;
032
=== added file 'mysql-test/suite/mroonga_storage/r/log_level.result'
--- mysql-test/suite/mroonga_storage/r/log_level.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/log_level.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,47 @@
1show global variables like 'mroonga_log_level';
2Variable_name Value
3mroonga_log_level NOTICE
4set global mroonga_log_level=NONE;
5show global variables like 'mroonga_log_level';
6Variable_name Value
7mroonga_log_level NONE
8set global mroonga_log_level=EMERG;
9show global variables like 'mroonga_log_level';
10Variable_name Value
11mroonga_log_level EMERG
12set global mroonga_log_level=ALERT;
13show global variables like 'mroonga_log_level';
14Variable_name Value
15mroonga_log_level ALERT
16set global mroonga_log_level=CRIT;
17show global variables like 'mroonga_log_level';
18Variable_name Value
19mroonga_log_level CRIT
20set global mroonga_log_level=ERROR;
21show global variables like 'mroonga_log_level';
22Variable_name Value
23mroonga_log_level ERROR
24set global mroonga_log_level=WARNING;
25show global variables like 'mroonga_log_level';
26Variable_name Value
27mroonga_log_level WARNING
28set global mroonga_log_level=NOTICE;
29show global variables like 'mroonga_log_level';
30Variable_name Value
31mroonga_log_level NOTICE
32set global mroonga_log_level=INFO;
33show global variables like 'mroonga_log_level';
34Variable_name Value
35mroonga_log_level INFO
36set global mroonga_log_level=DEBUG;
37show global variables like 'mroonga_log_level';
38Variable_name Value
39mroonga_log_level DEBUG
40set global mroonga_log_level=DUMP;
41show global variables like 'mroonga_log_level';
42Variable_name Value
43mroonga_log_level DUMP
44set global mroonga_log_level=dummy;
45ERROR 42000: Variable 'log_level' can't be set to the value of 'dummy'
46set session mroonga_log_level=NOTICE;
47ERROR HY000: Variable 'mroonga_log_level' is a GLOBAL variable and should be set with SET GLOBAL
048
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_index_delete.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_index_delete.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_index_delete.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,32 @@
1drop table if exists listing;
2set names utf8;
3create table scores (
4id int primary key auto_increment not null,
5name char(30) not null,
6score int not null,
7index property (name, score)
8) default charset utf8;
9show create table scores;
10Table Create Table
11scores CREATE TABLE `scores` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `name` char(30) NOT NULL,
14 `score` int(11) NOT NULL,
15 PRIMARY KEY (`id`),
16 KEY `property` (`name`,`score`)
17) ENGINE=mroonga DEFAULT CHARSET=utf8
18insert into scores (name, score) values("Taro Yamada", 29);
19insert into scores (name, score) values("Taro Yamada", -12);
20insert into scores (name, score) values("Jiro Yamada", 27);
21insert into scores (name, score) values("Taro Yamada", 10);
22select * from scores;
23id name score
241 Taro Yamada 29
252 Taro Yamada -12
263 Jiro Yamada 27
274 Taro Yamada 10
28delete from scores where name = "Taro Yamada" and score = 10;
29select * from scores where name = "Taro Yamada" and (score >= -12 and score < 29);
30id name score
312 Taro Yamada -12
32drop table scores;
033
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_index_recreate.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_index_recreate.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_index_recreate.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,39 @@
1drop table if exists listing;
2set names utf8;
3create table listing (
4id int primary key auto_increment not null,
5last_name char(30) not null,
6first_name char(30) not null,
7index name (last_name, first_name)
8) default charset utf8;
9show create table listing;
10Table Create Table
11listing CREATE TABLE `listing` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `last_name` char(30) NOT NULL,
14 `first_name` char(30) NOT NULL,
15 PRIMARY KEY (`id`),
16 KEY `name` (`last_name`,`first_name`)
17) ENGINE=mroonga DEFAULT CHARSET=utf8
18insert into listing (last_name, first_name) values("Taro", "Yamada");
19insert into listing (last_name, first_name) values("Taro", "Suzuki");
20insert into listing (last_name, first_name) values("Jiro", "Yamada");
21insert into listing (last_name, first_name) values("Taro", "Tanaka");
22select * from listing
23where last_name = "Taro" and (first_name >= "S" and first_name <= "Y");
24id last_name first_name
252 Taro Suzuki
264 Taro Tanaka
27drop index name on listing;
28select * from listing
29where last_name = "Taro" and (first_name >= "S" and first_name <= "Y");
30id last_name first_name
312 Taro Suzuki
324 Taro Tanaka
33create index new_name_index on listing (last_name, first_name);
34select * from listing
35where last_name = "Taro" and (first_name >= "S" and first_name <= "Y");
36id last_name first_name
372 Taro Suzuki
384 Taro Tanaka
39drop table listing;
040
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_index_replace.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_index_replace.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_index_replace.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,39 @@
1DROP TABLE IF EXISTS listing;
2CREATE TABLE scores (
3id INT PRIMARY KEY AUTO_INCREMENT NOT NULL,
4name CHAR(30) NOT NULL,
5score INT NOT NULL,
6INDEX property (NAME, SCORE)
7) DEFAULT CHARSET=UTF8;
8SHOW CREATE TABLE scores;
9Table Create Table
10scores CREATE TABLE `scores` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `name` char(30) NOT NULL,
13 `score` int(11) NOT NULL,
14 PRIMARY KEY (`id`),
15 KEY `property` (`name`,`score`)
16) ENGINE=mroonga DEFAULT CHARSET=utf8
17INSERT INTO scores (name, score) VALUES("Taro Yamada", 29);
18INSERT INTO scores (name, score) VALUES("Taro Yamada", -12);
19INSERT INTO scores (name, score) VALUES("Jiro Yamada", 27);
20INSERT INTO scores (name, score) VALUES("Taro Yamada", 10);
21SELECT * FROM scores;
22id name score
231 Taro Yamada 29
242 Taro Yamada -12
253 Jiro Yamada 27
264 Taro Yamada 10
27REPLACE scores (id, name, score) VALUES (3, "Taro Yamada", 28);
28SELECT * FROM scores;
29id name score
301 Taro Yamada 29
312 Taro Yamada -12
323 Taro Yamada 28
334 Taro Yamada 10
34SELECT * FROM scores WHERE name = "Taro Yamada" AND (score >= -12 AND score < 29);
35id name score
362 Taro Yamada -12
374 Taro Yamada 10
383 Taro Yamada 28
39DROP TABLE scores;
040
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_index_select_double.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_index_select_double.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_index_select_double.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,28 @@
1DROP TABLE IF EXISTS temperatures;
2CREATE TABLE temperatures (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title VARCHAR(20),
5temperature DOUBLE,
6KEY temperature_index(temperature),
7KEY multi_index(temperature, title)
8);
9INSERT INTO temperatures VALUES (NULL, "Hot!", 28.2);
10INSERT INTO temperatures VALUES (NULL, "Snow!", -2.8);
11INSERT INTO temperatures VALUES (NULL, "Rainy!", 12.7);
12SELECT temperature FROM temperatures WHERE temperature BETWEEN 10 AND 30;
13temperature
1412.7
1528.2
16SELECT temperature FROM temperatures WHERE temperature BETWEEN -10 AND 20;
17temperature
18-2.8
1912.7
20SELECT title, temperature FROM temperatures WHERE temperature BETWEEN 10 AND 30;
21title temperature
22Rainy! 12.7
23Hot! 28.2
24SELECT title, temperature FROM temperatures WHERE temperature BETWEEN -10 AND 20;
25title temperature
26Snow! -2.8
27Rainy! 12.7
28DROP TABLE temperatures;
029
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_index_select_float.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_index_select_float.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_index_select_float.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,28 @@
1DROP TABLE IF EXISTS temperatures;
2CREATE TABLE temperatures (
3id INT PRIMARY KEY AUTO_INCREMENT,
4title VARCHAR(20),
5temperature FLOAT,
6KEY temperature_index(temperature),
7KEY multi_index(temperature, title)
8);
9INSERT INTO temperatures VALUES (NULL, "Hot!", 28.2);
10INSERT INTO temperatures VALUES (NULL, "Snow!", -2.8);
11INSERT INTO temperatures VALUES (NULL, "Rainy!", 12.7);
12SELECT temperature FROM temperatures WHERE temperature BETWEEN 10 AND 30;
13temperature
1412.7
1528.2
16SELECT temperature FROM temperatures WHERE temperature BETWEEN -10 AND 20;
17temperature
18-2.8
1912.7
20SELECT title, temperature FROM temperatures WHERE temperature BETWEEN 10 AND 30;
21title temperature
22Rainy! 12.7
23Hot! 28.2
24SELECT title, temperature FROM temperatures WHERE temperature BETWEEN -10 AND 20;
25title temperature
26Snow! -2.8
27Rainy! 12.7
28DROP TABLE temperatures;
029
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_index_select_int.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_index_select_int.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_index_select_int.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,37 @@
1DROP TABLE IF EXISTS listing;
2CREATE TABLE scores (
3id INT PRIMARY KEY AUTO_INCREMENT NOT NULL,
4name CHAR(30) NOT NULL,
5score INT NOT NULL,
6INDEX property (score, name)
7) DEFAULT CHARSET=UTF8;
8SHOW CREATE TABLE scores;
9Table Create Table
10scores CREATE TABLE `scores` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `name` char(30) NOT NULL,
13 `score` int(11) NOT NULL,
14 PRIMARY KEY (`id`),
15 KEY `property` (`score`,`name`)
16) ENGINE=mroonga DEFAULT CHARSET=utf8
17INSERT INTO scores (name, score) VALUES("Taro Yamada", 29);
18INSERT INTO scores (name, score) VALUES("Taro Yamada", -12);
19INSERT INTO scores (name, score) VALUES("Jiro Yamada", 27);
20INSERT INTO scores (name, score) VALUES("Taro Yamada", 10);
21SELECT * FROM scores;
22id name score
231 Taro Yamada 29
242 Taro Yamada -12
253 Jiro Yamada 27
264 Taro Yamada 10
27SELECT * FROM scores WHERE score = 29;
28id name score
291 Taro Yamada 29
30SELECT * FROM scores WHERE score = 29 AND name = "Taro Yamada";
31id name score
321 Taro Yamada 29
33SELECT * FROM scores WHERE (score >= -12 AND score < 29) AND name = "Taro Yamada";
34id name score
352 Taro Yamada -12
364 Taro Yamada 10
37DROP TABLE scores;
038
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_index_select_string.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_index_select_string.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_index_select_string.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,40 @@
1drop table if exists listing;
2set names utf8;
3create table listing (
4id int primary key auto_increment not null,
5last_name char(30) not null,
6first_name char(30) not null,
7index name (last_name, first_name)
8) default charset utf8;
9show create table listing;
10Table Create Table
11listing CREATE TABLE `listing` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `last_name` char(30) NOT NULL,
14 `first_name` char(30) NOT NULL,
15 PRIMARY KEY (`id`),
16 KEY `name` (`last_name`,`first_name`)
17) ENGINE=mroonga DEFAULT CHARSET=utf8
18insert into listing (last_name, first_name) values("Taro", "Yamada");
19insert into listing (last_name, first_name) values("Taro", "Suzuki");
20insert into listing (last_name, first_name) values("Jiro", "Yamada");
21insert into listing (last_name, first_name) values("Taro", "Tanaka");
22select * from listing;
23id last_name first_name
241 Taro Yamada
252 Taro Suzuki
263 Jiro Yamada
274 Taro Tanaka
28select * from listing where last_name = "Taro";
29id last_name first_name
302 Taro Suzuki
314 Taro Tanaka
321 Taro Yamada
33select * from listing where last_name = "Taro" and first_name = "Suzuki";
34id last_name first_name
352 Taro Suzuki
36select * from listing where last_name = "Taro" and (first_name >= "S" and first_name <= "Y");
37id last_name first_name
382 Taro Suzuki
394 Taro Tanaka
40drop table listing;
041
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_index_select_varchar.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_index_select_varchar.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_index_select_varchar.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,39 @@
1drop table if exists scores;
2set names utf8;
3create table scores (
4given_name varchar(30) not null,
5family_name varchar(30) not null,
6score int not null,
7primary key property (given_name, family_name, score)
8) default charset utf8;
9show create table scores;
10Table Create Table
11scores CREATE TABLE `scores` (
12 `given_name` varchar(30) NOT NULL,
13 `family_name` varchar(30) NOT NULL,
14 `score` int(11) NOT NULL,
15 PRIMARY KEY (`given_name`,`family_name`,`score`)
16) ENGINE=mroonga DEFAULT CHARSET=utf8
17insert into scores values("Taro", "Yamada", 29);
18insert into scores values("Taro", "Yamada", -12);
19insert into scores values("Jiro", "Yamada", 27);
20insert into scores values("Taro", "Yamada", 10);
21select * from scores;
22given_name family_name score
23Jiro Yamada 27
24Taro Yamada -12
25Taro Yamada 10
26Taro Yamada 29
27select * from scores where given_name = "Taro" and family_name = "Yamada";
28given_name family_name score
29Taro Yamada -12
30Taro Yamada 10
31Taro Yamada 29
32select * from scores where given_name = "Taro" and family_name = "Yamada" and score = 29;
33given_name family_name score
34Taro Yamada 29
35select * from scores where given_name = "Taro" and family_name = "Yamada" and (score >= -12 and score < 29);
36given_name family_name score
37Taro Yamada -12
38Taro Yamada 10
39drop table scores;
040
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_index_update.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_index_update.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_index_update.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,34 @@
1drop table if exists listing;
2set names utf8;
3create table scores (
4id int primary key auto_increment not null,
5name char(30) not null,
6score int not null,
7index property (name, score)
8) default charset utf8;
9show create table scores;
10Table Create Table
11scores CREATE TABLE `scores` (
12 `id` int(11) NOT NULL AUTO_INCREMENT,
13 `name` char(30) NOT NULL,
14 `score` int(11) NOT NULL,
15 PRIMARY KEY (`id`),
16 KEY `property` (`name`,`score`)
17) ENGINE=mroonga DEFAULT CHARSET=utf8
18insert into scores (name, score) values("Taro Yamada", 29);
19insert into scores (name, score) values("Taro Yamada", -12);
20insert into scores (name, score) values("Jiro Yamada", 27);
21insert into scores (name, score) values("Taro Yamada", 10);
22select * from scores;
23id name score
241 Taro Yamada 29
252 Taro Yamada -12
263 Jiro Yamada 27
274 Taro Yamada 10
28update scores set name = "Taro Yamada" where name = "Jiro Yamada" and score = 27;
29select * from scores where name = "Taro Yamada" and (score >= -12 and score < 29);
30id name score
312 Taro Yamada -12
324 Taro Yamada 10
333 Taro Yamada 27
34drop table scores;
035
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_index_update_int.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_index_update_int.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_index_update_int.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,30 @@
1DROP TABLE IF EXISTS scores;
2CREATE TABLE scores (
3id INT PRIMARY KEY AUTO_INCREMENT NOT NULL,
4name CHAR(30) NOT NULL,
5score INT NOT NULL,
6KEY property (score, name)
7) DEFAULT CHARSET=UTF8;
8SHOW CREATE TABLE scores;
9Table Create Table
10scores CREATE TABLE `scores` (
11 `id` int(11) NOT NULL AUTO_INCREMENT,
12 `name` char(30) NOT NULL,
13 `score` int(11) NOT NULL,
14 PRIMARY KEY (`id`),
15 KEY `property` (`score`,`name`)
16) ENGINE=mroonga DEFAULT CHARSET=utf8
17INSERT INTO scores (name, score) VALUES("Taro Yamada", 29);
18INSERT INTO scores (name, score) VALUES("Taro Yamada", -12);
19INSERT INTO scores (name, score) VALUES("Jiro Yamada", 29);
20INSERT INTO scores (name, score) VALUES("Taro Yamada", 10);
21SELECT * FROM scores WHERE score = 29;
22id name score
233 Jiro Yamada 29
241 Taro Yamada 29
25UPDATE scores SET name = "Saburo YAMADA" WHERE id = 3;
26SELECT * FROM scores WHERE score = 29;
27id name score
283 Saburo YAMADA 29
291 Taro Yamada 29
30DROP TABLE scores;
031
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_delete.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_delete.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_delete.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,29 @@
1drop table if exists listing;
2set names utf8;
3create table scores (
4name char(30) not null,
5score int not null,
6primary key (name, score)
7) default charset utf8;
8show create table scores;
9Table Create Table
10scores CREATE TABLE `scores` (
11 `name` char(30) NOT NULL,
12 `score` int(11) NOT NULL,
13 PRIMARY KEY (`name`,`score`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15insert into scores (name, score) values("Taro Yamada", 29);
16insert into scores (name, score) values("Taro Yamada", -12);
17insert into scores (name, score) values("Jiro Yamada", 27);
18insert into scores (name, score) values("Taro Yamada", 10);
19select * from scores;
20name score
21Jiro Yamada 27
22Taro Yamada -12
23Taro Yamada 10
24Taro Yamada 29
25delete from scores where name = "Taro Yamada" and score = 10;
26select * from scores where name = "Taro Yamada" and (score >= -12 and score < 29);
27name score
28Taro Yamada -12
29drop table scores;
030
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_select_int.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_select_int.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_select_int.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,37 @@
1drop table if exists listing;
2set names utf8;
3create table scores (
4name char(30) not null,
5score int not null,
6primary key (name, score)
7) default charset utf8;
8show create table scores;
9Table Create Table
10scores CREATE TABLE `scores` (
11 `name` char(30) NOT NULL,
12 `score` int(11) NOT NULL,
13 PRIMARY KEY (`name`,`score`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15insert into scores (name, score) values("Taro Yamada", 29);
16insert into scores (name, score) values("Taro Yamada", -12);
17insert into scores (name, score) values("Jiro Yamada", 27);
18insert into scores (name, score) values("Taro Yamada", 10);
19select * from scores;
20name score
21Jiro Yamada 27
22Taro Yamada -12
23Taro Yamada 10
24Taro Yamada 29
25select * from scores where name = "Taro Yamada";
26name score
27Taro Yamada -12
28Taro Yamada 10
29Taro Yamada 29
30select * from scores where name = "Taro Yamada" and score = 29;
31name score
32Taro Yamada 29
33select * from scores where name = "Taro Yamada" and (score >= -12 and score < 29);
34name score
35Taro Yamada -12
36Taro Yamada 10
37drop table scores;
038
=== added file 'mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_update.result'
--- mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_update.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/multiple_column_primary_key_update.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,32 @@
1drop table if exists listing;
2set names utf8;
3create table scores (
4name char(30) not null,
5score int not null,
6primary key (name, score)
7) default charset utf8;
8show create table scores;
9Table Create Table
10scores CREATE TABLE `scores` (
11 `name` char(30) NOT NULL,
12 `score` int(11) NOT NULL,
13 PRIMARY KEY (`name`,`score`)
14) ENGINE=mroonga DEFAULT CHARSET=utf8
15insert into scores (name, score) values("Taro Yamada", 29);
16insert into scores (name, score) values("Taro Yamada", -12);
17insert into scores (name, score) values("Jiro Yamada", 27);
18insert into scores (name, score) values("Taro Yamada", 10);
19select * from scores;
20name score
21Jiro Yamada 27
22Taro Yamada -12
23Taro Yamada 10
24Taro Yamada 29
25update scores set name = "Taro Yamada" where name = "Jiro Yamada" and score = 27;
26Warnings:
27Warning 1265 data truncated for primary key column: <name>
28select * from scores where name = "Taro Yamada" and (score >= -12 and score < 29);
29name score
30Taro Yamada -12
31Taro Yamada 10
32drop table scores;
033
=== added file 'mysql-test/suite/mroonga_storage/r/optimization_order_limit_disabled.result'
--- mysql-test/suite/mroonga_storage/r/optimization_order_limit_disabled.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/optimization_order_limit_disabled.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,47 @@
1DROP TABLE IF EXISTS diaries;
2FLUSH STATUS;
3SET NAMES UTF8;
4CREATE TABLE diaries (
5id INT UNSIGNED NOT NULL,
6year INT UNSIGNED,
7month INT UNSIGNED,
8day INT UNSIGNED,
9title VARCHAR(255),
10content TEXT,
11FULLTEXT INDEX(content),
12KEY(month),
13KEY(day)
14) DEFAULT CHARSET UTF8;
15SHOW CREATE TABLE diaries;
16Table Create Table
17diaries CREATE TABLE `diaries` (
18 `id` int(10) unsigned NOT NULL,
19 `year` int(10) unsigned DEFAULT NULL,
20 `month` int(10) unsigned DEFAULT NULL,
21 `day` int(10) unsigned DEFAULT NULL,
22 `title` varchar(255) DEFAULT NULL,
23 `content` text,
24 KEY `month` (`month`),
25 KEY `day` (`day`),
26 FULLTEXT KEY `content` (`content`)
27) ENGINE=mroonga DEFAULT CHARSET=utf8
28INSERT INTO diaries VALUES(1, 2011, 11, 9, "Hello", "今日�ら������。");
29INSERT INTO diaries VALUES(2, 2011, 11, 10, "天気", "明日�富士山�天気����");
30INSERT INTO diaries VALUES(3, 2011, 11, 11, "富士山", "今日も天気�よ���れ��見�る。");
31INSERT INTO diaries VALUES(4, 2011, 11, 12, "帰り�", "今日�天気�よ��よ���。");
32INSERT INTO diaries VALUES(5, 2011, 11, 13, "�れ", "天気�よ���今日�����。");
33INSERT INTO diaries VALUES(6, 2011, 12, 1, "久��り", "天気�悪��ら���留守番。");
34INSERT INTO diaries VALUES(7, 2011, 12, 2, "�雪", "今日�天気�雪�");
35SET mroonga_enable_optimization=FALSE;
36SELECT * FROM diaries
37WHERE MATCH(content) AGAINST("今日" IN BOOLEAN MODE) AND
38month = 11
39ORDER BY day LIMIT 1,2;
40id year month day title content
413 2011 11 11 富士山 今日も天気�よ���れ��見�る。
424 2011 11 12 帰り� 今日�天気�よ��よ���。
43SHOW STATUS LIKE 'mroonga_fast_order_limit';
44Variable_name Value
45mroonga_fast_order_limit 0
46SET mroonga_enable_optimization=TRUE;
47DROP TABLE diaries;
048
=== added file 'mysql-test/suite/mroonga_storage/r/optimization_order_limit_equal_int.result'
--- mysql-test/suite/mroonga_storage/r/optimization_order_limit_equal_int.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/optimization_order_limit_equal_int.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,45 @@
1DROP TABLE IF EXISTS diaries;
2FLUSH STATUS;
3SET NAMES UTF8;
4CREATE TABLE diaries (
5id INT UNSIGNED NOT NULL,
6year INT UNSIGNED,
7month INT UNSIGNED,
8day INT UNSIGNED,
9title VARCHAR(255),
10content TEXT,
11FULLTEXT INDEX(content),
12KEY(month),
13KEY(day)
14) DEFAULT CHARSET UTF8;
15SHOW CREATE TABLE diaries;
16Table Create Table
17diaries CREATE TABLE `diaries` (
18 `id` int(10) unsigned NOT NULL,
19 `year` int(10) unsigned DEFAULT NULL,
20 `month` int(10) unsigned DEFAULT NULL,
21 `day` int(10) unsigned DEFAULT NULL,
22 `title` varchar(255) DEFAULT NULL,
23 `content` text,
24 KEY `month` (`month`),
25 KEY `day` (`day`),
26 FULLTEXT KEY `content` (`content`)
27) ENGINE=mroonga DEFAULT CHARSET=utf8
28INSERT INTO diaries VALUES(1, 2011, 11, 9, "Hello", "今日�ら������。");
29INSERT INTO diaries VALUES(2, 2011, 11, 10, "天気", "明日�富士山�天気����");
30INSERT INTO diaries VALUES(3, 2011, 11, 11, "富士山", "今日も天気�よ���れ��見�る。");
31INSERT INTO diaries VALUES(4, 2011, 11, 12, "帰り�", "今日�天気�よ��よ���。");
32INSERT INTO diaries VALUES(5, 2011, 11, 13, "�れ", "天気�よ���今日�����。");
33INSERT INTO diaries VALUES(6, 2011, 12, 1, "久��り", "天気�悪��ら���留守番。");
34INSERT INTO diaries VALUES(7, 2011, 12, 2, "�雪", "今日�天気�雪�");
35SELECT * FROM diaries
36WHERE MATCH(content) AGAINST("今日" IN BOOLEAN MODE) AND
37month = 11
38ORDER BY day LIMIT 1,2;
39id year month day title content
403 2011 11 11 富士山 今日も天気�よ���れ��見�る。
414 2011 11 12 帰り� 今日�天気�よ��よ���。
42SHOW STATUS LIKE 'mroonga_fast_order_limit';
43Variable_name Value
44mroonga_fast_order_limit 1
45DROP TABLE diaries;
046
=== added file 'mysql-test/suite/mroonga_storage/r/optimization_order_limit_have_primary_key.result'
--- mysql-test/suite/mroonga_storage/r/optimization_order_limit_have_primary_key.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/optimization_order_limit_have_primary_key.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,43 @@
1DROP TABLE IF EXISTS diaries;
2FLUSH STATUS;
3SET NAMES UTF8;
4CREATE TABLE diaries (
5id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
6year INT UNSIGNED,
7month INT UNSIGNED,
8day INT UNSIGNED,
9title VARCHAR(255),
10content TEXT,
11FULLTEXT INDEX(content),
12KEY(day)
13) DEFAULT CHARSET UTF8;
14SHOW CREATE TABLE diaries;
15Table Create Table
16diaries CREATE TABLE `diaries` (
17 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
18 `year` int(10) unsigned DEFAULT NULL,
19 `month` int(10) unsigned DEFAULT NULL,
20 `day` int(10) unsigned DEFAULT NULL,
21 `title` varchar(255) DEFAULT NULL,
22 `content` text,
23 PRIMARY KEY (`id`),
24 KEY `day` (`day`),
25 FULLTEXT KEY `content` (`content`)
26) ENGINE=mroonga DEFAULT CHARSET=utf8
27INSERT INTO diaries VALUES(1, 2011, 11, 9, "Hello", "今日�ら������。");
28INSERT INTO diaries VALUES(2, 2011, 11, 10, "天気", "明日�富士山�天気����");
29INSERT INTO diaries VALUES(3, 2011, 11, 11, "富士山", "今日も天気�よ���れ��見�る。");
30INSERT INTO diaries VALUES(4, 2011, 11, 11, "帰り�", "今日�天気�よ��よ���。");
31INSERT INTO diaries VALUES(5, 2011, 12, 1, "久��り", "天気�悪��ら���留守番。");
32INSERT INTO diaries VALUES(6, 2011, 12, 2, "�雪", "今日�天気�雪�");
33SELECT * FROM diaries WHERE MATCH(content) AGAINST("今日 天気" IN BOOLEAN MODE) ORDER BY day LIMIT 0,5;
34id year month day title content
355 2011 12 1 久��り 天気�悪��ら���留守番。
366 2011 12 2 �雪 今日�天気�雪�
371 2011 11 9 Hello 今日�ら������。
382 2011 11 10 天気 明日�富士山�天気����
394 2011 11 11 帰り� 今日�天気�よ��よ���。
40SHOW STATUS LIKE 'mroonga_fast_order_limit';
41Variable_name Value
42mroonga_fast_order_limit 1
43DROP TABLE diaries;
044
=== added file 'mysql-test/suite/mroonga_storage/r/optimization_order_limit_no_primary_key.result'
--- mysql-test/suite/mroonga_storage/r/optimization_order_limit_no_primary_key.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/optimization_order_limit_no_primary_key.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,42 @@
1DROP TABLE IF EXISTS diaries;
2FLUSH STATUS;
3SET NAMES UTF8;
4CREATE TABLE diaries (
5id INT UNSIGNED NOT NULL,
6year INT UNSIGNED,
7month INT UNSIGNED,
8day INT UNSIGNED,
9title VARCHAR(255),
10content TEXT,
11FULLTEXT INDEX(content),
12KEY(day)
13) DEFAULT CHARSET UTF8;
14SHOW CREATE TABLE diaries;
15Table Create Table
16diaries CREATE TABLE `diaries` (
17 `id` int(10) unsigned NOT NULL,
18 `year` int(10) unsigned DEFAULT NULL,
19 `month` int(10) unsigned DEFAULT NULL,
20 `day` int(10) unsigned DEFAULT NULL,
21 `title` varchar(255) DEFAULT NULL,
22 `content` text,
23 KEY `day` (`day`),
24 FULLTEXT KEY `content` (`content`)
25) ENGINE=mroonga DEFAULT CHARSET=utf8
26INSERT INTO diaries VALUES(1, 2011, 11, 9, "Hello", "今日�ら������。");
27INSERT INTO diaries VALUES(2, 2011, 11, 10, "天気", "明日�富士山�天気����");
28INSERT INTO diaries VALUES(3, 2011, 11, 11, "富士山", "今日も天気�よ���れ��見�る。");
29INSERT INTO diaries VALUES(4, 2011, 11, 11, "帰り�", "今日�天気�よ��よ���。");
30INSERT INTO diaries VALUES(5, 2011, 12, 1, "久��り", "天気�悪��ら���留守番。");
31INSERT INTO diaries VALUES(6, 2011, 12, 2, "�雪", "今日�天気�雪�");
32SELECT * FROM diaries WHERE MATCH(content) AGAINST("今日 天気" IN BOOLEAN MODE) ORDER BY day LIMIT 0,5;
33id year month day title content
345 2011 12 1 久��り 天気�悪��ら���留守番。
356 2011 12 2 �雪 今日�天気�雪�
361 2011 11 9 Hello 今日�ら������。
372 2011 11 10 天気 明日�富士山�天気����
384 2011 11 11 帰り� 今日�天気�よ��よ���。
39SHOW STATUS LIKE 'mroonga_fast_order_limit';
40Variable_name Value
41mroonga_fast_order_limit 1
42DROP TABLE diaries;
043
=== added file 'mysql-test/suite/mroonga_storage/r/optimization_order_limit_todo_split_me.result'
--- mysql-test/suite/mroonga_storage/r/optimization_order_limit_todo_split_me.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/optimization_order_limit_todo_split_me.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,136 @@
1drop table if exists t1;
2flush status;
3create table t1 (c1 int primary key, c2 int, c3 text, _id int, key idx1(c2), fulltext index ft(c3)) default charset utf8;
4insert into t1 values(1,10,"aa ii uu ee oo",null);
5insert into t1 values(2,20,"ka ki ku ke ko",null);
6insert into t1 values(3,30,"ii si ii se ii",null);
7insert into t1 values(4,40,"ta ti tu te to",null);
8insert into t1 values(5,50,"aa ii uu ii oo",null);
9show status like 'mroonga_fast_order_limit';
10Variable_name Value
11mroonga_fast_order_limit 0
12select *, match(c3) against("ii") from t1 where match(c3) against("ii") order by c1 desc;
13c1 c2 c3 _id match(c3) against("ii")
145 50 aa ii uu ii oo 5 349526
153 30 ii si ii se ii 3 524289
161 10 aa ii uu ee oo 1 174763
17show status like 'mroonga_fast_order_limit';
18Variable_name Value
19mroonga_fast_order_limit 0
20select *, match(c3) against("ii") from t1 where match(c3) against("ii") order by c1 desc limit 1;
21c1 c2 c3 _id match(c3) against("ii")
225 50 aa ii uu ii oo 5 349526
23show status like 'mroonga_fast_order_limit';
24Variable_name Value
25mroonga_fast_order_limit 1
26select *, match(c3) against("ii") from t1 where match(c3) against("ii") order by c1;
27c1 c2 c3 _id match(c3) against("ii")
281 10 aa ii uu ee oo 1 174763
293 30 ii si ii se ii 3 524289
305 50 aa ii uu ii oo 5 349526
31show status like 'mroonga_fast_order_limit';
32Variable_name Value
33mroonga_fast_order_limit 1
34select *, match(c3) against("ii") from t1 where match(c3) against("ii") order by c1 limit 1;
35c1 c2 c3 _id match(c3) against("ii")
361 10 aa ii uu ee oo 1 174763
37show status like 'mroonga_fast_order_limit';
38Variable_name Value
39mroonga_fast_order_limit 2
40select *, match(c3) against("ii") from t1 where match(c3) against("ii") order by c2 desc;
41c1 c2 c3 _id match(c3) against("ii")
425 50 aa ii uu ii oo 5 349526
433 30 ii si ii se ii 3 524289
441 10 aa ii uu ee oo 1 174763
45show status like 'mroonga_fast_order_limit';
46Variable_name Value
47mroonga_fast_order_limit 2
48select *, match(c3) against("ii") from t1 where match(c3) against("ii") order by c2 desc limit 1;
49c1 c2 c3 _id match(c3) against("ii")
505 50 aa ii uu ii oo 5 349526
51show status like 'mroonga_fast_order_limit';
52Variable_name Value
53mroonga_fast_order_limit 3
54select *, match(c3) against("ii") from t1 where match(c3) against("ii") order by c2;
55c1 c2 c3 _id match(c3) against("ii")
561 10 aa ii uu ee oo 1 174763
573 30 ii si ii se ii 3 524289
585 50 aa ii uu ii oo 5 349526
59show status like 'mroonga_fast_order_limit';
60Variable_name Value
61mroonga_fast_order_limit 3
62select *, match(c3) against("ii") from t1 where match(c3) against("ii") order by c2 limit 1;
63c1 c2 c3 _id match(c3) against("ii")
641 10 aa ii uu ee oo 1 174763
65show status like 'mroonga_fast_order_limit';
66Variable_name Value
67mroonga_fast_order_limit 4
68select c3, match(c3) against("ii") from t1 where match(c3) against("ii") order by match(c3) against("ii") desc;
69c3 match(c3) against("ii")
70ii si ii se ii 524289
71aa ii uu ii oo 349526
72aa ii uu ee oo 174763
73show status like 'mroonga_fast_order_limit';
74Variable_name Value
75mroonga_fast_order_limit 4
76select c3, match(c3) against("ii") from t1 where match(c3) against("ii") order by match(c3) against("ii") desc limit 1, 1;
77c3 match(c3) against("ii")
78aa ii uu ii oo 349526
79show status like 'mroonga_fast_order_limit';
80Variable_name Value
81mroonga_fast_order_limit 5
82select c3, match(c3) against("ii") from t1 where match(c3) against("ii") order by match(c3) against("ii");
83c3 match(c3) against("ii")
84aa ii uu ee oo 174763
85aa ii uu ii oo 349526
86ii si ii se ii 524289
87show status like 'mroonga_fast_order_limit';
88Variable_name Value
89mroonga_fast_order_limit 5
90select c3, match(c3) against("ii") from t1 where match(c3) against("ii") order by match(c3) against("ii") limit 1;
91c3 match(c3) against("ii")
92aa ii uu ee oo 174763
93show status like 'mroonga_fast_order_limit';
94Variable_name Value
95mroonga_fast_order_limit 6
96select c3, _id from t1 where match(c3) against("ii") order by _id desc;
97c3 _id
98aa ii uu ii oo 5
99ii si ii se ii 3
100aa ii uu ee oo 1
101show status like 'mroonga_fast_order_limit';
102Variable_name Value
103mroonga_fast_order_limit 6
104select c3, _id from t1 where match(c3) against("ii") order by _id desc limit 1;
105c3 _id
106aa ii uu ii oo 5
107show status like 'mroonga_fast_order_limit';
108Variable_name Value
109mroonga_fast_order_limit 7
110select c3, _id from t1 where match(c3) against("ii") order by _id;
111c3 _id
112aa ii uu ee oo 1
113ii si ii se ii 3
114aa ii uu ii oo 5
115show status like 'mroonga_fast_order_limit';
116Variable_name Value
117mroonga_fast_order_limit 7
118select c3, _id from t1 where match(c3) against("ii") order by _id limit 1;
119c3 _id
120aa ii uu ee oo 1
121show status like 'mroonga_fast_order_limit';
122Variable_name Value
123mroonga_fast_order_limit 8
124select count(*) from t1 where match(c3) against("ii");
125count(*)
1263
127show status like 'mroonga_fast_order_limit';
128Variable_name Value
129mroonga_fast_order_limit 8
130select *, match(c3) against("ii") from t1 where match(c3) against("ii") order by c1 desc limit 1;
131c1 c2 c3 _id match(c3) against("ii")
1325 50 aa ii uu ii oo 5 349526
133show status like 'mroonga_fast_order_limit';
134Variable_name Value
135mroonga_fast_order_limit 9
136drop table t1;
0137
=== added file 'mysql-test/suite/mroonga_storage/r/optimization_skip_count_after_insert_multithread.result'
--- mysql-test/suite/mroonga_storage/r/optimization_skip_count_after_insert_multithread.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/optimization_skip_count_after_insert_multithread.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,19 @@
1DROP TABLE IF EXISTS diaries;
2FLUSH STATUS;
3CREATE TABLE diaries (
4title TEXT,
5FULLTEXT INDEX ft(title)
6);
7INSERT INTO diaries VALUES("Hello mroonga!");
8INSERT INTO diaries VALUES("It's funny.");
9INSERT INTO diaries VALUES("Happy birthday!");
10SHOW STATUS LIKE 'mroonga_count_skip';
11Variable_name Value
12mroonga_count_skip 0
13SELECT COUNT(*) FROM diaries WHERE MATCH(title) AGAINST("mroonga" IN BOOLEAN MODE);
14COUNT(*)
151
16SHOW STATUS LIKE 'mroonga_count_skip';
17Variable_name Value
18mroonga_count_skip 1
19DROP TABLE diaries;
020
=== added file 'mysql-test/suite/mroonga_storage/r/optimization_skip_count_after_insert_single_thread.result'
--- mysql-test/suite/mroonga_storage/r/optimization_skip_count_after_insert_single_thread.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/optimization_skip_count_after_insert_single_thread.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,19 @@
1DROP TABLE IF EXISTS diaries;
2FLUSH STATUS;
3CREATE TABLE diaries (
4title TEXT,
5FULLTEXT INDEX ft(title)
6);
7INSERT INTO diaries VALUES("Hello mroonga!");
8INSERT INTO diaries VALUES("It's funny.");
9INSERT INTO diaries VALUES("Happy birthday!");
10SHOW STATUS LIKE 'mroonga_count_skip';
11Variable_name Value
12mroonga_count_skip 0
13SELECT COUNT(*) FROM diaries WHERE MATCH(title) AGAINST("mroonga" IN BOOLEAN MODE);
14COUNT(*)
151
16SHOW STATUS LIKE 'mroonga_count_skip';
17Variable_name Value
18mroonga_count_skip 1
19DROP TABLE diaries;
020
=== added file 'mysql-test/suite/mroonga_storage/r/optimization_skip_count_disabled.result'
--- mysql-test/suite/mroonga_storage/r/optimization_skip_count_disabled.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/optimization_skip_count_disabled.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,32 @@
1DROP TABLE IF EXISTS diaries;
2FLUSH STATUS;
3SET NAMES UTF8;
4CREATE TABLE diaries (
5id INT UNSIGNED NOT NULL,
6title VARCHAR(255),
7content TEXT,
8FULLTEXT INDEX(content)
9) DEFAULT CHARSET UTF8;
10SHOW CREATE TABLE diaries;
11Table Create Table
12diaries CREATE TABLE `diaries` (
13 `id` int(10) unsigned NOT NULL,
14 `title` varchar(255) DEFAULT NULL,
15 `content` text,
16 FULLTEXT KEY `content` (`content`)
17) ENGINE=mroonga DEFAULT CHARSET=utf8
18INSERT INTO diaries VALUES(1, "Hello", "今日�ら������。");
19INSERT INTO diaries VALUES(2, "天気", "明日�富士山�天気����");
20INSERT INTO diaries VALUES(3, "富士山", "今日も天気�よ���れ��見�る。");
21INSERT INTO diaries VALUES(4, "帰り�", "今日�天気�よ��よ���。");
22INSERT INTO diaries VALUES(5, "�れ", "天気�よ���今日�����。");
23SET mroonga_enable_optimization=FALSE;
24SELECT COUNT(*) FROM diaries
25WHERE MATCH(content) AGAINST("今日" IN BOOLEAN MODE);
26COUNT(*)
274
28SHOW STATUS LIKE 'mroonga_count_skip';
29Variable_name Value
30mroonga_count_skip 0
31SET mroonga_enable_optimization=TRUE;
32DROP TABLE diaries;
033
=== added file 'mysql-test/suite/mroonga_storage/r/optimization_skip_count_index_view.result'
--- mysql-test/suite/mroonga_storage/r/optimization_skip_count_index_view.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/optimization_skip_count_index_view.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,28 @@
1DROP TABLE IF EXISTS diaries, users;
2CREATE TABLE diaries (
3id INT PRIMARY KEY AUTO_INCREMENT,
4user_id INT NOT NULL,
5title VARCHAR(45) NOT NULL,
6KEY (user_id),
7FULLTEXT INDEX title_index (title)
8) DEFAULT CHARSET=UTF8;
9CREATE TABLE users (
10id INT PRIMARY KEY AUTO_INCREMENT,
11name VARCHAR(45) NOT NULL,
12INDEX (name)
13) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
14INSERT INTO users (id, name) VALUES (1, "Alice"), (2, "Bob");
15INSERT INTO diaries (user_id, title) VALUES (1, "survey");
16INSERT INTO diaries (user_id, title) VALUES (2, "groonga (1)");
17INSERT INTO diaries (user_id, title) VALUES (2, "groonga (2)");
18CREATE VIEW articles AS
19SELECT diaries.user_id AS user_id,
20diaries.title AS title,
21users.name AS name
22FROM diaries, users
23WHERE diaries.user_id = users.id;
24SELECT COUNT(*) FROM articles WHERE name = 'Bob';
25COUNT(*)
262
27DROP VIEW articles;
28DROP TABLE diaries, users;
029
=== added file 'mysql-test/suite/mroonga_storage/r/optimization_skip_count_todo_split_me.result'
--- mysql-test/suite/mroonga_storage/r/optimization_skip_count_todo_split_me.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/optimization_skip_count_todo_split_me.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,106 @@
1drop table if exists t1, t2, t3;
2flush status;
3create table t1 (c1 int primary key, c2 int, c3 text, key idx1(c2), fulltext index ft(c3));
4insert into t1 values(1,10,"aa ii uu ee oo");
5insert into t1 values(2,20,"ka ki ku ke ko");
6insert into t1 values(3,30,"sa si su se so");
7insert into t1 values(4,40,"ta ti tu te to");
8insert into t1 values(5,50,"aa ii uu ee oo");
9show status like 'mroonga_count_skip';
10Variable_name Value
11mroonga_count_skip 0
12select * from t1;
13c1 c2 c3
141 10 aa ii uu ee oo
152 20 ka ki ku ke ko
163 30 sa si su se so
174 40 ta ti tu te to
185 50 aa ii uu ee oo
19show status like 'mroonga_count_skip';
20Variable_name Value
21mroonga_count_skip 0
22select count(*) from t1;
23count(*)
245
25show status like 'mroonga_count_skip';
26Variable_name Value
27mroonga_count_skip 0
28select * from t1 force index(primary) where c1 between 2 and 4;
29c1 c2 c3
302 20 ka ki ku ke ko
313 30 sa si su se so
324 40 ta ti tu te to
33show status like 'mroonga_count_skip';
34Variable_name Value
35mroonga_count_skip 0
36select count(*) from t1 force index(primary) where c1 between 2 and 4;
37count(*)
383
39show status like 'mroonga_count_skip';
40Variable_name Value
41mroonga_count_skip 1
42select c1 from t1 force index(primary) where c1 < 3;
43c1
441
452
46show status like 'mroonga_count_skip';
47Variable_name Value
48mroonga_count_skip 1
49select count(c1) from t1 force index(primary) where c1 < 3;
50count(c1)
512
52show status like 'mroonga_count_skip';
53Variable_name Value
54mroonga_count_skip 1
55select 1 from t1 force index(primary) where c1 > 3;
561
571
581
59show status like 'mroonga_count_skip';
60Variable_name Value
61mroonga_count_skip 1
62select count(1) from t1 force index(primary) where c1 > 3;
63count(1)
642
65show status like 'mroonga_count_skip';
66Variable_name Value
67mroonga_count_skip 2
68select * from t1 where match(c3) against("su");
69c1 c2 c3
703 30 sa si su se so
71show status like 'mroonga_count_skip';
72Variable_name Value
73mroonga_count_skip 2
74select count(*) from t1 where match(c3) against("su");
75count(*)
761
77show status like 'mroonga_count_skip';
78Variable_name Value
79mroonga_count_skip 3
80select * from t1 where match(c3) against("+su" in boolean mode);
81c1 c2 c3
823 30 sa si su se so
83show status like 'mroonga_count_skip';
84Variable_name Value
85mroonga_count_skip 3
86select count(*) from t1 where match(c3) against("+su" in boolean mode);
87count(*)
881
89show status like 'mroonga_count_skip';
90Variable_name Value
91mroonga_count_skip 4
92select * from t1 force index(idx1) where c2 between 20 and 40;
93c1 c2 c3
942 20 ka ki ku ke ko
953 30 sa si su se so
964 40 ta ti tu te to
97show status like 'mroonga_count_skip';
98Variable_name Value
99mroonga_count_skip 4
100select count(*) from t1 force index(idx1) where c2 between 20 and 40;
101count(*)
1023
103show status like 'mroonga_count_skip';
104Variable_name Value
105mroonga_count_skip 5
106drop table t1;
0107
=== added file 'mysql-test/suite/mroonga_storage/r/primary_key_date.result'
--- mysql-test/suite/mroonga_storage/r/primary_key_date.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/primary_key_date.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,28 @@
1DROP TABLE IF EXISTS diaries;
2CREATE TABLE diaries (
3day DATE PRIMARY KEY,
4title TEXT
5) DEFAULT CHARSET UTF8;
6SHOW CREATE TABLE diaries;
7Table Create Table
8diaries CREATE TABLE `diaries` (
9 `day` date NOT NULL,
10 `title` text,
11 PRIMARY KEY (`day`)
12) ENGINE=mroonga DEFAULT CHARSET=utf8
13INSERT INTO diaries (day, title) VALUES ("2012-01-29", "clear day");
14INSERT INTO diaries (day, title) VALUES ("2012-01-30", "rainy day");
15INSERT INTO diaries (day, title) VALUES ("2012-01-31", "cloudy day");
16INSERT INTO diaries (day, title) VALUES ("2012-01-31", "duplicated day");
17ERROR 23000: Duplicate entry '2012-01-31' for key 'PRIMARY'
18SELECT * FROM diaries;
19day title
202012-01-29 clear day
212012-01-30 rainy day
222012-01-31 cloudy day
23SELECT * FROM diaries
24WHERE day BETWEEN "2012-01-29" AND "2012-01-30";
25day title
262012-01-29 clear day
272012-01-30 rainy day
28DROP TABLE diaries;
029
=== added file 'mysql-test/suite/mroonga_storage/r/primary_key_datetime_with_fractional_seconds.result'
--- mysql-test/suite/mroonga_storage/r/primary_key_datetime_with_fractional_seconds.result 1970-01-01 00:00:00 +0000
+++ mysql-test/suite/mroonga_storage/r/primary_key_datetime_with_fractional_seconds.result 2012-04-27 12:15:31 +0000
@@ -0,0 +1,30 @@
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches