Merge lp:~stewart/drizzle/rename-embedded-innodb-to-haildb into lp:~drizzle-trunk/drizzle/development

Proposed by Stewart Smith
Status: Merged
Approved by: Brian Aker
Approved revision: 1800
Merged at revision: 1806
Proposed branch: lp:~stewart/drizzle/rename-embedded-innodb-to-haildb
Merge into: lp:~drizzle-trunk/drizzle/development
Diff against target: 4624 lines (+828/-829)
142 files modified
plugin/haildb/config_table_function.cc (+1/-1)
plugin/haildb/config_table_function.h (+3/-3)
plugin/haildb/datadict_table_message.cc (+8/-8)
plugin/haildb/haildb_datadict_dump_func.cc (+10/-10)
plugin/haildb/haildb_datadict_dump_func.h (+6/-6)
plugin/haildb/haildb_engine.cc (+454/-454)
plugin/haildb/haildb_engine.h (+16/-17)
plugin/haildb/haildb_version_func.cc (+9/-9)
plugin/haildb/haildb_version_func.h (+6/-6)
plugin/haildb/plugin.ini (+4/-4)
plugin/haildb/status_table_function.cc (+1/-1)
plugin/haildb/status_table_function.h (+3/-3)
plugin/haildb/test-suite-dir/haildb/tests/r/basic_innodb_table_proto_table.result (+16/-16)
plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_flushing_default.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_flushing_off.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_flushing_on.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_hash_index_default.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_hash_index_off.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_hash_index_on.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_additional_mem_pool_size_32m.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_addtl_mem_pool_size_default.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_autoextend_increment_42.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_autoextend_increment_default.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_buffer_pool_size_22m.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_buffer_pool_size_default.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_checksums_disable.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_checksums_enable.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_doublewrite_disable.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_doublewrite_enable.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_file_format.result (+4/-4)
plugin/haildb/test-suite-dir/haildb/tests/r/config_file_per_table_disable.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_file_per_table_enable.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_log_at_trx_commit0.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_log_at_trx_commit1.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_log_at_trx_commit2.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method_fsync.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method_odirect.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method_odsync.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_force_recovery.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_io_capacity.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_lock_wait_timeout_1.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_log_buffer_size_5m.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_log_buffer_size_default.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_log_group_home_dir.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_lru_block_access_recency.result (+5/-5)
plugin/haildb/test-suite-dir/haildb/tests/r/config_lru_old_blocks_pct.result (+5/-5)
plugin/haildb/test-suite-dir/haildb/tests/r/config_max_dirty_pages_pct.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_max_dirty_pages_pct_50.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_max_purge_lag.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_max_purge_lag_42.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_open_files_800.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_open_files_default.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_print_verbose_log.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_print_verbose_log_off.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_print_verbose_log_on.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_read_io_threads_64.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_read_io_threads_default.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_rollback_on_timeout.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_rollback_on_timeout_off.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_rollback_on_timeout_on.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_status_file.result (+29/-29)
plugin/haildb/test-suite-dir/haildb/tests/r/config_sync_spin_loops.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_sync_spin_loops_100.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_table_function.result (+7/-7)
plugin/haildb/test-suite-dir/haildb/tests/r/config_use_internal_malloc.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_use_sys_malloc.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_write_io_threads_64.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/config_write_io_threads_default.result (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/r/datadict_tables.result (+36/-36)
plugin/haildb/test-suite-dir/haildb/tests/r/haildb_datadict_dump_func.result (+4/-4)
plugin/haildb/test-suite-dir/haildb/tests/r/haildb_version_func.result (+2/-2)
plugin/haildb/test-suite-dir/haildb/tests/r/row_format.result (+5/-5)
plugin/haildb/test-suite-dir/haildb/tests/r/row_format_file_per_table.result (+4/-4)
plugin/haildb/test-suite-dir/haildb/tests/r/status_table_function.result (+12/-12)
plugin/haildb/test-suite-dir/haildb/tests/r/type_blob_func.result (+4/-4)
plugin/haildb/test-suite-dir/haildb/tests/t/basic_innodb_table_proto_table.test (+5/-5)
plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_flushing_default.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_flushing_off.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_flushing_on.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_hash_index_default.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_hash_index_off.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_hash_index_on.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_additional_mem_pool_size_32m.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_addtl_mem_pool_size_default.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_autoextend_increment_42.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_autoextend_increment_default.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_buffer_pool_size_22m.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_buffer_pool_size_default.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_checksums_disable.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_checksums_enable.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_doublewrite_disable.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_doublewrite_enable.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_file_format.test (+4/-4)
plugin/haildb/test-suite-dir/haildb/tests/t/config_file_per_table_disable.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_file_per_table_enable.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_log_at_trx_commit0.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_log_at_trx_commit1.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_log_at_trx_commit2.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method_fsync.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method_odirect.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method_odsync.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_force_recovery.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_io_capacity.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_lock_wait_timeout_1.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_log_buffer_size_5m.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_log_buffer_size_default.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_log_group_home_dir.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_lru_block_access_recency.test (+5/-5)
plugin/haildb/test-suite-dir/haildb/tests/t/config_lru_old_blocks_pct.test (+5/-5)
plugin/haildb/test-suite-dir/haildb/tests/t/config_max_dirty_pages_pct.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_max_dirty_pages_pct_50.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_max_purge_lag.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_max_purge_lag_42.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_open_files_800.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_open_files_default.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_print_verbose_log.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_print_verbose_log_off.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_print_verbose_log_on.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_read_io_threads_64.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_read_io_threads_default.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_rollback_on_timeout.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_rollback_on_timeout_off.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_rollback_on_timeout_on.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_status_file.test (+13/-13)
plugin/haildb/test-suite-dir/haildb/tests/t/config_sync_spin_loops.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_sync_spin_loops_100.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_table_function.test (+6/-6)
plugin/haildb/test-suite-dir/haildb/tests/t/config_use_internal_malloc.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_use_sys_malloc.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_write_io_threads_64.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/config_write_io_threads_default.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/datadict_tables.test (+16/-16)
plugin/haildb/test-suite-dir/haildb/tests/t/haildb_datadict_dump_func.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/haildb_version_func.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/master.opt (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/row_format.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/row_format_file_per_table.test (+1/-1)
plugin/haildb/test-suite-dir/haildb/tests/t/status_table_function.test (+11/-11)
plugin/haildb/test-suite-dir/haildb/tests/t/type_blob_func.test (+1/-1)
po/POTFILES.in (+1/-1)
To merge this branch: bzr merge lp:~stewart/drizzle/rename-embedded-innodb-to-haildb
Reviewer Review Type Date Requested Status
Drizzle Merge Team Pending
Review via email: mp+37107@code.launchpad.net

Description of the change

renames embedded_innodb to HailDB everywhere EXCEPT the plugin name (so that ENGINE=InnoDB still works)

NOTE: after this is merged, we shall have to change the hudson jobs to do --plugin_load=haildb and --suite=haildb

To post a comment you must log in.
Revision history for this message
Stewart Smith (stewart) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== renamed directory 'plugin/embedded_innodb' => 'plugin/haildb'
2=== modified file 'plugin/haildb/config_table_function.cc'
3--- plugin/embedded_innodb/config_table_function.cc 2010-08-06 23:03:50 +0000
4+++ plugin/haildb/config_table_function.cc 2010-09-30 08:13:47 +0000
5@@ -62,7 +62,7 @@
6 };
7
8 LibInnoDBConfigTool::LibInnoDBConfigTool() :
9- plugin::TableFunction("DATA_DICTIONARY", "INNODB_CONFIGURATION")
10+ plugin::TableFunction("DATA_DICTIONARY", "HAILDB_CONFIGURATION")
11 {
12 add_field("NAME");
13 add_field("TYPE");
14
15=== modified file 'plugin/haildb/config_table_function.h'
16--- plugin/embedded_innodb/config_table_function.h 2010-05-18 18:20:56 +0000
17+++ plugin/haildb/config_table_function.h 2010-09-30 08:13:47 +0000
18@@ -16,9 +16,9 @@
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 */
21
22-#ifndef PLUGIN_EMBEDDED_INNODB_CONFIG_TABLE_FUNCTION_H
23-#define PLUGIN_EMBEDDED_INNODB_CONFIG_TABLE_FUNCTION_H
24+#ifndef PLUGIN_HAILDB_CONFIG_TABLE_FUNCTION_H
25+#define PLUGIN_HAILDB_CONFIG_TABLE_FUNCTION_H
26
27 int config_table_function_initialize(drizzled::module::Context &context);
28
29-#endif /* PLUGIN_EMBEDDED_INNODB_CONFIG_TABLE_FUNCTION_H */
30+#endif /* PLUGIN_HAILDB_CONFIG_TABLE_FUNCTION_H */
31
32=== modified file 'plugin/haildb/datadict_table_message.cc'
33--- plugin/embedded_innodb/datadict_table_message.cc 2010-09-24 06:59:20 +0000
34+++ plugin/haildb/datadict_table_message.cc 2010-09-30 08:13:47 +0000
35@@ -24,20 +24,20 @@
36 # include <embedded_innodb-1.0/innodb.h>
37 #endif /* HAVE_HAILDB_H */
38
39-#include "embedded_innodb_engine.h"
40+#include "haildb_engine.h"
41
42 #include <drizzled/charset_info.h>
43 #include <drizzled/message/table.pb.h>
44
45 using namespace drizzled;
46
47-int get_innodb_system_table_message(const char* table_name, drizzled::message::Table *table_message)
48+int get_haildb_system_table_message(const char* table_name, drizzled::message::Table *table_message)
49 {
50 if (strcmp(table_name, "SYS_TABLES") == 0)
51 {
52 message::Engine *engine= table_message->mutable_engine();
53 engine->set_name("InnoDB");
54- table_message->set_name("innodb_sys_tables");
55+ table_message->set_name("haildb_sys_tables");
56 table_message->set_schema("data_dictionary");
57 table_message->set_type(message::Table::STANDARD);
58 table_message->set_creation_timestamp(0);
59@@ -109,7 +109,7 @@
60 message::Table::Field::StringFieldOptions *stropt;
61 message::Engine *engine= table_message->mutable_engine();
62 engine->set_name("InnoDB");
63- table_message->set_name("innodb_sys_columns");
64+ table_message->set_name("haildb_sys_columns");
65 table_message->set_schema("data_dictionary");
66 table_message->set_type(message::Table::STANDARD);
67 table_message->set_creation_timestamp(0);
68@@ -169,7 +169,7 @@
69 message::Table::Field::StringFieldOptions *stropt;
70 message::Engine *engine= table_message->mutable_engine();
71 engine->set_name("InnoDB");
72- table_message->set_name("innodb_sys_indexes");
73+ table_message->set_name("haildb_sys_indexes");
74 table_message->set_schema("data_dictionary");
75 table_message->set_type(message::Table::STANDARD);
76 table_message->set_creation_timestamp(0);
77@@ -229,7 +229,7 @@
78 message::Table::Field::StringFieldOptions *stropt;
79 message::Engine *engine= table_message->mutable_engine();
80 engine->set_name("InnoDB");
81- table_message->set_name("innodb_sys_fields");
82+ table_message->set_name("haildb_sys_fields");
83 table_message->set_schema("data_dictionary");
84 table_message->set_type(message::Table::STANDARD);
85 table_message->set_creation_timestamp(0);
86@@ -273,7 +273,7 @@
87 message::Table::Field::StringFieldOptions *stropt;
88 message::Engine *engine= table_message->mutable_engine();
89 engine->set_name("InnoDB");
90- table_message->set_name("innodb_sys_foreign");
91+ table_message->set_name("haildb_sys_foreign");
92 table_message->set_schema("data_dictionary");
93 table_message->set_type(message::Table::STANDARD);
94 table_message->set_creation_timestamp(0);
95@@ -341,7 +341,7 @@
96 message::Table::Field::StringFieldOptions *stropt;
97 message::Engine *engine= table_message->mutable_engine();
98 engine->set_name("InnoDB");
99- table_message->set_name("innodb_sys_foreign_cols");
100+ table_message->set_name("haildb_sys_foreign_cols");
101 table_message->set_schema("data_dictionary");
102 table_message->set_type(message::Table::STANDARD);
103 table_message->set_creation_timestamp(0);
104
105=== renamed file 'plugin/embedded_innodb/libinnodb_datadict_dump_func.cc' => 'plugin/haildb/haildb_datadict_dump_func.cc'
106--- plugin/embedded_innodb/libinnodb_datadict_dump_func.cc 2010-08-06 23:03:50 +0000
107+++ plugin/haildb/haildb_datadict_dump_func.cc 2010-09-30 08:13:47 +0000
108@@ -21,7 +21,7 @@
109 #include <drizzled/item/func.h>
110 #include "drizzled/charset.h"
111 #include <drizzled/function/str/strfunc.h>
112-#include "libinnodb_datadict_dump_func.h"
113+#include "haildb_datadict_dump_func.h"
114
115 #if defined(HAVE_HAILDB_H)
116 # include <haildb.h>
117@@ -35,10 +35,10 @@
118 using namespace std;
119 using namespace drizzled;
120
121-class LibinnodbDatadictDumpFunction : public Item_str_func
122+class HailDBDatadictDumpFunction : public Item_str_func
123 {
124 public:
125- LibinnodbDatadictDumpFunction() : Item_str_func() {}
126+ HailDBDatadictDumpFunction() : Item_str_func() {}
127 String *val_str(String*);
128
129 void fix_length_and_dec()
130@@ -48,7 +48,7 @@
131
132 const char *func_name() const
133 {
134- return "libinnodb_datadict_dump";
135+ return "haildb_datadict_dump";
136 }
137
138 bool check_argument_count(int n)
139@@ -163,7 +163,7 @@
140 }
141
142 }
143-String *LibinnodbDatadictDumpFunction::val_str(String *str)
144+String *HailDBDatadictDumpFunction::val_str(String *str)
145 {
146 assert(fixed == true);
147
148@@ -175,7 +175,7 @@
149
150 null_value= false;
151
152- string dict_dump("InnoDB Data Dictionary Contents\n"
153+ string dict_dump("HailDB Data Dictionary Contents\n"
154 "-------------------------------\n");
155
156 struct schema_visitor_arg arg;
157@@ -199,11 +199,11 @@
158 }
159
160
161-plugin::Create_function<LibinnodbDatadictDumpFunction> *libinnodb_datadict_dump_func= NULL;
162+plugin::Create_function<HailDBDatadictDumpFunction> *haildb_datadict_dump_func= NULL;
163
164-int libinnodb_datadict_dump_func_initialize(module::Context &context)
165+int haildb_datadict_dump_func_initialize(module::Context &context)
166 {
167- libinnodb_datadict_dump_func= new plugin::Create_function<LibinnodbDatadictDumpFunction>("libinnodb_datadict_dump");
168- context.add(libinnodb_datadict_dump_func);
169+ haildb_datadict_dump_func= new plugin::Create_function<HailDBDatadictDumpFunction>("haildb_datadict_dump");
170+ context.add(haildb_datadict_dump_func);
171 return 0;
172 }
173
174=== renamed file 'plugin/embedded_innodb/libinnodb_datadict_dump_func.h' => 'plugin/haildb/haildb_datadict_dump_func.h'
175--- plugin/embedded_innodb/libinnodb_datadict_dump_func.h 2010-05-18 18:20:56 +0000
176+++ plugin/haildb/haildb_datadict_dump_func.h 2010-09-30 08:13:47 +0000
177@@ -16,9 +16,9 @@
178 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
179 */
180
181-#ifndef PLUGIN_EMBEDDED_INNODB_LIBINNODB_DATADICT_DUMP_FUNC_H
182-#define PLUGIN_EMBEDDED_INNODB_LIBINNODB_DATADICT_DUMP_FUNC_H
183-
184-int libinnodb_datadict_dump_func_initialize(drizzled::module::Context &context);
185-
186-#endif /* PLUGIN_EMBEDDED_INNODB_LIBINNODB_DATADICT_DUMP_FUNC_H */
187+#ifndef PLUGIN_HAILDB_HAILDB_DATADICT_DUMP_FUNC_H
188+#define PLUGIN_HAILDB_HAILDB_DATADICT_DUMP_FUNC_H
189+
190+int haildb_datadict_dump_func_initialize(drizzled::module::Context &context);
191+
192+#endif /* PLUGIN_HAILDB_HAILDB_DATADICT_DUMP_FUNC_H */
193
194=== renamed file 'plugin/embedded_innodb/embedded_innodb_engine.cc' => 'plugin/haildb/haildb_engine.cc'
195--- plugin/embedded_innodb/embedded_innodb_engine.cc 2010-09-28 21:16:58 +0000
196+++ plugin/haildb/haildb_engine.cc 2010-09-30 08:13:47 +0000
197@@ -90,8 +90,8 @@
198
199 #include "drizzled/global_charset_info.h"
200
201-#include "libinnodb_version_func.h"
202-#include "libinnodb_datadict_dump_func.h"
203+#include "haildb_version_func.h"
204+#include "haildb_datadict_dump_func.h"
205 #include "config_table_function.h"
206 #include "status_table_function.h"
207
208@@ -101,7 +101,7 @@
209 # include <embedded_innodb-1.0/innodb.h>
210 #endif /* HAVE_HAILDB_H */
211
212-#include "embedded_innodb_engine.h"
213+#include "haildb_engine.h"
214
215 #include <drizzled/field.h>
216 #include "drizzled/field/timestamp.h" // needed for UPDATE NOW()
217@@ -120,29 +120,29 @@
218 using namespace google;
219 using namespace drizzled;
220
221-int read_row_from_innodb(unsigned char* buf, ib_crsr_t cursor, ib_tpl_t tuple, Table* table, bool has_hidden_primary_key, uint64_t *hidden_pkey, drizzled::memory::Root **blobroot= NULL);
222+int read_row_from_haildb(unsigned char* buf, ib_crsr_t cursor, ib_tpl_t tuple, Table* table, bool has_hidden_primary_key, uint64_t *hidden_pkey, drizzled::memory::Root **blobroot= NULL);
223 static void fill_ib_search_tpl_from_drizzle_key(ib_tpl_t search_tuple,
224 const drizzled::KeyInfo *key_info,
225 const unsigned char *key_ptr,
226 uint32_t key_len);
227-static void store_key_value_from_innodb(KeyInfo *key_info, unsigned char* ref, int ref_len, const unsigned char *record);
228-
229-#define EMBEDDED_INNODB_EXT ".EID"
230-
231-const char INNODB_TABLE_DEFINITIONS_TABLE[]= "data_dictionary/innodb_table_definitions";
232+static void store_key_value_from_haildb(KeyInfo *key_info, unsigned char* ref, int ref_len, const unsigned char *record);
233+
234+#define HAILDB_EXT ".EID"
235+
236+const char HAILDB_TABLE_DEFINITIONS_TABLE[]= "data_dictionary/haildb_table_definitions";
237 const string statement_savepoint_name("STATEMENT");
238
239-static boost::unordered_set<std::string> innodb_system_table_names;
240-
241-
242-static const char *EmbeddedInnoDBCursor_exts[] = {
243+static boost::unordered_set<std::string> haildb_system_table_names;
244+
245+
246+static const char *HailDBCursor_exts[] = {
247 NULL
248 };
249
250-class EmbeddedInnoDBEngine : public drizzled::plugin::TransactionalStorageEngine
251+class HailDBEngine : public drizzled::plugin::TransactionalStorageEngine
252 {
253 public:
254- EmbeddedInnoDBEngine(const string &name_arg)
255+ HailDBEngine(const string &name_arg)
256 : drizzled::plugin::TransactionalStorageEngine(name_arg,
257 HTON_NULL_IN_KEY |
258 HTON_CAN_INDEX_BLOBS |
259@@ -150,18 +150,18 @@
260 HTON_PARTIAL_COLUMN_READ |
261 HTON_HAS_DOES_TRANSACTIONS)
262 {
263- table_definition_ext= EMBEDDED_INNODB_EXT;
264+ table_definition_ext= HAILDB_EXT;
265 }
266
267- ~EmbeddedInnoDBEngine();
268+ ~HailDBEngine();
269
270 virtual Cursor *create(TableShare &table)
271 {
272- return new EmbeddedInnoDBCursor(*this, table);
273+ return new HailDBCursor(*this, table);
274 }
275
276 const char **bas_ext() const {
277- return EmbeddedInnoDBCursor_exts;
278+ return HailDBCursor_exts;
279 }
280
281 bool validateCreateTableOption(const std::string &key,
282@@ -185,7 +185,7 @@
283 bool doDoesTableExist(Session&, const TableIdentifier &identifier);
284
285 private:
286- void getTableNamesInSchemaFromInnoDB(const drizzled::SchemaIdentifier &schema,
287+ void getTableNamesInSchemaFromHailDB(const drizzled::SchemaIdentifier &schema,
288 drizzled::plugin::TableNameList *set_of_names,
289 drizzled::TableIdentifiers *identifiers);
290
291@@ -221,23 +221,23 @@
292 virtual int doCommit(Session* session, bool all);
293 virtual int doRollback(Session* session, bool all);
294
295- typedef std::map<std::string, EmbeddedInnoDBTableShare*> EmbeddedInnoDBMap;
296- EmbeddedInnoDBMap embedded_innodb_open_tables;
297- EmbeddedInnoDBTableShare *findOpenTable(const std::string table_name);
298- void addOpenTable(const std::string &table_name, EmbeddedInnoDBTableShare *);
299+ typedef std::map<std::string, HailDBTableShare*> HailDBMap;
300+ HailDBMap haildb_open_tables;
301+ HailDBTableShare *findOpenTable(const std::string table_name);
302+ void addOpenTable(const std::string &table_name, HailDBTableShare *);
303 void deleteOpenTable(const std::string &table_name);
304
305- uint64_t getInitialAutoIncrementValue(EmbeddedInnoDBCursor *cursor);
306- uint64_t getHiddenPrimaryKeyInitialAutoIncrementValue(EmbeddedInnoDBCursor *cursor);
307+ uint64_t getInitialAutoIncrementValue(HailDBCursor *cursor);
308+ uint64_t getHiddenPrimaryKeyInitialAutoIncrementValue(HailDBCursor *cursor);
309
310 };
311
312-static drizzled::plugin::StorageEngine *embedded_innodb_engine= NULL;
313+static drizzled::plugin::StorageEngine *haildb_engine= NULL;
314
315
316 static ib_trx_t* get_trx(Session* session)
317 {
318- return (ib_trx_t*) session->getEngineData(embedded_innodb_engine);
319+ return (ib_trx_t*) session->getEngineData(haildb_engine);
320 }
321
322 /* This is a superset of the map from innobase plugin.
323@@ -345,7 +345,7 @@
324 return IB_TRX_REPEATABLE_READ;
325 }
326
327-int EmbeddedInnoDBEngine::doStartTransaction(Session *session,
328+int HailDBEngine::doStartTransaction(Session *session,
329 start_transaction_option_t options)
330 {
331 ib_trx_t *transaction;
332@@ -360,7 +360,7 @@
333 return 0;
334 }
335
336-void EmbeddedInnoDBEngine::doStartStatement(Session *session)
337+void HailDBEngine::doStartStatement(Session *session)
338 {
339 if(*get_trx(session) == NULL)
340 doStartTransaction(session, START_TRANS_NO_OPTIONS);
341@@ -369,12 +369,12 @@
342 statement_savepoint_name.length());
343 }
344
345-void EmbeddedInnoDBEngine::doEndStatement(Session *session)
346+void HailDBEngine::doEndStatement(Session *session)
347 {
348 doCommit(session, false);
349 }
350
351-int EmbeddedInnoDBEngine::doSetSavepoint(Session* session,
352+int HailDBEngine::doSetSavepoint(Session* session,
353 drizzled::NamedSavepoint &savepoint)
354 {
355 ib_trx_t *transaction= get_trx(session);
356@@ -383,7 +383,7 @@
357 return 0;
358 }
359
360-int EmbeddedInnoDBEngine::doRollbackToSavepoint(Session* session,
361+int HailDBEngine::doRollbackToSavepoint(Session* session,
362 drizzled::NamedSavepoint &savepoint)
363 {
364 ib_trx_t *transaction= get_trx(session);
365@@ -395,7 +395,7 @@
366 return ib_err_t_to_drizzle_error(err);
367 }
368
369-int EmbeddedInnoDBEngine::doReleaseSavepoint(Session* session,
370+int HailDBEngine::doReleaseSavepoint(Session* session,
371 drizzled::NamedSavepoint &savepoint)
372 {
373 ib_trx_t *transaction= get_trx(session);
374@@ -409,7 +409,7 @@
375 return 0;
376 }
377
378-int EmbeddedInnoDBEngine::doCommit(Session* session, bool all)
379+int HailDBEngine::doCommit(Session* session, bool all)
380 {
381 ib_err_t err;
382 ib_trx_t *transaction= get_trx(session);
383@@ -427,7 +427,7 @@
384 return 0;
385 }
386
387-int EmbeddedInnoDBEngine::doRollback(Session* session, bool all)
388+int HailDBEngine::doRollback(Session* session, bool all)
389 {
390 ib_err_t err;
391 ib_trx_t *transaction= get_trx(session);
392@@ -452,30 +452,30 @@
393 return 0;
394 }
395
396-EmbeddedInnoDBTableShare *EmbeddedInnoDBEngine::findOpenTable(const string table_name)
397+HailDBTableShare *HailDBEngine::findOpenTable(const string table_name)
398 {
399- EmbeddedInnoDBMap::iterator find_iter=
400- embedded_innodb_open_tables.find(table_name);
401+ HailDBMap::iterator find_iter=
402+ haildb_open_tables.find(table_name);
403
404- if (find_iter != embedded_innodb_open_tables.end())
405+ if (find_iter != haildb_open_tables.end())
406 return (*find_iter).second;
407 else
408 return NULL;
409 }
410
411-void EmbeddedInnoDBEngine::addOpenTable(const string &table_name, EmbeddedInnoDBTableShare *share)
412-{
413- embedded_innodb_open_tables[table_name]= share;
414-}
415-
416-void EmbeddedInnoDBEngine::deleteOpenTable(const string &table_name)
417-{
418- embedded_innodb_open_tables.erase(table_name);
419-}
420-
421-static pthread_mutex_t embedded_innodb_mutex= PTHREAD_MUTEX_INITIALIZER;
422-
423-uint64_t EmbeddedInnoDBCursor::getHiddenPrimaryKeyInitialAutoIncrementValue()
424+void HailDBEngine::addOpenTable(const string &table_name, HailDBTableShare *share)
425+{
426+ haildb_open_tables[table_name]= share;
427+}
428+
429+void HailDBEngine::deleteOpenTable(const string &table_name)
430+{
431+ haildb_open_tables.erase(table_name);
432+}
433+
434+static pthread_mutex_t haildb_mutex= PTHREAD_MUTEX_INITIALIZER;
435+
436+uint64_t HailDBCursor::getHiddenPrimaryKeyInitialAutoIncrementValue()
437 {
438 uint64_t nr;
439 ib_err_t err;
440@@ -499,7 +499,7 @@
441 return nr;
442 }
443
444-uint64_t EmbeddedInnoDBCursor::getInitialAutoIncrementValue()
445+uint64_t HailDBCursor::getInitialAutoIncrementValue()
446 {
447 uint64_t nr;
448 int error;
449@@ -536,13 +536,13 @@
450 return nr;
451 }
452
453-EmbeddedInnoDBTableShare::EmbeddedInnoDBTableShare(const char* name, bool hidden_primary_key)
454+HailDBTableShare::HailDBTableShare(const char* name, bool hidden_primary_key)
455 : use_count(0), has_hidden_primary_key(hidden_primary_key)
456 {
457 table_name.assign(name);
458 }
459
460-uint64_t EmbeddedInnoDBEngine::getInitialAutoIncrementValue(EmbeddedInnoDBCursor *cursor)
461+uint64_t HailDBEngine::getInitialAutoIncrementValue(HailDBCursor *cursor)
462 {
463 doStartTransaction(current_session, START_TRANS_NO_OPTIONS);
464 uint64_t initial_auto_increment_value= cursor->getInitialAutoIncrementValue();
465@@ -551,7 +551,7 @@
466 return initial_auto_increment_value;
467 }
468
469-uint64_t EmbeddedInnoDBEngine::getHiddenPrimaryKeyInitialAutoIncrementValue(EmbeddedInnoDBCursor *cursor)
470+uint64_t HailDBEngine::getHiddenPrimaryKeyInitialAutoIncrementValue(HailDBCursor *cursor)
471 {
472 doStartTransaction(current_session, START_TRANS_NO_OPTIONS);
473 uint64_t initial_auto_increment_value= cursor->getHiddenPrimaryKeyInitialAutoIncrementValue();
474@@ -560,20 +560,20 @@
475 return initial_auto_increment_value;
476 }
477
478-EmbeddedInnoDBTableShare *EmbeddedInnoDBCursor::get_share(const char *table_name, bool has_hidden_primary_key, int *rc)
479+HailDBTableShare *HailDBCursor::get_share(const char *table_name, bool has_hidden_primary_key, int *rc)
480 {
481- pthread_mutex_lock(&embedded_innodb_mutex);
482+ pthread_mutex_lock(&haildb_mutex);
483
484- EmbeddedInnoDBEngine *a_engine= static_cast<EmbeddedInnoDBEngine *>(engine);
485+ HailDBEngine *a_engine= static_cast<HailDBEngine *>(engine);
486 share= a_engine->findOpenTable(table_name);
487
488 if (!share)
489 {
490- share= new EmbeddedInnoDBTableShare(table_name, has_hidden_primary_key);
491+ share= new HailDBTableShare(table_name, has_hidden_primary_key);
492
493 if (share == NULL)
494 {
495- pthread_mutex_unlock(&embedded_innodb_mutex);
496+ pthread_mutex_unlock(&haildb_mutex);
497 *rc= HA_ERR_OUT_OF_MEM;
498 return(NULL);
499 }
500@@ -597,27 +597,27 @@
501 }
502 share->use_count++;
503
504- pthread_mutex_unlock(&embedded_innodb_mutex);
505+ pthread_mutex_unlock(&haildb_mutex);
506
507 return(share);
508 }
509
510-int EmbeddedInnoDBCursor::free_share()
511+int HailDBCursor::free_share()
512 {
513- pthread_mutex_lock(&embedded_innodb_mutex);
514+ pthread_mutex_lock(&haildb_mutex);
515 if (!--share->use_count)
516 {
517- EmbeddedInnoDBEngine *a_engine= static_cast<EmbeddedInnoDBEngine *>(engine);
518+ HailDBEngine *a_engine= static_cast<HailDBEngine *>(engine);
519 a_engine->deleteOpenTable(share->table_name);
520 delete share;
521 }
522- pthread_mutex_unlock(&embedded_innodb_mutex);
523+ pthread_mutex_unlock(&haildb_mutex);
524
525 return 0;
526 }
527
528
529-THR_LOCK_DATA **EmbeddedInnoDBCursor::store_lock(Session *session,
530+THR_LOCK_DATA **HailDBCursor::store_lock(Session *session,
531 THR_LOCK_DATA **to,
532 thr_lock_type lock_type)
533 {
534@@ -632,7 +632,7 @@
535
536 if(*get_trx(session) == NULL)
537 {
538- static_cast<EmbeddedInnoDBEngine*>(getEngine())->
539+ static_cast<HailDBEngine*>(getEngine())->
540 doStartTransaction(session, START_TRANS_NO_OPTIONS);
541 }
542
543@@ -745,7 +745,7 @@
544 return to;
545 }
546
547-void EmbeddedInnoDBCursor::get_auto_increment(uint64_t, //offset,
548+void HailDBCursor::get_auto_increment(uint64_t, //offset,
549 uint64_t, //increment,
550 uint64_t, //nb_dis,
551 uint64_t *first_value,
552@@ -766,19 +766,19 @@
553 *nb_reserved_values= 1;
554 }
555
556-static const char* table_path_to_innodb_name(const char* name)
557+static const char* table_path_to_haildb_name(const char* name)
558 {
559 size_t l= strlen(name);
560 static string datadict_path("data_dictionary/");
561- static string sys_prefix("data_dictionary/innodb_");
562- static string sys_table_prefix("INNODB_");
563+ static string sys_prefix("data_dictionary/haildb_");
564+ static string sys_table_prefix("HAILDB_");
565
566 if (strncmp(name, sys_prefix.c_str(), sys_prefix.length()) == 0)
567 {
568 string find_name(name+datadict_path.length());
569 std::transform(find_name.begin(), find_name.end(), find_name.begin(), ::toupper);
570- boost::unordered_set<string>::iterator iter= innodb_system_table_names.find(find_name);
571- if (iter != innodb_system_table_names.end())
572+ boost::unordered_set<string>::iterator iter= haildb_system_table_names.find(find_name);
573+ if (iter != haildb_system_table_names.end())
574 return (*iter).c_str()+sys_table_prefix.length();
575 }
576
577@@ -795,12 +795,12 @@
578 return &name[l];
579 }
580
581-static void TableIdentifier_to_innodb_name(const TableIdentifier &identifier, std::string *str)
582+static void TableIdentifier_to_haildb_name(const TableIdentifier &identifier, std::string *str)
583 {
584- str->assign(table_path_to_innodb_name(identifier.getPath().c_str()));
585+ str->assign(table_path_to_haildb_name(identifier.getPath().c_str()));
586 }
587
588-EmbeddedInnoDBCursor::EmbeddedInnoDBCursor(drizzled::plugin::StorageEngine &engine_arg,
589+HailDBCursor::HailDBCursor(drizzled::plugin::StorageEngine &engine_arg,
590 TableShare &table_arg)
591 :Cursor(engine_arg, table_arg),
592 ib_lock_mode(IB_LOCK_NONE),
593@@ -821,17 +821,17 @@
594 return 0;
595 }
596
597-int EmbeddedInnoDBCursor::open(const char *name, int, uint32_t)
598+int HailDBCursor::open(const char *name, int, uint32_t)
599 {
600- const char* innodb_table_name= table_path_to_innodb_name(name);
601- ib_err_t err= ib_cursor_open_table(innodb_table_name, NULL, &cursor);
602+ const char* haildb_table_name= table_path_to_haildb_name(name);
603+ ib_err_t err= ib_cursor_open_table(haildb_table_name, NULL, &cursor);
604 bool has_hidden_primary_key= false;
605 ib_id_t idx_id;
606
607 if (err != DB_SUCCESS)
608 return ib_err_t_to_drizzle_error(err);
609
610- err= ib_index_get_id(innodb_table_name, "HIDDEN_PRIMARY", &idx_id);
611+ err= ib_index_get_id(haildb_table_name, "HIDDEN_PRIMARY", &idx_id);
612
613 if (err == DB_SUCCESS)
614 has_hidden_primary_key= true;
615@@ -856,7 +856,7 @@
616 return(0);
617 }
618
619-int EmbeddedInnoDBCursor::close(void)
620+int HailDBCursor::close(void)
621 {
622 ib_err_t err= ib_cursor_close(cursor);
623 if (err != DB_SUCCESS)
624@@ -870,7 +870,7 @@
625 return 0;
626 }
627
628-int EmbeddedInnoDBCursor::external_lock(Session* session, int lock_type)
629+int HailDBCursor::external_lock(Session* session, int lock_type)
630 {
631 ib_cursor_stmt_begin(cursor);
632
633@@ -951,7 +951,7 @@
634 ib_err_t err;
635 string serialized_message;
636
637- err= ib_cursor_open_table(INNODB_TABLE_DEFINITIONS_TABLE, transaction, &cursor);
638+ err= ib_cursor_open_table(HAILDB_TABLE_DEFINITIONS_TABLE, transaction, &cursor);
639 if (err != DB_SUCCESS)
640 return err;
641
642@@ -986,7 +986,7 @@
643 return err;
644 }
645
646-bool EmbeddedInnoDBEngine::validateCreateTableOption(const std::string &key,
647+bool HailDBEngine::validateCreateTableOption(const std::string &key,
648 const std::string &state)
649 {
650 if (boost::iequals(key, "ROW_FORMAT"))
651@@ -1022,17 +1022,17 @@
652 return IB_TBL_COMPACT;
653 }
654
655-int EmbeddedInnoDBEngine::doCreateTable(Session &session,
656+int HailDBEngine::doCreateTable(Session &session,
657 Table& table_obj,
658 const drizzled::TableIdentifier &identifier,
659 drizzled::message::Table& table_message)
660 {
661- ib_tbl_sch_t innodb_table_schema= NULL;
662-// ib_idx_sch_t innodb_pkey= NULL;
663- ib_trx_t innodb_schema_transaction;
664- ib_id_t innodb_table_id;
665- ib_err_t innodb_err= DB_SUCCESS;
666- string innodb_table_name;
667+ ib_tbl_sch_t haildb_table_schema= NULL;
668+// ib_idx_sch_t haildb_pkey= NULL;
669+ ib_trx_t haildb_schema_transaction;
670+ ib_id_t haildb_table_id;
671+ ib_err_t haildb_err= DB_SUCCESS;
672+ string haildb_table_name;
673 bool has_explicit_pkey= false;
674
675 (void)table_obj;
676@@ -1044,9 +1044,9 @@
677 return -1;
678 }
679
680- TableIdentifier_to_innodb_name(identifier, &innodb_table_name);
681+ TableIdentifier_to_haildb_name(identifier, &haildb_table_name);
682
683- ib_tbl_fmt_t innodb_table_format= IB_TBL_COMPACT;
684+ ib_tbl_fmt_t haildb_table_format= IB_TBL_COMPACT;
685
686 const size_t num_engine_options= table_message.engine().options_size();
687 for (size_t x= 0; x < num_engine_options; x++)
688@@ -1054,42 +1054,42 @@
689 const message::Engine::Option &engine_option= table_message.engine().options(x);
690 if (boost::iequals(engine_option.name(), "ROW_FORMAT"))
691 {
692- innodb_table_format= parse_ib_table_format(engine_option.state());
693+ haildb_table_format= parse_ib_table_format(engine_option.state());
694 }
695 }
696
697- innodb_err= ib_table_schema_create(innodb_table_name.c_str(),
698- &innodb_table_schema,
699- innodb_table_format, 0);
700+ haildb_err= ib_table_schema_create(haildb_table_name.c_str(),
701+ &haildb_table_schema,
702+ haildb_table_format, 0);
703
704- if (innodb_err != DB_SUCCESS)
705+ if (haildb_err != DB_SUCCESS)
706 {
707 push_warning_printf(&session, DRIZZLE_ERROR::WARN_LEVEL_ERROR,
708 ER_CANT_CREATE_TABLE,
709- _("Cannot create table %s. InnoDB Error %d (%s)\n"),
710- innodb_table_name.c_str(), innodb_err, ib_strerror(innodb_err));
711- return ib_err_t_to_drizzle_error(innodb_err);
712+ _("Cannot create table %s. HailDB Error %d (%s)\n"),
713+ haildb_table_name.c_str(), haildb_err, ib_strerror(haildb_err));
714+ return ib_err_t_to_drizzle_error(haildb_err);
715 }
716
717 for (int colnr= 0; colnr < table_message.field_size() ; colnr++)
718 {
719 const message::Table::Field field = table_message.field(colnr);
720
721- int field_err= create_table_add_field(innodb_table_schema, field,
722- &innodb_err);
723-
724- if (innodb_err != DB_SUCCESS || field_err != 0)
725- ib_table_schema_delete(innodb_table_schema); /* cleanup */
726-
727- if (innodb_err != DB_SUCCESS)
728+ int field_err= create_table_add_field(haildb_table_schema, field,
729+ &haildb_err);
730+
731+ if (haildb_err != DB_SUCCESS || field_err != 0)
732+ ib_table_schema_delete(haildb_table_schema); /* cleanup */
733+
734+ if (haildb_err != DB_SUCCESS)
735 {
736 push_warning_printf(&session, DRIZZLE_ERROR::WARN_LEVEL_ERROR,
737 ER_CANT_CREATE_TABLE,
738 _("Cannot create field %s on table %s."
739- " InnoDB Error %d (%s)\n"),
740- field.name().c_str(), innodb_table_name.c_str(),
741- innodb_err, ib_strerror(innodb_err));
742- return ib_err_t_to_drizzle_error(innodb_err);
743+ " HailDB Error %d (%s)\n"),
744+ field.name().c_str(), haildb_table_name.c_str(),
745+ haildb_err, ib_strerror(haildb_err));
746+ return ib_err_t_to_drizzle_error(haildb_err);
747 }
748 if (field_err != 0)
749 return field_err;
750@@ -1100,26 +1100,26 @@
751 {
752 message::Table::Index *index = table_message.mutable_indexes(indexnr);
753
754- ib_idx_sch_t innodb_index;
755+ ib_idx_sch_t haildb_index;
756
757- innodb_err= ib_table_schema_add_index(innodb_table_schema, index->name().c_str(),
758- &innodb_index);
759- if (innodb_err != DB_SUCCESS)
760+ haildb_err= ib_table_schema_add_index(haildb_table_schema, index->name().c_str(),
761+ &haildb_index);
762+ if (haildb_err != DB_SUCCESS)
763 goto schema_error;
764
765 if (index->is_primary())
766 {
767 has_primary= true;
768- innodb_err= ib_index_schema_set_clustered(innodb_index);
769+ haildb_err= ib_index_schema_set_clustered(haildb_index);
770 has_explicit_pkey= true;
771- if (innodb_err != DB_SUCCESS)
772+ if (haildb_err != DB_SUCCESS)
773 goto schema_error;
774 }
775
776 if (index->is_unique())
777 {
778- innodb_err= ib_index_schema_set_unique(innodb_index);
779- if (innodb_err != DB_SUCCESS)
780+ haildb_err= ib_index_schema_set_unique(haildb_index);
781+ if (haildb_err != DB_SUCCESS)
782 goto schema_error;
783 }
784
785@@ -1136,18 +1136,18 @@
786 || part_type == message::Table::Field::VARCHAR)
787 compare_length= part.compare_length();
788
789- innodb_err= ib_index_schema_add_col(innodb_index,
790+ haildb_err= ib_index_schema_add_col(haildb_index,
791 table_message.field(part.fieldnr()).name().c_str(),
792 compare_length);
793- if (innodb_err != DB_SUCCESS)
794+ if (haildb_err != DB_SUCCESS)
795 goto schema_error;
796 }
797
798 if (! has_primary && index->is_unique())
799 {
800- innodb_err= ib_index_schema_set_clustered(innodb_index);
801+ haildb_err= ib_index_schema_set_clustered(haildb_index);
802 has_explicit_pkey= true;
803- if (innodb_err != DB_SUCCESS)
804+ if (haildb_err != DB_SUCCESS)
805 goto schema_error;
806 }
807
808@@ -1155,58 +1155,58 @@
809
810 if (! has_explicit_pkey)
811 {
812- ib_idx_sch_t innodb_index;
813+ ib_idx_sch_t haildb_index;
814
815- innodb_err= ib_table_schema_add_col(innodb_table_schema, "hidden_primary_key_col",
816+ haildb_err= ib_table_schema_add_col(haildb_table_schema, "hidden_primary_key_col",
817 IB_INT, IB_COL_NOT_NULL, 0, 8);
818
819- innodb_err= ib_table_schema_add_index(innodb_table_schema, "HIDDEN_PRIMARY",
820- &innodb_index);
821- if (innodb_err != DB_SUCCESS)
822- goto schema_error;
823-
824- innodb_err= ib_index_schema_set_clustered(innodb_index);
825- if (innodb_err != DB_SUCCESS)
826- goto schema_error;
827-
828- innodb_err= ib_index_schema_add_col(innodb_index, "hidden_primary_key_col", 0);
829- if (innodb_err != DB_SUCCESS)
830+ haildb_err= ib_table_schema_add_index(haildb_table_schema, "HIDDEN_PRIMARY",
831+ &haildb_index);
832+ if (haildb_err != DB_SUCCESS)
833+ goto schema_error;
834+
835+ haildb_err= ib_index_schema_set_clustered(haildb_index);
836+ if (haildb_err != DB_SUCCESS)
837+ goto schema_error;
838+
839+ haildb_err= ib_index_schema_add_col(haildb_index, "hidden_primary_key_col", 0);
840+ if (haildb_err != DB_SUCCESS)
841 goto schema_error;
842 }
843
844- innodb_schema_transaction= ib_trx_begin(IB_TRX_REPEATABLE_READ);
845- innodb_err= ib_schema_lock_exclusive(innodb_schema_transaction);
846- if (innodb_err != DB_SUCCESS)
847+ haildb_schema_transaction= ib_trx_begin(IB_TRX_REPEATABLE_READ);
848+ haildb_err= ib_schema_lock_exclusive(haildb_schema_transaction);
849+ if (haildb_err != DB_SUCCESS)
850 {
851- ib_err_t rollback_err= ib_trx_rollback(innodb_schema_transaction);
852- ib_table_schema_delete(innodb_table_schema);
853+ ib_err_t rollback_err= ib_trx_rollback(haildb_schema_transaction);
854+ ib_table_schema_delete(haildb_table_schema);
855
856 push_warning_printf(&session, DRIZZLE_ERROR::WARN_LEVEL_ERROR,
857 ER_CANT_CREATE_TABLE,
858- _("Cannot Lock Embedded InnoDB Data Dictionary. InnoDB Error %d (%s)\n"),
859- innodb_err, ib_strerror(innodb_err));
860+ _("Cannot Lock HailDB Data Dictionary. HailDB Error %d (%s)\n"),
861+ haildb_err, ib_strerror(haildb_err));
862
863 assert (rollback_err == DB_SUCCESS);
864
865 return HA_ERR_GENERIC;
866 }
867
868- innodb_err= ib_table_create(innodb_schema_transaction, innodb_table_schema,
869- &innodb_table_id);
870+ haildb_err= ib_table_create(haildb_schema_transaction, haildb_table_schema,
871+ &haildb_table_id);
872
873- if (innodb_err != DB_SUCCESS)
874+ if (haildb_err != DB_SUCCESS)
875 {
876- ib_err_t rollback_err= ib_trx_rollback(innodb_schema_transaction);
877- ib_table_schema_delete(innodb_table_schema);
878+ ib_err_t rollback_err= ib_trx_rollback(haildb_schema_transaction);
879+ ib_table_schema_delete(haildb_table_schema);
880
881- if (innodb_err == DB_TABLE_IS_BEING_USED)
882+ if (haildb_err == DB_TABLE_IS_BEING_USED)
883 return EEXIST;
884
885 push_warning_printf(&session, DRIZZLE_ERROR::WARN_LEVEL_ERROR,
886 ER_CANT_CREATE_TABLE,
887- _("Cannot create table %s. InnoDB Error %d (%s)\n"),
888- innodb_table_name.c_str(),
889- innodb_err, ib_strerror(innodb_err));
890+ _("Cannot create table %s. HailDB Error %d (%s)\n"),
891+ haildb_table_name.c_str(),
892+ haildb_err, ib_strerror(haildb_err));
893
894 assert (rollback_err == DB_SUCCESS);
895 return HA_ERR_GENERIC;
896@@ -1215,42 +1215,42 @@
897 if (table_message.type() == message::Table::TEMPORARY)
898 {
899 session.storeTableMessage(identifier, table_message);
900- innodb_err= DB_SUCCESS;
901+ haildb_err= DB_SUCCESS;
902 }
903 else
904- innodb_err= store_table_message(innodb_schema_transaction,
905- innodb_table_name.c_str(),
906+ haildb_err= store_table_message(haildb_schema_transaction,
907+ haildb_table_name.c_str(),
908 table_message);
909
910- if (innodb_err == DB_SUCCESS)
911- innodb_err= ib_trx_commit(innodb_schema_transaction);
912+ if (haildb_err == DB_SUCCESS)
913+ haildb_err= ib_trx_commit(haildb_schema_transaction);
914 else
915- innodb_err= ib_trx_rollback(innodb_schema_transaction);
916+ haildb_err= ib_trx_rollback(haildb_schema_transaction);
917
918 schema_error:
919- ib_table_schema_delete(innodb_table_schema);
920+ ib_table_schema_delete(haildb_table_schema);
921
922- if (innodb_err != DB_SUCCESS)
923+ if (haildb_err != DB_SUCCESS)
924 {
925 push_warning_printf(&session, DRIZZLE_ERROR::WARN_LEVEL_ERROR,
926 ER_CANT_CREATE_TABLE,
927- _("Cannot create table %s. InnoDB Error %d (%s)\n"),
928- innodb_table_name.c_str(),
929- innodb_err, ib_strerror(innodb_err));
930- return ib_err_t_to_drizzle_error(innodb_err);
931+ _("Cannot create table %s. HailDB Error %d (%s)\n"),
932+ haildb_table_name.c_str(),
933+ haildb_err, ib_strerror(haildb_err));
934+ return ib_err_t_to_drizzle_error(haildb_err);
935 }
936
937 return 0;
938 }
939
940-static int delete_table_message_from_innodb(ib_trx_t transaction, const char* table_name)
941+static int delete_table_message_from_haildb(ib_trx_t transaction, const char* table_name)
942 {
943 ib_crsr_t cursor;
944 ib_tpl_t search_tuple;
945 int res;
946 ib_err_t err;
947
948- err= ib_cursor_open_table(INNODB_TABLE_DEFINITIONS_TABLE, transaction, &cursor);
949+ err= ib_cursor_open_table(HAILDB_TABLE_DEFINITIONS_TABLE, transaction, &cursor);
950 if (err != DB_SUCCESS)
951 return err;
952
953@@ -1279,25 +1279,25 @@
954 return err;
955 }
956
957-int EmbeddedInnoDBEngine::doDropTable(Session &session,
958+int HailDBEngine::doDropTable(Session &session,
959 const TableIdentifier &identifier)
960 {
961- ib_trx_t innodb_schema_transaction;
962- ib_err_t innodb_err;
963- string innodb_table_name;
964-
965- TableIdentifier_to_innodb_name(identifier, &innodb_table_name);
966-
967- innodb_schema_transaction= ib_trx_begin(IB_TRX_REPEATABLE_READ);
968- innodb_err= ib_schema_lock_exclusive(innodb_schema_transaction);
969- if (innodb_err != DB_SUCCESS)
970+ ib_trx_t haildb_schema_transaction;
971+ ib_err_t haildb_err;
972+ string haildb_table_name;
973+
974+ TableIdentifier_to_haildb_name(identifier, &haildb_table_name);
975+
976+ haildb_schema_transaction= ib_trx_begin(IB_TRX_REPEATABLE_READ);
977+ haildb_err= ib_schema_lock_exclusive(haildb_schema_transaction);
978+ if (haildb_err != DB_SUCCESS)
979 {
980- ib_err_t rollback_err= ib_trx_rollback(innodb_schema_transaction);
981+ ib_err_t rollback_err= ib_trx_rollback(haildb_schema_transaction);
982
983 push_warning_printf(&session, DRIZZLE_ERROR::WARN_LEVEL_ERROR,
984 ER_CANT_DELETE_FILE,
985- _("Cannot Lock Embedded InnoDB Data Dictionary. InnoDB Error %d (%s)\n"),
986- innodb_err, ib_strerror(innodb_err));
987+ _("Cannot Lock HailDB Data Dictionary. HailDB Error %d (%s)\n"),
988+ haildb_err, ib_strerror(haildb_err));
989
990 assert (rollback_err == DB_SUCCESS);
991
992@@ -1307,53 +1307,53 @@
993 if (identifier.getType() == message::Table::TEMPORARY)
994 {
995 session.removeTableMessage(identifier);
996- delete_table_message_from_innodb(innodb_schema_transaction,
997- innodb_table_name.c_str());
998+ delete_table_message_from_haildb(haildb_schema_transaction,
999+ haildb_table_name.c_str());
1000 }
1001 else
1002 {
1003- if (delete_table_message_from_innodb(innodb_schema_transaction, innodb_table_name.c_str()) != DB_SUCCESS)
1004+ if (delete_table_message_from_haildb(haildb_schema_transaction, haildb_table_name.c_str()) != DB_SUCCESS)
1005 {
1006- ib_schema_unlock(innodb_schema_transaction);
1007- ib_err_t rollback_err= ib_trx_rollback(innodb_schema_transaction);
1008+ ib_schema_unlock(haildb_schema_transaction);
1009+ ib_err_t rollback_err= ib_trx_rollback(haildb_schema_transaction);
1010 assert(rollback_err == DB_SUCCESS);
1011 return HA_ERR_GENERIC;
1012 }
1013 }
1014
1015- innodb_err= ib_table_drop(innodb_schema_transaction, innodb_table_name.c_str());
1016+ haildb_err= ib_table_drop(haildb_schema_transaction, haildb_table_name.c_str());
1017
1018- if (innodb_err == DB_TABLE_NOT_FOUND)
1019+ if (haildb_err == DB_TABLE_NOT_FOUND)
1020 {
1021- innodb_err= ib_trx_rollback(innodb_schema_transaction);
1022- assert(innodb_err == DB_SUCCESS);
1023+ haildb_err= ib_trx_rollback(haildb_schema_transaction);
1024+ assert(haildb_err == DB_SUCCESS);
1025 return ENOENT;
1026 }
1027- else if (innodb_err != DB_SUCCESS)
1028+ else if (haildb_err != DB_SUCCESS)
1029 {
1030- ib_err_t rollback_err= ib_trx_rollback(innodb_schema_transaction);
1031+ ib_err_t rollback_err= ib_trx_rollback(haildb_schema_transaction);
1032
1033 push_warning_printf(&session, DRIZZLE_ERROR::WARN_LEVEL_ERROR,
1034 ER_CANT_DELETE_FILE,
1035- _("Cannot DROP table %s. InnoDB Error %d (%s)\n"),
1036- innodb_table_name.c_str(),
1037- innodb_err, ib_strerror(innodb_err));
1038+ _("Cannot DROP table %s. HailDB Error %d (%s)\n"),
1039+ haildb_table_name.c_str(),
1040+ haildb_err, ib_strerror(haildb_err));
1041
1042 assert(rollback_err == DB_SUCCESS);
1043
1044 return HA_ERR_GENERIC;
1045 }
1046
1047- innodb_err= ib_trx_commit(innodb_schema_transaction);
1048- if (innodb_err != DB_SUCCESS)
1049+ haildb_err= ib_trx_commit(haildb_schema_transaction);
1050+ if (haildb_err != DB_SUCCESS)
1051 {
1052- ib_err_t rollback_err= ib_trx_rollback(innodb_schema_transaction);
1053+ ib_err_t rollback_err= ib_trx_rollback(haildb_schema_transaction);
1054
1055 push_warning_printf(&session, DRIZZLE_ERROR::WARN_LEVEL_ERROR,
1056 ER_CANT_DELETE_FILE,
1057- _("Cannot DROP table %s. InnoDB Error %d (%s)\n"),
1058- innodb_table_name.c_str(),
1059- innodb_err, ib_strerror(innodb_err));
1060+ _("Cannot DROP table %s. HailDB Error %d (%s)\n"),
1061+ haildb_table_name.c_str(),
1062+ haildb_err, ib_strerror(haildb_err));
1063
1064 assert(rollback_err == DB_SUCCESS);
1065 return HA_ERR_GENERIC;
1066@@ -1374,20 +1374,20 @@
1067 const char *message;
1068 ib_ulint_t message_len;
1069 drizzled::message::Table table_message;
1070- string from_innodb_table_name;
1071- string to_innodb_table_name;
1072+ string from_haildb_table_name;
1073+ string to_haildb_table_name;
1074 const char *from;
1075 const char *to;
1076 string serialized_message;
1077 ib_col_meta_t col_meta;
1078
1079- TableIdentifier_to_innodb_name(from_identifier, &from_innodb_table_name);
1080- TableIdentifier_to_innodb_name(to_identifier, &to_innodb_table_name);
1081-
1082- from= from_innodb_table_name.c_str();
1083- to= to_innodb_table_name.c_str();
1084-
1085- err= ib_cursor_open_table(INNODB_TABLE_DEFINITIONS_TABLE, transaction, &cursor);
1086+ TableIdentifier_to_haildb_name(from_identifier, &from_haildb_table_name);
1087+ TableIdentifier_to_haildb_name(to_identifier, &to_haildb_table_name);
1088+
1089+ from= from_haildb_table_name.c_str();
1090+ to= to_haildb_table_name.c_str();
1091+
1092+ err= ib_cursor_open_table(HAILDB_TABLE_DEFINITIONS_TABLE, transaction, &cursor);
1093 if (err != DB_SUCCESS)
1094 {
1095 rollback_err= ib_trx_rollback(transaction);
1096@@ -1452,14 +1452,14 @@
1097 return err;
1098 }
1099
1100-int EmbeddedInnoDBEngine::doRenameTable(drizzled::Session &session,
1101+int HailDBEngine::doRenameTable(drizzled::Session &session,
1102 const drizzled::TableIdentifier &from,
1103 const drizzled::TableIdentifier &to)
1104 {
1105- ib_trx_t innodb_schema_transaction;
1106+ ib_trx_t haildb_schema_transaction;
1107 ib_err_t err;
1108- string from_innodb_table_name;
1109- string to_innodb_table_name;
1110+ string from_haildb_table_name;
1111+ string to_haildb_table_name;
1112
1113 if (to.getType() == message::Table::TEMPORARY
1114 && from.getType() == message::Table::TEMPORARY)
1115@@ -1468,46 +1468,46 @@
1116 return 0;
1117 }
1118
1119- TableIdentifier_to_innodb_name(from, &from_innodb_table_name);
1120- TableIdentifier_to_innodb_name(to, &to_innodb_table_name);
1121+ TableIdentifier_to_haildb_name(from, &from_haildb_table_name);
1122+ TableIdentifier_to_haildb_name(to, &to_haildb_table_name);
1123
1124- innodb_schema_transaction= ib_trx_begin(IB_TRX_REPEATABLE_READ);
1125- err= ib_schema_lock_exclusive(innodb_schema_transaction);
1126+ haildb_schema_transaction= ib_trx_begin(IB_TRX_REPEATABLE_READ);
1127+ err= ib_schema_lock_exclusive(haildb_schema_transaction);
1128 if (err != DB_SUCCESS)
1129 {
1130 push_warning_printf(&session, DRIZZLE_ERROR::WARN_LEVEL_ERROR,
1131 ER_CANT_DELETE_FILE,
1132- _("Cannot Lock Embedded InnoDB Data Dictionary. InnoDB Error %d (%s)\n"),
1133+ _("Cannot Lock HailDB Data Dictionary. HailDB Error %d (%s)\n"),
1134 err, ib_strerror(err));
1135
1136 goto rollback;
1137 }
1138
1139- err= ib_table_rename(innodb_schema_transaction,
1140- from_innodb_table_name.c_str(),
1141- to_innodb_table_name.c_str());
1142- if (err != DB_SUCCESS)
1143- goto rollback;
1144-
1145- err= rename_table_message(innodb_schema_transaction, from, to);
1146-
1147- if (err != DB_SUCCESS)
1148- goto rollback;
1149-
1150- err= ib_trx_commit(innodb_schema_transaction);
1151+ err= ib_table_rename(haildb_schema_transaction,
1152+ from_haildb_table_name.c_str(),
1153+ to_haildb_table_name.c_str());
1154+ if (err != DB_SUCCESS)
1155+ goto rollback;
1156+
1157+ err= rename_table_message(haildb_schema_transaction, from, to);
1158+
1159+ if (err != DB_SUCCESS)
1160+ goto rollback;
1161+
1162+ err= ib_trx_commit(haildb_schema_transaction);
1163 if (err != DB_SUCCESS)
1164 goto rollback;
1165
1166 return 0;
1167 rollback:
1168- ib_err_t rollback_err= ib_schema_unlock(innodb_schema_transaction);
1169+ ib_err_t rollback_err= ib_schema_unlock(haildb_schema_transaction);
1170 assert(rollback_err == DB_SUCCESS);
1171- rollback_err= ib_trx_rollback(innodb_schema_transaction);
1172+ rollback_err= ib_trx_rollback(haildb_schema_transaction);
1173 assert(rollback_err == DB_SUCCESS);
1174 return ib_err_t_to_drizzle_error(err);
1175 }
1176
1177-void EmbeddedInnoDBEngine::getTableNamesInSchemaFromInnoDB(
1178+void HailDBEngine::getTableNamesInSchemaFromHailDB(
1179 const drizzled::SchemaIdentifier &schema,
1180 drizzled::plugin::TableNameList *set_of_names,
1181 drizzled::TableIdentifiers *identifiers)
1182@@ -1524,21 +1524,21 @@
1183 search_string.append("/");
1184
1185 transaction = ib_trx_begin(IB_TRX_REPEATABLE_READ);
1186- ib_err_t innodb_err= ib_schema_lock_exclusive(transaction);
1187- assert(innodb_err == DB_SUCCESS); /* FIXME: doGetTableNames needs to be able to return error */
1188+ ib_err_t haildb_err= ib_schema_lock_exclusive(transaction);
1189+ assert(haildb_err == DB_SUCCESS); /* FIXME: doGetTableNames needs to be able to return error */
1190
1191 if (search_string.compare("data_dictionary/") == 0)
1192 {
1193 if (set_of_names)
1194 {
1195- BOOST_FOREACH(std::string table_name, innodb_system_table_names)
1196+ BOOST_FOREACH(std::string table_name, haildb_system_table_names)
1197 {
1198 set_of_names->insert(table_name);
1199 }
1200 }
1201 if (identifiers)
1202 {
1203- BOOST_FOREACH(std::string table_name, innodb_system_table_names)
1204+ BOOST_FOREACH(std::string table_name, haildb_system_table_names)
1205 {
1206 identifiers->push_back(TableIdentifier(schema.getSchemaName(),
1207 table_name));
1208@@ -1546,8 +1546,8 @@
1209 }
1210 }
1211
1212- innodb_err= ib_cursor_open_table("SYS_TABLES", transaction, &cursor);
1213- assert(innodb_err == DB_SUCCESS); /* FIXME */
1214+ haildb_err= ib_cursor_open_table("SYS_TABLES", transaction, &cursor);
1215+ assert(haildb_err == DB_SUCCESS); /* FIXME */
1216
1217 ib_tpl_t read_tuple;
1218 ib_tpl_t search_tuple;
1219@@ -1555,17 +1555,17 @@
1220 read_tuple= ib_clust_read_tuple_create(cursor);
1221 search_tuple= ib_clust_search_tuple_create(cursor);
1222
1223- innodb_err= ib_col_set_value(search_tuple, 0, search_string.c_str(),
1224+ haildb_err= ib_col_set_value(search_tuple, 0, search_string.c_str(),
1225 search_string.length());
1226- assert (innodb_err == DB_SUCCESS); // FIXME
1227+ assert (haildb_err == DB_SUCCESS); // FIXME
1228
1229 int res;
1230- innodb_err = ib_cursor_moveto(cursor, search_tuple, IB_CUR_GE, &res);
1231+ haildb_err = ib_cursor_moveto(cursor, search_tuple, IB_CUR_GE, &res);
1232 // fixme: check error above
1233
1234- while (innodb_err == DB_SUCCESS)
1235+ while (haildb_err == DB_SUCCESS)
1236 {
1237- innodb_err= ib_cursor_read_row(cursor, read_tuple);
1238+ haildb_err= ib_cursor_read_row(cursor, read_tuple);
1239
1240 const char *table_name;
1241 int table_name_len;
1242@@ -1587,28 +1587,28 @@
1243 }
1244
1245
1246- innodb_err= ib_cursor_next(cursor);
1247+ haildb_err= ib_cursor_next(cursor);
1248 read_tuple= ib_tuple_clear(read_tuple);
1249 }
1250
1251 ib_tuple_delete(read_tuple);
1252 ib_tuple_delete(search_tuple);
1253
1254- innodb_err= ib_cursor_close(cursor);
1255- assert(innodb_err == DB_SUCCESS); // FIXME
1256+ haildb_err= ib_cursor_close(cursor);
1257+ assert(haildb_err == DB_SUCCESS); // FIXME
1258
1259- innodb_err= ib_trx_commit(transaction);
1260- assert(innodb_err == DB_SUCCESS); // FIXME
1261+ haildb_err= ib_trx_commit(transaction);
1262+ assert(haildb_err == DB_SUCCESS); // FIXME
1263 }
1264
1265-void EmbeddedInnoDBEngine::doGetTableIdentifiers(drizzled::CachedDirectory &,
1266+void HailDBEngine::doGetTableIdentifiers(drizzled::CachedDirectory &,
1267 const drizzled::SchemaIdentifier &schema,
1268 drizzled::TableIdentifiers &identifiers)
1269 {
1270- getTableNamesInSchemaFromInnoDB(schema, NULL, &identifiers);
1271+ getTableNamesInSchemaFromHailDB(schema, NULL, &identifiers);
1272 }
1273
1274-static int read_table_message_from_innodb(const char* table_name, drizzled::message::Table *table_message)
1275+static int read_table_message_from_haildb(const char* table_name, drizzled::message::Table *table_message)
1276 {
1277 ib_trx_t transaction;
1278 ib_tpl_t search_tuple;
1279@@ -1630,7 +1630,7 @@
1280 return err;
1281 }
1282
1283- err= ib_cursor_open_table(INNODB_TABLE_DEFINITIONS_TABLE, transaction, &cursor);
1284+ err= ib_cursor_open_table(HAILDB_TABLE_DEFINITIONS_TABLE, transaction, &cursor);
1285 if (err != DB_SUCCESS)
1286 {
1287 rollback_err= ib_trx_rollback(transaction);
1288@@ -1682,11 +1682,11 @@
1289 rollback_err= ib_trx_rollback(transaction);
1290 assert(rollback_err == DB_SUCCESS);
1291
1292- if (strcmp(table_name, INNODB_TABLE_DEFINITIONS_TABLE) == 0)
1293+ if (strcmp(table_name, HAILDB_TABLE_DEFINITIONS_TABLE) == 0)
1294 {
1295 message::Engine *engine= table_message->mutable_engine();
1296 engine->set_name("InnoDB");
1297- table_message->set_name("innodb_table_definitions");
1298+ table_message->set_name("haildb_table_definitions");
1299 table_message->set_schema("data_dictionary");
1300 table_message->set_type(message::Table::STANDARD);
1301 table_message->set_creation_timestamp(0);
1302@@ -1727,62 +1727,62 @@
1303 return -1;
1304 }
1305
1306-int EmbeddedInnoDBEngine::doGetTableDefinition(Session &session,
1307+int HailDBEngine::doGetTableDefinition(Session &session,
1308 const TableIdentifier &identifier,
1309 drizzled::message::Table &table)
1310 {
1311- ib_crsr_t innodb_cursor= NULL;
1312- string innodb_table_name;
1313+ ib_crsr_t haildb_cursor= NULL;
1314+ string haildb_table_name;
1315
1316 /* Check temporary tables!? */
1317 if (session.getTableMessage(identifier, table))
1318 return EEXIST;
1319
1320- TableIdentifier_to_innodb_name(identifier, &innodb_table_name);
1321+ TableIdentifier_to_haildb_name(identifier, &haildb_table_name);
1322
1323- if (ib_cursor_open_table(innodb_table_name.c_str(), NULL, &innodb_cursor) != DB_SUCCESS)
1324+ if (ib_cursor_open_table(haildb_table_name.c_str(), NULL, &haildb_cursor) != DB_SUCCESS)
1325 return ENOENT;
1326
1327- ib_err_t err= ib_cursor_close(innodb_cursor);
1328+ ib_err_t err= ib_cursor_close(haildb_cursor);
1329
1330 assert (err == DB_SUCCESS);
1331
1332- if (read_table_message_from_innodb(innodb_table_name.c_str(), &table) != 0)
1333+ if (read_table_message_from_haildb(haildb_table_name.c_str(), &table) != 0)
1334 {
1335- if (get_innodb_system_table_message(innodb_table_name.c_str(), &table) == 0)
1336+ if (get_haildb_system_table_message(haildb_table_name.c_str(), &table) == 0)
1337 return EEXIST;
1338 }
1339
1340 return EEXIST;
1341 }
1342
1343-bool EmbeddedInnoDBEngine::doDoesTableExist(Session &,
1344- const TableIdentifier& identifier)
1345+bool HailDBEngine::doDoesTableExist(Session &,
1346+ const TableIdentifier& identifier)
1347 {
1348- ib_crsr_t innodb_cursor;
1349- string innodb_table_name;
1350-
1351- TableIdentifier_to_innodb_name(identifier, &innodb_table_name);
1352-
1353- boost::unordered_set<string>::iterator iter= innodb_system_table_names.find(identifier.getTableName());
1354- if (iter != innodb_system_table_names.end())
1355+ ib_crsr_t haildb_cursor;
1356+ string haildb_table_name;
1357+
1358+ TableIdentifier_to_haildb_name(identifier, &haildb_table_name);
1359+
1360+ boost::unordered_set<string>::iterator iter= haildb_system_table_names.find(identifier.getTableName());
1361+ if (iter != haildb_system_table_names.end())
1362 return true;
1363
1364- if (ib_cursor_open_table(innodb_table_name.c_str(), NULL, &innodb_cursor) != DB_SUCCESS)
1365+ if (ib_cursor_open_table(haildb_table_name.c_str(), NULL, &haildb_cursor) != DB_SUCCESS)
1366 return false;
1367
1368- ib_err_t err= ib_cursor_close(innodb_cursor);
1369+ ib_err_t err= ib_cursor_close(haildb_cursor);
1370 assert(err == DB_SUCCESS);
1371
1372 return true;
1373 }
1374
1375-const char *EmbeddedInnoDBCursor::index_type(uint32_t)
1376+const char *HailDBCursor::index_type(uint32_t)
1377 {
1378 return("BTREE");
1379 }
1380
1381-static ib_err_t write_row_to_innodb_tuple(Field **fields, ib_tpl_t tuple)
1382+static ib_err_t write_row_to_haildb_tuple(Field **fields, ib_tpl_t tuple)
1383 {
1384 int colnr= 0;
1385 ib_err_t err= DB_ERROR;
1386@@ -1872,7 +1872,7 @@
1387 return(max_value);
1388 }
1389
1390-int EmbeddedInnoDBCursor::doInsertRecord(unsigned char *record)
1391+int HailDBCursor::doInsertRecord(unsigned char *record)
1392 {
1393 ib_err_t err;
1394 int ret= 0;
1395@@ -1899,10 +1899,10 @@
1396 * yuck.
1397 */
1398
1399- EmbeddedInnoDBEngine *innodb_engine= static_cast<EmbeddedInnoDBEngine*>(engine);
1400+ HailDBEngine *storage_engine= static_cast<HailDBEngine*>(engine);
1401 err= ib_cursor_reset(cursor);
1402- innodb_engine->doCommit(current_session, true);
1403- innodb_engine->doStartTransaction(current_session, START_TRANS_NO_OPTIONS);
1404+ storage_engine->doCommit(current_session, true);
1405+ storage_engine->doStartTransaction(current_session, START_TRANS_NO_OPTIONS);
1406 transaction= *get_trx(table->in_use);
1407 assert(err == DB_SUCCESS);
1408 ib_cursor_attach_trx(cursor, transaction);
1409@@ -1940,7 +1940,7 @@
1410
1411 }
1412
1413- write_row_to_innodb_tuple(table->getFields(), tuple);
1414+ write_row_to_haildb_tuple(table->getFields(), tuple);
1415
1416 if (share->has_hidden_primary_key)
1417 {
1418@@ -1953,7 +1953,7 @@
1419 {
1420 if (write_can_replace)
1421 {
1422- store_key_value_from_innodb(table->key_info + table->getShare()->getPrimaryKey(),
1423+ store_key_value_from_haildb(table->key_info + table->getShare()->getPrimaryKey(),
1424 ref, ref_length, record);
1425
1426 ib_tpl_t search_tuple= ib_clust_search_tuple_create(cursor);
1427@@ -1973,7 +1973,7 @@
1428 err= ib_cursor_first(cursor);
1429 assert(err == DB_SUCCESS || err == DB_END_OF_INDEX);
1430
1431- write_row_to_innodb_tuple(table->getFields(), tuple);
1432+ write_row_to_haildb_tuple(table->getFields(), tuple);
1433
1434 err= ib_cursor_insert_row(cursor, tuple);
1435 assert(err==DB_SUCCESS); // probably be nice and process errors
1436@@ -1991,7 +1991,7 @@
1437 return ret;
1438 }
1439
1440-int EmbeddedInnoDBCursor::doUpdateRecord(const unsigned char *,
1441+int HailDBCursor::doUpdateRecord(const unsigned char *,
1442 unsigned char *)
1443 {
1444 ib_tpl_t update_tuple;
1445@@ -2002,7 +2002,7 @@
1446 err= ib_tuple_copy(update_tuple, tuple);
1447 assert(err == DB_SUCCESS);
1448
1449- write_row_to_innodb_tuple(table->getFields(), update_tuple);
1450+ write_row_to_haildb_tuple(table->getFields(), update_tuple);
1451
1452 err= ib_cursor_update_row(cursor, tuple, update_tuple);
1453
1454@@ -2018,7 +2018,7 @@
1455 return -1;
1456 }
1457
1458-int EmbeddedInnoDBCursor::doDeleteRecord(const unsigned char *)
1459+int HailDBCursor::doDeleteRecord(const unsigned char *)
1460 {
1461 ib_err_t err;
1462
1463@@ -2030,11 +2030,11 @@
1464 return 0;
1465 }
1466
1467-int EmbeddedInnoDBCursor::delete_all_rows(void)
1468+int HailDBCursor::delete_all_rows(void)
1469 {
1470 /* I *think* ib_truncate is non-transactional....
1471 so only support TRUNCATE and not DELETE FROM t;
1472- (this is what ha_innodb does)
1473+ (this is what ha_haildb does)
1474 */
1475 if (session_sql_command(table->in_use) != SQLCOM_TRUNCATE)
1476 return HA_ERR_WRONG_COMMAND;
1477@@ -2053,7 +2053,7 @@
1478
1479 push_warning_printf(table->in_use, DRIZZLE_ERROR::WARN_LEVEL_ERROR,
1480 ER_CANT_DELETE_FILE,
1481- _("Cannot Lock Embedded InnoDB Data Dictionary. InnoDB Error %d (%s)\n"),
1482+ _("Cannot Lock HailDB Data Dictionary. HailDB Error %d (%s)\n"),
1483 err, ib_strerror(err));
1484
1485 assert (rollback_err == DB_SUCCESS);
1486@@ -2083,7 +2083,7 @@
1487 return err;
1488 }
1489
1490-int EmbeddedInnoDBCursor::doStartTableScan(bool)
1491+int HailDBCursor::doStartTableScan(bool)
1492 {
1493 ib_err_t err;
1494 ib_trx_t transaction;
1495@@ -2117,7 +2117,7 @@
1496 return(0);
1497 }
1498
1499-int read_row_from_innodb(unsigned char* buf, ib_crsr_t cursor, ib_tpl_t tuple, Table* table, bool has_hidden_primary_key, uint64_t *hidden_pkey, drizzled::memory::Root **blobroot)
1500+int read_row_from_haildb(unsigned char* buf, ib_crsr_t cursor, ib_tpl_t tuple, Table* table, bool has_hidden_primary_key, uint64_t *hidden_pkey, drizzled::memory::Root **blobroot)
1501 {
1502 ib_err_t err;
1503 ptrdiff_t row_offset= buf - table->getInsertRecord();
1504@@ -2199,7 +2199,7 @@
1505 return 0;
1506 }
1507
1508-int EmbeddedInnoDBCursor::rnd_next(unsigned char *buf)
1509+int HailDBCursor::rnd_next(unsigned char *buf)
1510 {
1511 ib_err_t err;
1512 int ret;
1513@@ -2211,7 +2211,7 @@
1514 err= ib_cursor_next(cursor);
1515
1516 tuple= ib_tuple_clear(tuple);
1517- ret= read_row_from_innodb(buf, cursor, tuple, table,
1518+ ret= read_row_from_haildb(buf, cursor, tuple, table,
1519 share->has_hidden_primary_key,
1520 &hidden_autoinc_pkey_position);
1521
1522@@ -2219,7 +2219,7 @@
1523 return ret;
1524 }
1525
1526-int EmbeddedInnoDBCursor::doEndTableScan()
1527+int HailDBCursor::doEndTableScan()
1528 {
1529 ib_err_t err;
1530
1531@@ -2231,7 +2231,7 @@
1532 return 0;
1533 }
1534
1535-int EmbeddedInnoDBCursor::rnd_pos(unsigned char *buf, unsigned char *pos)
1536+int HailDBCursor::rnd_pos(unsigned char *buf, unsigned char *pos)
1537 {
1538 ib_err_t err;
1539 int res;
1540@@ -2268,7 +2268,7 @@
1541 tuple= ib_tuple_clear(tuple);
1542
1543 if (ret == 0)
1544- ret= read_row_from_innodb(buf, cursor, tuple, table,
1545+ ret= read_row_from_haildb(buf, cursor, tuple, table,
1546 share->has_hidden_primary_key,
1547 &hidden_autoinc_pkey_position);
1548
1549@@ -2277,7 +2277,7 @@
1550 return(ret);
1551 }
1552
1553-static void store_key_value_from_innodb(KeyInfo *key_info, unsigned char* ref, int ref_len, const unsigned char *record)
1554+static void store_key_value_from_haildb(KeyInfo *key_info, unsigned char* ref, int ref_len, const unsigned char *record)
1555 {
1556 KeyPartInfo* key_part= key_info->key_part;
1557 KeyPartInfo* end= key_info->key_part + key_info->key_parts;
1558@@ -2332,7 +2332,7 @@
1559 assert(ref == ref_start + ref_len);
1560 }
1561
1562-void EmbeddedInnoDBCursor::position(const unsigned char *record)
1563+void HailDBCursor::position(const unsigned char *record)
1564 {
1565 if (share->has_hidden_primary_key)
1566 *((uint64_t*) ref)= hidden_autoinc_pkey_position;
1567@@ -2344,19 +2344,19 @@
1568 else
1569 keynr= get_first_unique_index(*table);
1570
1571- store_key_value_from_innodb(table->key_info + keynr,
1572+ store_key_value_from_haildb(table->key_info + keynr,
1573 ref, ref_length, record);
1574 }
1575
1576 return;
1577 }
1578
1579-double EmbeddedInnoDBCursor::scan_time()
1580+double HailDBCursor::scan_time()
1581 {
1582 return 0.1;
1583 }
1584
1585-int EmbeddedInnoDBCursor::info(uint32_t flag)
1586+int HailDBCursor::info(uint32_t flag)
1587 {
1588 stats.records= 2;
1589
1590@@ -2365,7 +2365,7 @@
1591 return(0);
1592 }
1593
1594-int EmbeddedInnoDBCursor::doStartIndexScan(uint32_t keynr, bool)
1595+int HailDBCursor::doStartIndexScan(uint32_t keynr, bool)
1596 {
1597 ib_trx_t transaction= *get_trx(table->in_use);
1598
1599@@ -2381,7 +2381,7 @@
1600 {
1601 ib_err_t err;
1602 ib_id_t index_id;
1603- err= ib_index_get_id(table_path_to_innodb_name(table_share->getPath()),
1604+ err= ib_index_get_id(table_path_to_haildb_name(table_share->getPath()),
1605 table_share->getKeyInfo(keynr).name,
1606 &index_id);
1607 if (err != DB_SUCCESS)
1608@@ -2509,7 +2509,7 @@
1609 assert(buff == key_ptr + key_len);
1610 }
1611
1612-int EmbeddedInnoDBCursor::innodb_index_read(unsigned char *buf,
1613+int HailDBCursor::haildb_index_read(unsigned char *buf,
1614 const unsigned char *key_ptr,
1615 uint32_t key_len,
1616 drizzled::ha_rkey_function find_flag,
1617@@ -2547,7 +2547,7 @@
1618 }
1619
1620 tuple= ib_tuple_clear(tuple);
1621- ret= read_row_from_innodb(buf, cursor, tuple, table,
1622+ ret= read_row_from_haildb(buf, cursor, tuple, table,
1623 share->has_hidden_primary_key,
1624 &hidden_autoinc_pkey_position,
1625 (allocate_blobs)? &blobroot : NULL);
1626@@ -2561,16 +2561,16 @@
1627 return ret;
1628 }
1629
1630-int EmbeddedInnoDBCursor::index_read(unsigned char *buf,
1631+int HailDBCursor::index_read(unsigned char *buf,
1632 const unsigned char *key_ptr,
1633 uint32_t key_len,
1634 drizzled::ha_rkey_function find_flag)
1635 {
1636- return innodb_index_read(buf, key_ptr, key_len, find_flag, false);
1637+ return haildb_index_read(buf, key_ptr, key_len, find_flag, false);
1638 }
1639
1640 /* This is straight from cursor.cc, but it's private there :( */
1641-uint32_t EmbeddedInnoDBCursor::calculate_key_len(uint32_t key_position,
1642+uint32_t HailDBCursor::calculate_key_len(uint32_t key_position,
1643 key_part_map keypart_map_arg)
1644 {
1645 /* works only with key prefixes */
1646@@ -2590,17 +2590,17 @@
1647 }
1648
1649
1650-int EmbeddedInnoDBCursor::innodb_index_read_map(unsigned char * buf,
1651+int HailDBCursor::haildb_index_read_map(unsigned char * buf,
1652 const unsigned char *key,
1653 key_part_map keypart_map,
1654 enum ha_rkey_function find_flag,
1655 bool allocate_blobs)
1656 {
1657 uint32_t key_len= calculate_key_len(active_index, keypart_map);
1658- return innodb_index_read(buf, key, key_len, find_flag, allocate_blobs);
1659+ return haildb_index_read(buf, key, key_len, find_flag, allocate_blobs);
1660 }
1661
1662-int EmbeddedInnoDBCursor::index_read_idx_map(unsigned char * buf,
1663+int HailDBCursor::index_read_idx_map(unsigned char * buf,
1664 uint32_t index,
1665 const unsigned char * key,
1666 key_part_map keypart_map,
1667@@ -2610,13 +2610,13 @@
1668 error= doStartIndexScan(index, 0);
1669 if (!error)
1670 {
1671- error= innodb_index_read_map(buf, key, keypart_map, find_flag, true);
1672+ error= haildb_index_read_map(buf, key, keypart_map, find_flag, true);
1673 error1= doEndIndexScan();
1674 }
1675 return error ? error : error1;
1676 }
1677
1678-int EmbeddedInnoDBCursor::reset()
1679+int HailDBCursor::reset()
1680 {
1681 if (blobroot)
1682 blobroot->free_root(MYF(0));
1683@@ -2624,7 +2624,7 @@
1684 return 0;
1685 }
1686
1687-int EmbeddedInnoDBCursor::index_next(unsigned char *buf)
1688+int HailDBCursor::index_next(unsigned char *buf)
1689 {
1690 int ret= HA_ERR_END_OF_FILE;
1691
1692@@ -2636,7 +2636,7 @@
1693 }
1694
1695 tuple= ib_tuple_clear(tuple);
1696- ret= read_row_from_innodb(buf, cursor, tuple, table,
1697+ ret= read_row_from_haildb(buf, cursor, tuple, table,
1698 share->has_hidden_primary_key,
1699 &hidden_autoinc_pkey_position);
1700
1701@@ -2644,14 +2644,14 @@
1702 return ret;
1703 }
1704
1705-int EmbeddedInnoDBCursor::doEndIndexScan()
1706+int HailDBCursor::doEndIndexScan()
1707 {
1708 active_index= MAX_KEY;
1709
1710 return doEndTableScan();
1711 }
1712
1713-int EmbeddedInnoDBCursor::index_prev(unsigned char *buf)
1714+int HailDBCursor::index_prev(unsigned char *buf)
1715 {
1716 int ret= HA_ERR_END_OF_FILE;
1717 ib_err_t err;
1718@@ -2669,7 +2669,7 @@
1719 }
1720
1721 tuple= ib_tuple_clear(tuple);
1722- ret= read_row_from_innodb(buf, cursor, tuple, table,
1723+ ret= read_row_from_haildb(buf, cursor, tuple, table,
1724 share->has_hidden_primary_key,
1725 &hidden_autoinc_pkey_position);
1726
1727@@ -2679,7 +2679,7 @@
1728 }
1729
1730
1731-int EmbeddedInnoDBCursor::index_first(unsigned char *buf)
1732+int HailDBCursor::index_first(unsigned char *buf)
1733 {
1734 int ret= HA_ERR_END_OF_FILE;
1735 ib_err_t err;
1736@@ -2689,7 +2689,7 @@
1737 return ib_err_t_to_drizzle_error(err);
1738
1739 tuple= ib_tuple_clear(tuple);
1740- ret= read_row_from_innodb(buf, cursor, tuple, table,
1741+ ret= read_row_from_haildb(buf, cursor, tuple, table,
1742 share->has_hidden_primary_key,
1743 &hidden_autoinc_pkey_position);
1744
1745@@ -2699,7 +2699,7 @@
1746 }
1747
1748
1749-int EmbeddedInnoDBCursor::index_last(unsigned char *buf)
1750+int HailDBCursor::index_last(unsigned char *buf)
1751 {
1752 int ret= HA_ERR_END_OF_FILE;
1753 ib_err_t err;
1754@@ -2709,7 +2709,7 @@
1755 return ib_err_t_to_drizzle_error(err);
1756
1757 tuple= ib_tuple_clear(tuple);
1758- ret= read_row_from_innodb(buf, cursor, tuple, table,
1759+ ret= read_row_from_haildb(buf, cursor, tuple, table,
1760 share->has_hidden_primary_key,
1761 &hidden_autoinc_pkey_position);
1762 advance_cursor= true;
1763@@ -2717,7 +2717,7 @@
1764 return ret;
1765 }
1766
1767-int EmbeddedInnoDBCursor::extra(enum ha_extra_function operation)
1768+int HailDBCursor::extra(enum ha_extra_function operation)
1769 {
1770 switch (operation)
1771 {
1772@@ -2751,7 +2751,7 @@
1773 if (create_db_err != IB_TRUE)
1774 return -1;
1775
1776- err= ib_table_schema_create(INNODB_TABLE_DEFINITIONS_TABLE, &schema,
1777+ err= ib_table_schema_create(HAILDB_TABLE_DEFINITIONS_TABLE, &schema,
1778 IB_TBL_COMPACT, 0);
1779 if (err != DB_SUCCESS)
1780 return err;
1781@@ -2831,20 +2831,20 @@
1782 static long innobase_additional_mem_pool_size;
1783 static long innobase_force_recovery;
1784 static long innobase_log_buffer_size;
1785-static char default_innodb_data_file_path[]= "ibdata1:10M:autoextend";
1786-static char* innodb_data_file_path= NULL;
1787-
1788-static int64_t innodb_log_file_size;
1789-static int64_t innodb_log_files_in_group;
1790-
1791-static int embedded_innodb_init(drizzled::module::Context &context)
1792+static char default_haildb_data_file_path[]= "ibdata1:10M:autoextend";
1793+static char* haildb_data_file_path= NULL;
1794+
1795+static int64_t haildb_log_file_size;
1796+static int64_t haildb_log_files_in_group;
1797+
1798+static int haildb_init(drizzled::module::Context &context)
1799 {
1800- innodb_system_table_names.insert(std::string("INNODB_SYS_TABLES"));
1801- innodb_system_table_names.insert(std::string("INNODB_SYS_COLUMNS"));
1802- innodb_system_table_names.insert(std::string("INNODB_SYS_INDEXES"));
1803- innodb_system_table_names.insert(std::string("INNODB_SYS_FIELDS"));
1804- innodb_system_table_names.insert(std::string("INNODB_SYS_FOREIGN"));
1805- innodb_system_table_names.insert(std::string("INNODB_SYS_FOREIGN_COLS"));
1806+ haildb_system_table_names.insert(std::string("HAILDB_SYS_TABLES"));
1807+ haildb_system_table_names.insert(std::string("HAILDB_SYS_COLUMNS"));
1808+ haildb_system_table_names.insert(std::string("HAILDB_SYS_INDEXES"));
1809+ haildb_system_table_names.insert(std::string("HAILDB_SYS_FIELDS"));
1810+ haildb_system_table_names.insert(std::string("HAILDB_SYS_FOREIGN"));
1811+ haildb_system_table_names.insert(std::string("HAILDB_SYS_FOREIGN_COLS"));
1812
1813 const module::option_map &vm= context.getOptions();
1814
1815@@ -2926,18 +2926,18 @@
1816
1817 if (vm.count("log-file-size"))
1818 {
1819- if (innodb_log_file_size > INT64_MAX || innodb_log_file_size < 1*1024*1024L)
1820+ if (haildb_log_file_size > INT64_MAX || haildb_log_file_size < 1*1024*1024L)
1821 {
1822 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of log-file-size"));
1823 exit(-1);
1824 }
1825- innodb_log_file_size/= 1024*1024L;
1826- innodb_log_file_size*= 1024*1024L;
1827+ haildb_log_file_size/= 1024*1024L;
1828+ haildb_log_file_size*= 1024*1024L;
1829 }
1830
1831 if (vm.count("log-files-in-group"))
1832 {
1833- if (innodb_log_files_in_group > 100 || innodb_log_files_in_group < 2)
1834+ if (haildb_log_files_in_group > 100 || haildb_log_files_in_group < 2)
1835 {
1836 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of log-files-in-group"));
1837 exit(-1);
1838@@ -3049,31 +3049,31 @@
1839
1840 if (vm.count("data-file-path"))
1841 {
1842- innodb_data_file_path= const_cast<char *>(vm["data-file-path"].as<string>().c_str());
1843+ haildb_data_file_path= const_cast<char *>(vm["data-file-path"].as<string>().c_str());
1844 }
1845
1846 ib_err_t err;
1847
1848 err= ib_init();
1849 if (err != DB_SUCCESS)
1850- goto innodb_error;
1851+ goto haildb_error;
1852
1853 if (innobase_data_home_dir)
1854 {
1855 err= ib_cfg_set_text("data_home_dir", innobase_data_home_dir);
1856 if (err != DB_SUCCESS)
1857- goto innodb_error;
1858+ goto haildb_error;
1859 }
1860
1861 if (innobase_log_group_home_dir)
1862 {
1863 err= ib_cfg_set_text("log_group_home_dir", innobase_log_group_home_dir);
1864 if (err != DB_SUCCESS)
1865- goto innodb_error;
1866+ goto haildb_error;
1867 }
1868
1869- if (innodb_data_file_path == NULL)
1870- innodb_data_file_path= default_innodb_data_file_path;
1871+ if (haildb_data_file_path == NULL)
1872+ haildb_data_file_path= default_haildb_data_file_path;
1873
1874 if (innobase_print_verbose_log)
1875 err= ib_cfg_set_bool_on("print_verbose_log");
1876@@ -3081,7 +3081,7 @@
1877 err= ib_cfg_set_bool_off("print_verbose_log");
1878
1879 if (err != DB_SUCCESS)
1880- goto innodb_error;
1881+ goto haildb_error;
1882
1883 if (innobase_rollback_on_timeout)
1884 err= ib_cfg_set_bool_on("rollback_on_timeout");
1885@@ -3089,7 +3089,7 @@
1886 err= ib_cfg_set_bool_off("rollback_on_timeout");
1887
1888 if (err != DB_SUCCESS)
1889- goto innodb_error;
1890+ goto haildb_error;
1891
1892 if (innobase_use_doublewrite)
1893 err= ib_cfg_set_bool_on("doublewrite");
1894@@ -3097,7 +3097,7 @@
1895 err= ib_cfg_set_bool_off("doublewrite");
1896
1897 if (err != DB_SUCCESS)
1898- goto innodb_error;
1899+ goto haildb_error;
1900
1901 if (innobase_adaptive_hash_index)
1902 err= ib_cfg_set_bool_on("adaptive_hash_index");
1903@@ -3105,7 +3105,7 @@
1904 err= ib_cfg_set_bool_off("adaptive_hash_index");
1905
1906 if (err != DB_SUCCESS)
1907- goto innodb_error;
1908+ goto haildb_error;
1909
1910 if (srv_adaptive_flushing)
1911 err= ib_cfg_set_bool_on("adaptive_flushing");
1912@@ -3113,23 +3113,23 @@
1913 err= ib_cfg_set_bool_off("adaptive_flushing");
1914
1915 if (err != DB_SUCCESS)
1916- goto innodb_error;
1917+ goto haildb_error;
1918
1919 err= ib_cfg_set_int("additional_mem_pool_size", innobase_additional_mem_pool_size);
1920 if (err != DB_SUCCESS)
1921- goto innodb_error;
1922+ goto haildb_error;
1923
1924 err= ib_cfg_set_int("autoextend_increment", srv_auto_extend_increment);
1925 if (err != DB_SUCCESS)
1926- goto innodb_error;
1927+ goto haildb_error;
1928
1929 err= ib_cfg_set_int("buffer_pool_size", innobase_buffer_pool_size);
1930 if (err != DB_SUCCESS)
1931- goto innodb_error;
1932+ goto haildb_error;
1933
1934 err= ib_cfg_set_int("io_capacity", srv_io_capacity);
1935 if (err != DB_SUCCESS)
1936- goto innodb_error;
1937+ goto haildb_error;
1938
1939 if (srv_file_per_table)
1940 err= ib_cfg_set_bool_on("file_per_table");
1941@@ -3137,70 +3137,70 @@
1942 err= ib_cfg_set_bool_off("file_per_table");
1943
1944 if (err != DB_SUCCESS)
1945- goto innodb_error;
1946+ goto haildb_error;
1947
1948 err= ib_cfg_set_int("flush_log_at_trx_commit", srv_flush_log_at_trx_commit);
1949 if (err != DB_SUCCESS)
1950- goto innodb_error;
1951+ goto haildb_error;
1952
1953 if (innobase_unix_file_flush_method)
1954 {
1955 err= ib_cfg_set_text("flush_method", innobase_unix_file_flush_method);
1956 if (err != DB_SUCCESS)
1957- goto innodb_error;
1958+ goto haildb_error;
1959 }
1960
1961 err= ib_cfg_set_int("force_recovery", innobase_force_recovery);
1962 if (err != DB_SUCCESS)
1963- goto innodb_error;
1964-
1965- err= ib_cfg_set_text("data_file_path", innodb_data_file_path);
1966- if (err != DB_SUCCESS)
1967- goto innodb_error;
1968-
1969- err= ib_cfg_set_int("log_file_size", innodb_log_file_size);
1970- if (err != DB_SUCCESS)
1971- goto innodb_error;
1972+ goto haildb_error;
1973+
1974+ err= ib_cfg_set_text("data_file_path", haildb_data_file_path);
1975+ if (err != DB_SUCCESS)
1976+ goto haildb_error;
1977+
1978+ err= ib_cfg_set_int("log_file_size", haildb_log_file_size);
1979+ if (err != DB_SUCCESS)
1980+ goto haildb_error;
1981
1982 err= ib_cfg_set_int("log_buffer_size", innobase_log_buffer_size);
1983 if (err != DB_SUCCESS)
1984- goto innodb_error;
1985+ goto haildb_error;
1986
1987- err= ib_cfg_set_int("log_files_in_group", innodb_log_files_in_group);
1988+ err= ib_cfg_set_int("log_files_in_group", haildb_log_files_in_group);
1989 if (err != DB_SUCCESS)
1990- goto innodb_error;
1991+ goto haildb_error;
1992
1993 err= ib_cfg_set_int("checksums", innobase_use_checksums);
1994 if (err != DB_SUCCESS)
1995- goto innodb_error;
1996+ goto haildb_error;
1997
1998 err= ib_cfg_set_int("lock_wait_timeout", innobase_lock_wait_timeout);
1999 if (err != DB_SUCCESS)
2000- goto innodb_error;
2001+ goto haildb_error;
2002
2003 err= ib_cfg_set_int("max_dirty_pages_pct", srv_max_buf_pool_modified_pct);
2004 if (err != DB_SUCCESS)
2005- goto innodb_error;
2006+ goto haildb_error;
2007
2008 err= ib_cfg_set_int("max_purge_lag", srv_max_purge_lag);
2009 if (err != DB_SUCCESS)
2010- goto innodb_error;
2011+ goto haildb_error;
2012
2013 err= ib_cfg_set_int("open_files", innobase_open_files);
2014 if (err != DB_SUCCESS)
2015- goto innodb_error;
2016+ goto haildb_error;
2017
2018 err= ib_cfg_set_int("read_io_threads", innobase_read_io_threads);
2019 if (err != DB_SUCCESS)
2020- goto innodb_error;
2021+ goto haildb_error;
2022
2023 err= ib_cfg_set_int("write_io_threads", innobase_write_io_threads);
2024 if (err != DB_SUCCESS)
2025- goto innodb_error;
2026+ goto haildb_error;
2027
2028 err= ib_cfg_set_int("sync_spin_loops", srv_n_spin_wait_rounds);
2029 if (err != DB_SUCCESS)
2030- goto innodb_error;
2031+ goto haildb_error;
2032
2033 if (srv_use_sys_malloc)
2034 err= ib_cfg_set_bool_on("use_sys_malloc");
2035@@ -3208,31 +3208,31 @@
2036 err= ib_cfg_set_bool_off("use_sys_malloc");
2037
2038 if (err != DB_SUCCESS)
2039- goto innodb_error;
2040+ goto haildb_error;
2041
2042 err= ib_startup(innobase_file_format_name);
2043 if (err != DB_SUCCESS)
2044- goto innodb_error;
2045+ goto haildb_error;
2046
2047 create_table_message_table();
2048
2049- embedded_innodb_engine= new EmbeddedInnoDBEngine("InnoDB");
2050- context.add(embedded_innodb_engine);
2051+ haildb_engine= new HailDBEngine("InnoDB");
2052+ context.add(haildb_engine);
2053
2054- libinnodb_version_func_initialize(context);
2055- libinnodb_datadict_dump_func_initialize(context);
2056+ haildb_version_func_initialize(context);
2057+ haildb_datadict_dump_func_initialize(context);
2058 config_table_function_initialize(context);
2059 status_table_function_initialize(context);
2060
2061 return 0;
2062-innodb_error:
2063- fprintf(stderr, _("Error starting Embedded InnoDB %d (%s)\n"),
2064+haildb_error:
2065+ fprintf(stderr, _("Error starting HailDB %d (%s)\n"),
2066 err, ib_strerror(err));
2067 return -1;
2068 }
2069
2070
2071-EmbeddedInnoDBEngine::~EmbeddedInnoDBEngine()
2072+HailDBEngine::~HailDBEngine()
2073 {
2074 ib_err_t err;
2075 ib_shutdown_t shutdown_flag= IB_SHUTDOWN_NORMAL;
2076@@ -3246,14 +3246,14 @@
2077
2078 if (err != DB_SUCCESS)
2079 {
2080- fprintf(stderr,"Error %d shutting down Embedded InnoDB!\n", err);
2081+ fprintf(stderr,"Error %d shutting down HailDB!\n", err);
2082 }
2083
2084 }
2085
2086-static char innodb_file_format_name_storage[100];
2087+static char haildb_file_format_name_storage[100];
2088
2089-static int innodb_file_format_name_validate(Session*, drizzle_sys_var*,
2090+static int haildb_file_format_name_validate(Session*, drizzle_sys_var*,
2091 void *save,
2092 drizzle_value *value)
2093 {
2094@@ -3271,17 +3271,17 @@
2095
2096 if (err == DB_SUCCESS)
2097 {
2098- strncpy(innodb_file_format_name_storage, format, sizeof(innodb_file_format_name_storage));;
2099- innodb_file_format_name_storage[sizeof(innodb_file_format_name_storage)-1]= 0;
2100+ strncpy(haildb_file_format_name_storage, format, sizeof(haildb_file_format_name_storage));;
2101+ haildb_file_format_name_storage[sizeof(haildb_file_format_name_storage)-1]= 0;
2102
2103- *static_cast<const char**>(save)= innodb_file_format_name_storage;
2104+ *static_cast<const char**>(save)= haildb_file_format_name_storage;
2105 return 0;
2106 }
2107 else
2108 return 1;
2109 }
2110
2111-static void innodb_file_format_name_update(Session*, drizzle_sys_var*,
2112+static void haildb_file_format_name_update(Session*, drizzle_sys_var*,
2113 void *var_ptr,
2114 const void *save)
2115
2116@@ -3294,13 +3294,13 @@
2117 format= *static_cast<const char*const*>(save);
2118
2119 /* Format is already set in validate */
2120- memmove(innodb_file_format_name_storage, format, sizeof(innodb_file_format_name_storage));;
2121- innodb_file_format_name_storage[sizeof(innodb_file_format_name_storage)-1]= 0;
2122+ memmove(haildb_file_format_name_storage, format, sizeof(haildb_file_format_name_storage));;
2123+ haildb_file_format_name_storage[sizeof(haildb_file_format_name_storage)-1]= 0;
2124
2125- *static_cast<const char**>(var_ptr)= innodb_file_format_name_storage;
2126+ *static_cast<const char**>(var_ptr)= haildb_file_format_name_storage;
2127 }
2128
2129-static void innodb_lru_old_blocks_pct_update(Session*, drizzle_sys_var*,
2130+static void haildb_lru_old_blocks_pct_update(Session*, drizzle_sys_var*,
2131 void *,
2132 const void *save)
2133
2134@@ -3314,7 +3314,7 @@
2135 innobase_lru_old_blocks_pct= pct;
2136 }
2137
2138-static void innodb_lru_block_access_recency_update(Session*, drizzle_sys_var*,
2139+static void haildb_lru_block_access_recency_update(Session*, drizzle_sys_var*,
2140 void *,
2141 const void *save)
2142
2143@@ -3329,7 +3329,7 @@
2144 innobase_lru_block_access_recency= ms;
2145 }
2146
2147-static void innodb_status_file_update(Session*, drizzle_sys_var*,
2148+static void haildb_status_file_update(Session*, drizzle_sys_var*,
2149 void *,
2150 const void *save)
2151
2152@@ -3351,7 +3351,7 @@
2153
2154 static DRIZZLE_SYSVAR_BOOL(adaptive_hash_index, innobase_adaptive_hash_index,
2155 PLUGIN_VAR_NOCMDARG,
2156- "Enable InnoDB adaptive hash index (enabled by default). ",
2157+ "Enable HailDB adaptive hash index (enabled by default). ",
2158 NULL, NULL, true);
2159
2160 static DRIZZLE_SYSVAR_BOOL(adaptive_flushing, srv_adaptive_flushing,
2161@@ -3361,7 +3361,7 @@
2162
2163 static DRIZZLE_SYSVAR_LONG(additional_mem_pool_size, innobase_additional_mem_pool_size,
2164 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
2165- "Size of a memory pool InnoDB uses to store data dictionary information and other internal data structures.",
2166+ "Size of a memory pool HailDB uses to store data dictionary information and other internal data structures.",
2167 NULL, NULL, 8*1024*1024L, 512*1024L, LONG_MAX, 1024);
2168
2169 static DRIZZLE_SYSVAR_UINT(autoextend_increment, srv_auto_extend_increment,
2170@@ -3371,24 +3371,24 @@
2171
2172 static DRIZZLE_SYSVAR_LONGLONG(buffer_pool_size, innobase_buffer_pool_size,
2173 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
2174- "The size of the memory buffer InnoDB uses to cache data and indexes of its tables.",
2175+ "The size of the memory buffer HailDB uses to cache data and indexes of its tables.",
2176 NULL, NULL, 128*1024*1024L, 5*1024*1024L, INT64_MAX, 1024*1024L);
2177
2178 static DRIZZLE_SYSVAR_BOOL(checksums, innobase_use_checksums,
2179 PLUGIN_VAR_NOCMDARG | PLUGIN_VAR_READONLY,
2180- "Enable InnoDB checksums validation (enabled by default). "
2181- "Disable with --skip-innodb-checksums.",
2182+ "Enable HailDB checksums validation (enabled by default). "
2183+ "Disable with --skip-haildb-checksums.",
2184 NULL, NULL, true);
2185
2186 static DRIZZLE_SYSVAR_STR(data_home_dir, innobase_data_home_dir,
2187 PLUGIN_VAR_READONLY,
2188- "The common part for InnoDB table spaces.",
2189+ "The common part for HailDB table spaces.",
2190 NULL, NULL, NULL);
2191
2192 static DRIZZLE_SYSVAR_BOOL(doublewrite, innobase_use_doublewrite,
2193 PLUGIN_VAR_NOCMDARG | PLUGIN_VAR_READONLY,
2194- "Enable InnoDB doublewrite buffer (enabled by default). "
2195- "Disable with --skip-innodb-doublewrite.",
2196+ "Enable HailDB doublewrite buffer (enabled by default). "
2197+ "Disable with --skip-haildb-doublewrite.",
2198 NULL, NULL, true);
2199
2200 static DRIZZLE_SYSVAR_ULONG(io_capacity, srv_io_capacity,
2201@@ -3398,7 +3398,7 @@
2202
2203 static DRIZZLE_SYSVAR_ULONG(fast_shutdown, innobase_fast_shutdown,
2204 PLUGIN_VAR_OPCMDARG,
2205- "Speeds up the shutdown process of the InnoDB storage engine. Possible "
2206+ "Speeds up the shutdown process of the HailDB storage engine. Possible "
2207 "values are 0, 1 (faster)"
2208 " or 2 (fastest - crash-like)"
2209 ".",
2210@@ -3406,14 +3406,14 @@
2211
2212 static DRIZZLE_SYSVAR_BOOL(file_per_table, srv_file_per_table,
2213 PLUGIN_VAR_NOCMDARG,
2214- "Stores each InnoDB table to an .ibd file in the database dir.",
2215+ "Stores each HailDB table to an .ibd file in the database dir.",
2216 NULL, NULL, false);
2217
2218 static DRIZZLE_SYSVAR_STR(file_format, innobase_file_format_name,
2219 PLUGIN_VAR_RQCMDARG,
2220 "File format to use for new tables in .ibd files.",
2221- innodb_file_format_name_validate,
2222- innodb_file_format_name_update, "Barracuda");
2223+ haildb_file_format_name_validate,
2224+ haildb_file_format_name_update, "Barracuda");
2225
2226 static DRIZZLE_SYSVAR_ULONG(flush_log_at_trx_commit, srv_flush_log_at_trx_commit,
2227 PLUGIN_VAR_OPCMDARG,
2228@@ -3431,33 +3431,33 @@
2229 "Helps to save your data in case the disk image of the database becomes corrupt.",
2230 NULL, NULL, 0, 0, 6, 0);
2231
2232-static DRIZZLE_SYSVAR_STR(data_file_path, innodb_data_file_path,
2233+static DRIZZLE_SYSVAR_STR(data_file_path, haildb_data_file_path,
2234 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
2235 "Path to individual files and their sizes.",
2236 NULL, NULL, NULL);
2237
2238 static DRIZZLE_SYSVAR_STR(log_group_home_dir, innobase_log_group_home_dir,
2239 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
2240- "Path to InnoDB log files.", NULL, NULL, NULL);
2241+ "Path to HailDB log files.", NULL, NULL, NULL);
2242
2243-static DRIZZLE_SYSVAR_LONGLONG(log_file_size, innodb_log_file_size,
2244+static DRIZZLE_SYSVAR_LONGLONG(log_file_size, haildb_log_file_size,
2245 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
2246 "Size of each log file in a log group.",
2247 NULL, NULL, 20*1024*1024L, 1*1024*1024L, INT64_MAX, 1024*1024L);
2248
2249-static DRIZZLE_SYSVAR_LONGLONG(log_files_in_group, innodb_log_files_in_group,
2250+static DRIZZLE_SYSVAR_LONGLONG(log_files_in_group, haildb_log_files_in_group,
2251 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
2252- "Number of log files in the log group. InnoDB writes to the files in a circular fashion. Value 3 is recommended here.",
2253+ "Number of log files in the log group. HailDB writes to the files in a circular fashion. Value 3 is recommended here.",
2254 NULL, NULL, 2, 2, 100, 0);
2255
2256 static DRIZZLE_SYSVAR_ULONG(lock_wait_timeout, innobase_lock_wait_timeout,
2257 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
2258- "Timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout.",
2259+ "Timeout in seconds an HailDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout.",
2260 NULL, NULL, 5, 1, 1024 * 1024 * 1024, 0);
2261
2262 static DRIZZLE_SYSVAR_LONG(log_buffer_size, innobase_log_buffer_size,
2263 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
2264- "The size of the buffer which InnoDB uses to write log to the log files on disk.",
2265+ "The size of the buffer which HailDB uses to write log to the log files on disk.",
2266 NULL, NULL, 8*1024*1024L, 256*1024L, LONG_MAX, 1024);
2267
2268 static DRIZZLE_SYSVAR_ULONG(lru_old_blocks_pct, innobase_lru_old_blocks_pct,
2269@@ -3465,14 +3465,14 @@
2270 "Sets the point in the LRU list from where all pages are classified as "
2271 "old (Advanced users)",
2272 NULL,
2273- innodb_lru_old_blocks_pct_update, 37, 5, 95, 0);
2274+ haildb_lru_old_blocks_pct_update, 37, 5, 95, 0);
2275
2276 static DRIZZLE_SYSVAR_ULONG(lru_block_access_recency, innobase_lru_block_access_recency,
2277 PLUGIN_VAR_RQCMDARG,
2278 "Milliseconds between accesses to a block at which it is made young. "
2279 "0=disabled (Advanced users)",
2280 NULL,
2281- innodb_lru_block_access_recency_update, 0, 0, ULONG_MAX, 0);
2282+ haildb_lru_block_access_recency_update, 0, 0, ULONG_MAX, 0);
2283
2284
2285 static DRIZZLE_SYSVAR_ULONG(max_dirty_pages_pct, srv_max_buf_pool_modified_pct,
2286@@ -3492,17 +3492,17 @@
2287
2288 static DRIZZLE_SYSVAR_LONG(open_files, innobase_open_files,
2289 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
2290- "How many files at the maximum InnoDB keeps open at the same time.",
2291+ "How many files at the maximum HailDB keeps open at the same time.",
2292 NULL, NULL, 300L, 10L, LONG_MAX, 0);
2293
2294 static DRIZZLE_SYSVAR_ULONG(read_io_threads, innobase_read_io_threads,
2295 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
2296- "Number of background read I/O threads in InnoDB.",
2297+ "Number of background read I/O threads in HailDB.",
2298 NULL, NULL, 4, 1, 64, 0);
2299
2300 static DRIZZLE_SYSVAR_ULONG(write_io_threads, innobase_write_io_threads,
2301 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
2302- "Number of background write I/O threads in InnoDB.",
2303+ "Number of background write I/O threads in HailDB.",
2304 NULL, NULL, 4, 1, 64, 0);
2305
2306 static DRIZZLE_SYSVAR_BOOL(print_verbose_log, innobase_print_verbose_log,
2307@@ -3512,50 +3512,50 @@
2308
2309 static DRIZZLE_SYSVAR_BOOL(status_file, innobase_create_status_file,
2310 PLUGIN_VAR_OPCMDARG,
2311- "Enable SHOW INNODB STATUS output in the log",
2312- NULL, innodb_status_file_update, false);
2313+ "Enable SHOW HAILDB STATUS output in the log",
2314+ NULL, haildb_status_file_update, false);
2315
2316 static DRIZZLE_SYSVAR_ULONG(sync_spin_loops, srv_n_spin_wait_rounds,
2317 PLUGIN_VAR_RQCMDARG,
2318- "Count of spin-loop rounds in InnoDB mutexes (30 by default)",
2319+ "Count of spin-loop rounds in HailDB mutexes (30 by default)",
2320 NULL, NULL, 30L, 0L, ~0L, 0);
2321
2322 static DRIZZLE_SYSVAR_BOOL(use_sys_malloc, srv_use_sys_malloc,
2323 PLUGIN_VAR_NOCMDARG | PLUGIN_VAR_READONLY,
2324- "Use OS memory allocator instead of InnoDB's internal memory allocator",
2325+ "Use OS memory allocator instead of HailDB's internal memory allocator",
2326 NULL, NULL, true);
2327
2328 static void init_options(drizzled::module::option_context &context)
2329 {
2330 context("disable-adaptive-hash-index",
2331- N_("Disable InnoDB adaptive hash index (enabled by default)."));
2332+ N_("Disable HailDB adaptive hash index (enabled by default)."));
2333 context("disable-adaptive-flushing",
2334 N_("Do not attempt to flush dirty pages to avoid IO bursts at checkpoints."));
2335 context("additional-mem-pool-size",
2336 po::value<long>(&innobase_additional_mem_pool_size)->default_value(8*1024*1024L),
2337- N_("Size of a memory pool InnoDB uses to store data dictionary information and other internal data structures."));
2338+ N_("Size of a memory pool HailDB uses to store data dictionary information and other internal data structures."));
2339 context("autoextend-increment",
2340 po::value<unsigned int>(&srv_auto_extend_increment)->default_value(8L),
2341 N_("Data file autoextend increment in megabytes"));
2342 context("buffer-pool-size",
2343 po::value<int64_t>(&innobase_buffer_pool_size)->default_value(128*1024*1024L),
2344- N_("The size of the memory buffer InnoDB uses to cache data and indexes of its tables."));
2345+ N_("The size of the memory buffer HailDB uses to cache data and indexes of its tables."));
2346 context("data-home-dir",
2347 po::value<string>(),
2348- N_("The common part for InnoDB table spaces."));
2349+ N_("The common part for HailDB table spaces."));
2350 context("disable-checksums",
2351- N_("Disable InnoDB checksums validation (enabled by default)."));
2352+ N_("Disable HailDB checksums validation (enabled by default)."));
2353 context("disable-doublewrite",
2354- N_("Disable InnoDB doublewrite buffer (enabled by default)."));
2355+ N_("Disable HailDB doublewrite buffer (enabled by default)."));
2356 context("io-capacity",
2357 po::value<unsigned long>(&srv_io_capacity)->default_value(200),
2358 N_("Number of IOPs the server can do. Tunes the background IO rate"));
2359 context("fast-shutdown",
2360 po::value<unsigned long>(&innobase_fast_shutdown)->default_value(1),
2361- N_("Speeds up the shutdown process of the InnoDB storage engine. Possible values are 0, 1 (faster) or 2 (fastest - crash-like)."));
2362+ N_("Speeds up the shutdown process of the HailDB storage engine. Possible values are 0, 1 (faster) or 2 (fastest - crash-like)."));
2363 context("file-per-table",
2364 po::value<bool>(&srv_file_per_table)->default_value(false)->zero_tokens(),
2365- N_("Stores each InnoDB table to an .ibd file in the database dir."));
2366+ N_("Stores each HailDB table to an .ibd file in the database dir."));
2367 context("file-format",
2368 po::value<string>(),
2369 N_("File format to use for new tables in .ibd files."));
2370@@ -3576,19 +3576,19 @@
2371 N_("Path to individual files and their sizes."));
2372 context("log-group-home-dir",
2373 po::value<string>(),
2374- N_("Path to InnoDB log files."));
2375+ N_("Path to HailDB log files."));
2376 context("log-file-size",
2377- po::value<int64_t>(&innodb_log_file_size)->default_value(20*1024*1024L),
2378+ po::value<int64_t>(&haildb_log_file_size)->default_value(20*1024*1024L),
2379 N_("Size of each log file in a log group."));
2380- context("innodb-log-files-in-group",
2381- po::value<int64_t>(&innodb_log_files_in_group)->default_value(2),
2382- N_("Number of log files in the log group. InnoDB writes to the files in a circular fashion. Value 3 is recommended here."));
2383+ context("haildb-log-files-in-group",
2384+ po::value<int64_t>(&haildb_log_files_in_group)->default_value(2),
2385+ N_("Number of log files in the log group. HailDB writes to the files in a circular fashion. Value 3 is recommended here."));
2386 context("lock-wait-timeout",
2387 po::value<unsigned long>(&innobase_lock_wait_timeout)->default_value(5),
2388- N_("Timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout."));
2389+ N_("Timeout in seconds an HailDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout."));
2390 context("log-buffer-size",
2391 po::value<long>(&innobase_log_buffer_size)->default_value(8*1024*1024L),
2392- N_("The size of the buffer which InnoDB uses to write log to the log files on disk."));
2393+ N_("The size of the buffer which HailDB uses to write log to the log files on disk."));
2394 context("lru-old-blocks-pct",
2395 po::value<unsigned long>(&innobase_lru_old_blocks_pct)->default_value(37),
2396 N_("Sets the point in the LRU list from where all pages are classified as old (Advanced users)"));
2397@@ -3606,23 +3606,23 @@
2398 N_("Roll back the complete transaction on lock wait timeout, for 4.x compatibility (disabled by default)"));
2399 context("open-files",
2400 po::value<long>(&innobase_open_files)->default_value(300),
2401- N_("How many files at the maximum InnoDB keeps open at the same time."));
2402+ N_("How many files at the maximum HailDB keeps open at the same time."));
2403 context("read-io-threads",
2404 po::value<unsigned long>(&innobase_read_io_threads)->default_value(4),
2405- N_("Number of background read I/O threads in InnoDB."));
2406+ N_("Number of background read I/O threads in HailDB."));
2407 context("write-io-threads",
2408 po::value<unsigned long>(&innobase_write_io_threads)->default_value(4),
2409- N_("Number of background write I/O threads in InnoDB."));
2410+ N_("Number of background write I/O threads in HailDB."));
2411 context("disable-print-verbose-log",
2412 N_("Disable if you want to reduce the number of messages written to the log (default: enabled)."));
2413 context("status-file",
2414 po::value<bool>(&innobase_create_status_file)->default_value(false)->zero_tokens(),
2415- N_("Enable SHOW INNODB STATUS output in the log"));
2416+ N_("Enable SHOW HAILDB STATUS output in the log"));
2417 context("sync-spin-loops",
2418 po::value<unsigned long>(&srv_n_spin_wait_rounds)->default_value(30L),
2419- N_("Count of spin-loop rounds in InnoDB mutexes (30 by default)"));
2420+ N_("Count of spin-loop rounds in HailDB mutexes (30 by default)"));
2421 context("use-internal-malloc",
2422- N_("Use InnoDB's internal memory allocator instead of the OS memory allocator"));
2423+ N_("Use HailDB's internal memory allocator instead of the OS memory allocator"));
2424 }
2425
2426 static drizzle_sys_var* innobase_system_variables[]= {
2427@@ -3668,9 +3668,9 @@
2428 "INNODB",
2429 "1.0",
2430 "Stewart Smith",
2431- "Transactional Storage Engine using the Embedded InnoDB Library",
2432+ "Transactional Storage Engine using the HailDB Library",
2433 PLUGIN_LICENSE_GPL,
2434- embedded_innodb_init, /* Plugin Init */
2435+ haildb_init, /* Plugin Init */
2436 innobase_system_variables, /* system variables */
2437 init_options /* config options */
2438 }
2439
2440=== renamed file 'plugin/embedded_innodb/embedded_innodb_engine.h' => 'plugin/haildb/haildb_engine.h'
2441--- plugin/embedded_innodb/embedded_innodb_engine.h 2010-09-24 06:59:20 +0000
2442+++ plugin/haildb/haildb_engine.h 2010-09-30 08:13:47 +0000
2443@@ -16,16 +16,16 @@
2444 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2445 */
2446
2447-#ifndef PLUGIN_EMBEDDED_INNODB_EMBEDDED_INNODB_ENGINE_H
2448-#define PLUGIN_EMBEDDED_INNODB_EMBEDDED_INNODB_ENGINE_H
2449+#ifndef PLUGIN_HAILDB_HAILDB_ENGINE_H
2450+#define PLUGIN_HAILDB_HAILDB_ENGINE_H
2451
2452 #include <drizzled/cursor.h>
2453 #include <drizzled/atomics.h>
2454
2455-class EmbeddedInnoDBTableShare
2456+class HailDBTableShare
2457 {
2458 public:
2459- EmbeddedInnoDBTableShare(const char* name, bool hidden_primary_key);
2460+ HailDBTableShare(const char* name, bool hidden_primary_key);
2461
2462 drizzled::THR_LOCK lock;
2463 int use_count;
2464@@ -36,11 +36,11 @@
2465 bool has_hidden_primary_key;
2466 };
2467
2468-class EmbeddedInnoDBCursor: public drizzled::Cursor
2469+class HailDBCursor: public drizzled::Cursor
2470 {
2471 public:
2472- EmbeddedInnoDBCursor(drizzled::plugin::StorageEngine &engine, drizzled::TableShare &table_arg);
2473- ~EmbeddedInnoDBCursor()
2474+ HailDBCursor(drizzled::plugin::StorageEngine &engine, drizzled::TableShare &table_arg);
2475+ ~HailDBCursor()
2476 {}
2477
2478 /*
2479@@ -62,7 +62,7 @@
2480 int index_read(unsigned char *buf, const unsigned char *key_ptr,
2481 uint32_t key_len, drizzled::ha_rkey_function find_flag);
2482
2483- int innodb_index_read(unsigned char *buf,
2484+ int haildb_index_read(unsigned char *buf,
2485 const unsigned char *key_ptr,
2486 uint32_t key_len,
2487 drizzled::ha_rkey_function find_flag,
2488@@ -70,7 +70,7 @@
2489
2490 uint32_t calculate_key_len(uint32_t key_position,
2491 drizzled::key_part_map keypart_map_arg);
2492- int innodb_index_read_map(unsigned char * buf,
2493+ int haildb_index_read_map(unsigned char * buf,
2494 const unsigned char *key,
2495 drizzled::key_part_map keypart_map,
2496 drizzled::ha_rkey_function find_flag,
2497@@ -94,12 +94,12 @@
2498 int doUpdateRecord(const unsigned char * old_data, unsigned char * new_data);
2499 int extra(drizzled::ha_extra_function operation);
2500
2501- EmbeddedInnoDBTableShare *get_share(const char *table_name,
2502- bool has_hidden_primary_key,
2503- int *rc);
2504+ HailDBTableShare *get_share(const char *table_name,
2505+ bool has_hidden_primary_key,
2506+ int *rc);
2507 int free_share();
2508
2509- EmbeddedInnoDBTableShare *share;
2510+ HailDBTableShare *share;
2511 drizzled::THR_LOCK_DATA lock; /* lock for store_lock. this is ass. */
2512 drizzled::THR_LOCK_DATA **store_lock(drizzled::Session *,
2513 drizzled::THR_LOCK_DATA **to,
2514@@ -130,7 +130,6 @@
2515 bool in_table_scan;
2516 };
2517
2518-int get_innodb_system_table_message(const char* table_name, drizzled::message::Table *table_message);
2519-
2520-
2521-#endif /* PLUGIN_EMBEDDED_INNODB_EMBEDDED_INNODB_ENGINE_H */
2522+int get_haildb_system_table_message(const char* table_name, drizzled::message::Table *table_message);
2523+
2524+#endif /* PLUGIN_HAILDB_HAILDB_ENGINE_H */
2525
2526=== renamed file 'plugin/embedded_innodb/libinnodb_version_func.cc' => 'plugin/haildb/haildb_version_func.cc'
2527--- plugin/embedded_innodb/libinnodb_version_func.cc 2010-08-06 23:03:50 +0000
2528+++ plugin/haildb/haildb_version_func.cc 2010-09-30 08:13:47 +0000
2529@@ -21,7 +21,7 @@
2530 #include <drizzled/item/func.h>
2531 #include "drizzled/charset.h"
2532 #include <drizzled/function/str/strfunc.h>
2533-#include "libinnodb_version_func.h"
2534+#include "haildb_version_func.h"
2535
2536 #if defined(HAVE_HAILDB_H)
2537 # include <haildb.h>
2538@@ -32,10 +32,10 @@
2539 using namespace std;
2540 using namespace drizzled;
2541
2542-class LibinnodbVersionFunction : public Item_str_func
2543+class HailDBVersionFunction : public Item_str_func
2544 {
2545 public:
2546- LibinnodbVersionFunction() : Item_str_func() {}
2547+ HailDBVersionFunction() : Item_str_func() {}
2548 String *val_str(String*);
2549
2550 void fix_length_and_dec()
2551@@ -45,7 +45,7 @@
2552
2553 const char *func_name() const
2554 {
2555- return "libinnodb_version";
2556+ return "haildb_version";
2557 }
2558
2559 bool check_argument_count(int n)
2560@@ -55,7 +55,7 @@
2561 };
2562
2563
2564-String *LibinnodbVersionFunction::val_str(String *str)
2565+String *HailDBVersionFunction::val_str(String *str)
2566 {
2567 assert(fixed == true);
2568
2569@@ -81,11 +81,11 @@
2570 }
2571
2572
2573-plugin::Create_function<LibinnodbVersionFunction> *libinnodb_version_func= NULL;
2574+plugin::Create_function<HailDBVersionFunction> *haildb_version_func= NULL;
2575
2576-int libinnodb_version_func_initialize(module::Context &context)
2577+int haildb_version_func_initialize(module::Context &context)
2578 {
2579- libinnodb_version_func= new plugin::Create_function<LibinnodbVersionFunction>("libinnodb_version");
2580- context.add(libinnodb_version_func);
2581+ haildb_version_func= new plugin::Create_function<HailDBVersionFunction>("haildb_version");
2582+ context.add(haildb_version_func);
2583 return 0;
2584 }
2585
2586=== renamed file 'plugin/embedded_innodb/libinnodb_version_func.h' => 'plugin/haildb/haildb_version_func.h'
2587--- plugin/embedded_innodb/libinnodb_version_func.h 2010-05-18 18:20:56 +0000
2588+++ plugin/haildb/haildb_version_func.h 2010-09-30 08:13:47 +0000
2589@@ -16,9 +16,9 @@
2590 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2591 */
2592
2593-#ifndef PLUGIN_EMBEDDED_INNODB_LIBINNODB_VERSION_FUNC_H
2594-#define PLUGIN_EMBEDDED_INNODB_LIBINNODB_VERSION_FUNC_H
2595-
2596-int libinnodb_version_func_initialize(drizzled::module::Context &context);
2597-
2598-#endif /* PLUGIN_EMBEDDED_INNODB_LIBINNODB_VERSION_FUNC_H */
2599+#ifndef PLUGIN_HAILDB_HAILDB_VERSION_FUNC_H
2600+#define PLUGIN_HAILDB_HAILDB_VERSION_FUNC_H
2601+
2602+int haildb_version_func_initialize(drizzled::module::Context &context);
2603+
2604+#endif /* PLUGIN_HAILDB_HAILDB_VERSION_FUNC_H */
2605
2606=== modified file 'plugin/haildb/plugin.ini'
2607--- plugin/embedded_innodb/plugin.ini 2010-09-24 06:59:20 +0000
2608+++ plugin/haildb/plugin.ini 2010-09-30 08:13:47 +0000
2609@@ -1,8 +1,8 @@
2610 [plugin]
2611-title=InnoDB Storage Engine using the Embedded InnoDB library
2612-description=Work in progress engine using libinnodb instead of including it in tree.
2613-sources=embedded_innodb_engine.cc libinnodb_version_func.cc libinnodb_datadict_dump_func.cc config_table_function.cc status_table_function.cc datadict_table_message.cc
2614-headers=embedded_innodb_engine.h libinnodb_version_func.h libinnodb_datadict_dump_func.h config_table_function.h status_table_function.h
2615+title=HailDB storage engine
2616+description=Uses the HailDB library to implement a storage engine for Drizzle.
2617+sources=haildb_engine.cc haildb_version_func.cc haildb_datadict_dump_func.cc config_table_function.cc status_table_function.cc datadict_table_message.cc
2618+headers=haildb_engine.h haildb_version_func.h haildb_datadict_dump_func.h config_table_function.h status_table_function.h
2619 build_conditional="x${ac_cv_have_innodb}" = "xyes"
2620 ldflags=${INNODB_LIBS}
2621 extra_dist=test-suite-dir
2622
2623=== modified file 'plugin/haildb/status_table_function.cc'
2624--- plugin/embedded_innodb/status_table_function.cc 2010-08-06 23:03:50 +0000
2625+++ plugin/haildb/status_table_function.cc 2010-09-30 08:13:47 +0000
2626@@ -111,7 +111,7 @@
2627 };
2628
2629 LibInnoDBStatusTool::LibInnoDBStatusTool() :
2630- plugin::TableFunction("DATA_DICTIONARY", "INNODB_STATUS")
2631+ plugin::TableFunction("DATA_DICTIONARY", "HAILDB_STATUS")
2632 {
2633 add_field("NAME");
2634 add_field("VALUE", plugin::TableFunction::NUMBER);
2635
2636=== modified file 'plugin/haildb/status_table_function.h'
2637--- plugin/embedded_innodb/status_table_function.h 2010-05-18 18:20:56 +0000
2638+++ plugin/haildb/status_table_function.h 2010-09-30 08:13:47 +0000
2639@@ -16,9 +16,9 @@
2640 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2641 */
2642
2643-#ifndef PLUGIN_EMBEDDED_INNODB_STATUS_TABLE_FUNCTION_H
2644-#define PLUGIN_EMBEDDED_INNODB_STATUS_TABLE_FUNCTION_H
2645+#ifndef PLUGIN_HAILDB_STATUS_TABLE_FUNCTION_H
2646+#define PLUGIN_HAILDB_STATUS_TABLE_FUNCTION_H
2647
2648 int status_table_function_initialize(drizzled::module::Context &context);
2649
2650-#endif /* PLUGIN_EMBEDDED_INNODB_STATUS_TABLE_FUNCTION_H */
2651+#endif /* PLUGIN_HAILDB_STATUS_TABLE_FUNCTION_H */
2652
2653=== renamed directory 'plugin/embedded_innodb/test-suite-dir/embedded_innodb' => 'plugin/haildb/test-suite-dir/haildb'
2654=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/basic_innodb_table_proto_table.result'
2655--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/basic_innodb_table_proto_table.result 2010-09-27 09:58:04 +0000
2656+++ plugin/haildb/test-suite-dir/haildb/tests/r/basic_innodb_table_proto_table.result 2010-09-30 08:13:47 +0000
2657@@ -1,30 +1,30 @@
2658-show create table data_dictionary.innodb_table_definitions;
2659+show create table data_dictionary.haildb_table_definitions;
2660 Table Create Table
2661-innodb_table_definitions CREATE TABLE `innodb_table_definitions` (
2662+haildb_table_definitions CREATE TABLE `haildb_table_definitions` (
2663 `table_name` VARBINARY(192),
2664 `message` BLOB,
2665 PRIMARY KEY (`table_name`) USING BTREE
2666 ) ENGINE=InnoDB COLLATE = binary
2667-select * from data_dictionary.innodb_table_definitions;
2668+select * from data_dictionary.haildb_table_definitions;
2669 table_name message
2670 use data_dictionary;
2671-show tables like 'innodb%';
2672-Tables_in_data_dictionary (innodb%)
2673-INNODB_CONFIGURATION
2674-INNODB_STATUS
2675-INNODB_SYS_COLUMNS
2676-INNODB_SYS_FIELDS
2677-INNODB_SYS_FOREIGN
2678-INNODB_SYS_FOREIGN_COLS
2679-INNODB_SYS_INDEXES
2680-INNODB_SYS_TABLES
2681-innodb_table_definitions
2682+show tables like 'haildb%';
2683+Tables_in_data_dictionary (haildb%)
2684+HAILDB_CONFIGURATION
2685+HAILDB_STATUS
2686+HAILDB_SYS_COLUMNS
2687+HAILDB_SYS_FIELDS
2688+HAILDB_SYS_FOREIGN
2689+HAILDB_SYS_FOREIGN_COLS
2690+HAILDB_SYS_INDEXES
2691+HAILDB_SYS_TABLES
2692+haildb_table_definitions
2693 use test;
2694 create table t1 (a int primary key);
2695-select table_name from data_dictionary.innodb_table_definitions;
2696+select table_name from data_dictionary.haildb_table_definitions;
2697 table_name
2698 test/t1
2699 drop table t1;
2700-select count(table_name) from data_dictionary.innodb_table_definitions;
2701+select count(table_name) from data_dictionary.haildb_table_definitions;
2702 count(table_name)
2703 0
2704
2705=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_flushing_default.result'
2706--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_adaptive_flushing_default.result 2010-05-10 13:17:59 +0000
2707+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_flushing_default.result 2010-09-30 08:13:47 +0000
2708@@ -1,6 +1,6 @@
2709 SHOW VARIABLES LIKE 'innodb_adaptive_flushing';
2710 Variable_name Value
2711 innodb_adaptive_flushing ON
2712-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_flushing';
2713+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_flushing';
2714 NAME TYPE VALUE
2715 adaptive_flushing BOOL true
2716
2717=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_flushing_off.result'
2718--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_adaptive_flushing_off.result 2010-05-10 13:17:59 +0000
2719+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_flushing_off.result 2010-09-30 08:13:47 +0000
2720@@ -1,6 +1,6 @@
2721 SHOW VARIABLES LIKE 'innodb_adaptive_flushing';
2722 Variable_name Value
2723 innodb_adaptive_flushing OFF
2724-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_flushing';
2725+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_flushing';
2726 NAME TYPE VALUE
2727 adaptive_flushing BOOL false
2728
2729=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_flushing_on.result'
2730--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_adaptive_flushing_on.result 2010-05-10 13:17:59 +0000
2731+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_flushing_on.result 2010-09-30 08:13:47 +0000
2732@@ -1,6 +1,6 @@
2733 SHOW VARIABLES LIKE 'innodb_adaptive_flushing';
2734 Variable_name Value
2735 innodb_adaptive_flushing ON
2736-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_flushing';
2737+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_flushing';
2738 NAME TYPE VALUE
2739 adaptive_flushing BOOL true
2740
2741=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_hash_index_default.result'
2742--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_adaptive_hash_index_default.result 2010-05-10 12:53:25 +0000
2743+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_hash_index_default.result 2010-09-30 08:13:47 +0000
2744@@ -1,6 +1,6 @@
2745 SHOW VARIABLES LIKE 'innodb_adaptive_hash_index';
2746 Variable_name Value
2747 innodb_adaptive_hash_index ON
2748-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_hash_index';
2749+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_hash_index';
2750 NAME TYPE VALUE
2751 adaptive_hash_index BOOL true
2752
2753=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_hash_index_off.result'
2754--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_adaptive_hash_index_off.result 2010-05-10 13:14:39 +0000
2755+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_hash_index_off.result 2010-09-30 08:13:47 +0000
2756@@ -1,6 +1,6 @@
2757 SHOW VARIABLES LIKE 'innodb_adaptive_hash_index';
2758 Variable_name Value
2759 innodb_adaptive_hash_index OFF
2760-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_hash_index';
2761+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_hash_index';
2762 NAME TYPE VALUE
2763 adaptive_hash_index BOOL false
2764
2765=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_hash_index_on.result'
2766--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_adaptive_hash_index_on.result 2010-05-10 12:53:25 +0000
2767+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_adaptive_hash_index_on.result 2010-09-30 08:13:47 +0000
2768@@ -1,6 +1,6 @@
2769 SHOW VARIABLES LIKE 'innodb_adaptive_hash_index';
2770 Variable_name Value
2771 innodb_adaptive_hash_index ON
2772-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_hash_index';
2773+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_hash_index';
2774 NAME TYPE VALUE
2775 adaptive_hash_index BOOL true
2776
2777=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_additional_mem_pool_size_32m.result'
2778--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_additional_mem_pool_size_32m.result 2010-05-10 13:27:43 +0000
2779+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_additional_mem_pool_size_32m.result 2010-09-30 08:13:47 +0000
2780@@ -1,6 +1,6 @@
2781 SHOW VARIABLES LIKE 'innodb_additional_mem_pool_size';
2782 Variable_name Value
2783 innodb_additional_mem_pool_size 33554432
2784-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='additional_mem_pool_size';
2785+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='additional_mem_pool_size';
2786 NAME TYPE VALUE
2787 additional_mem_pool_size ULINT 33554432
2788
2789=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_addtl_mem_pool_size_default.result'
2790--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_addtl_mem_pool_size_default.result 2010-07-08 21:21:35 +0000
2791+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_addtl_mem_pool_size_default.result 2010-09-30 08:13:47 +0000
2792@@ -1,6 +1,6 @@
2793 SHOW VARIABLES LIKE 'innodb_additional_mem_pool_size';
2794 Variable_name Value
2795 innodb_additional_mem_pool_size 8388608
2796-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='additional_mem_pool_size';
2797+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='additional_mem_pool_size';
2798 NAME TYPE VALUE
2799 additional_mem_pool_size ULINT 8388608
2800
2801=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_autoextend_increment_42.result'
2802--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_autoextend_increment_42.result 2010-05-10 13:56:23 +0000
2803+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_autoextend_increment_42.result 2010-09-30 08:13:47 +0000
2804@@ -1,6 +1,6 @@
2805 SHOW VARIABLES LIKE 'innodb_autoextend_increment';
2806 Variable_name Value
2807 innodb_autoextend_increment 42
2808-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='autoextend_increment';
2809+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='autoextend_increment';
2810 NAME TYPE VALUE
2811 autoextend_increment ULONG 42
2812
2813=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_autoextend_increment_default.result'
2814--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_autoextend_increment_default.result 2010-05-10 13:56:23 +0000
2815+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_autoextend_increment_default.result 2010-09-30 08:13:47 +0000
2816@@ -1,6 +1,6 @@
2817 SHOW VARIABLES LIKE 'innodb_autoextend_increment';
2818 Variable_name Value
2819 innodb_autoextend_increment 8
2820-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='autoextend_increment';
2821+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='autoextend_increment';
2822 NAME TYPE VALUE
2823 autoextend_increment ULONG 8
2824
2825=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_buffer_pool_size_22m.result'
2826--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_buffer_pool_size_22m.result 2010-05-10 14:02:46 +0000
2827+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_buffer_pool_size_22m.result 2010-09-30 08:13:47 +0000
2828@@ -1,6 +1,6 @@
2829 SHOW VARIABLES LIKE 'innodb_buffer_pool_size';
2830 Variable_name Value
2831 innodb_buffer_pool_size 20971520
2832-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='buffer_pool_size';
2833+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='buffer_pool_size';
2834 NAME TYPE VALUE
2835 buffer_pool_size ULINT 20971520
2836
2837=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_buffer_pool_size_default.result'
2838--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_buffer_pool_size_default.result 2010-05-10 14:02:46 +0000
2839+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_buffer_pool_size_default.result 2010-09-30 08:13:47 +0000
2840@@ -1,6 +1,6 @@
2841 SHOW VARIABLES LIKE 'innodb_buffer_pool_size';
2842 Variable_name Value
2843 innodb_buffer_pool_size 134217728
2844-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='buffer_pool_size';
2845+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='buffer_pool_size';
2846 NAME TYPE VALUE
2847 buffer_pool_size ULINT 134217728
2848
2849=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_checksums_disable.result'
2850--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_checksums_disable.result 2010-04-30 05:50:45 +0000
2851+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_checksums_disable.result 2010-09-30 08:13:47 +0000
2852@@ -1,3 +1,3 @@
2853-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='checksums';
2854+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='checksums';
2855 NAME TYPE VALUE
2856 checksums BOOL false
2857
2858=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_checksums_enable.result'
2859--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_checksums_enable.result 2010-04-30 05:50:45 +0000
2860+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_checksums_enable.result 2010-09-30 08:13:47 +0000
2861@@ -1,3 +1,3 @@
2862-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='checksums';
2863+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='checksums';
2864 NAME TYPE VALUE
2865 checksums BOOL true
2866
2867=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_doublewrite_disable.result'
2868--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_doublewrite_disable.result 2010-05-03 13:21:19 +0000
2869+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_doublewrite_disable.result 2010-09-30 08:13:47 +0000
2870@@ -1,4 +1,4 @@
2871-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='doublewrite';
2872+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='doublewrite';
2873 NAME TYPE VALUE
2874 doublewrite BOOL false
2875 SHOW VARIABLES LIKE 'innodb_doublewrite';
2876
2877=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_doublewrite_enable.result'
2878--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_doublewrite_enable.result 2010-05-03 13:21:19 +0000
2879+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_doublewrite_enable.result 2010-09-30 08:13:47 +0000
2880@@ -1,4 +1,4 @@
2881-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='doublewrite';
2882+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='doublewrite';
2883 NAME TYPE VALUE
2884 doublewrite BOOL true
2885 show variables like 'innodb_doublewrite';
2886
2887=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_file_format.result'
2888--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_file_format.result 2010-05-05 02:33:31 +0000
2889+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_file_format.result 2010-09-30 08:13:47 +0000
2890@@ -1,21 +1,21 @@
2891 SHOW VARIABLES LIKE 'innodb_file_format';
2892 Variable_name Value
2893 innodb_file_format Barracuda
2894-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_format';
2895+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_format';
2896 NAME TYPE VALUE
2897 file_format TEXT Barracuda
2898 SET GLOBAL innodb_file_format='antelope';
2899 SHOW VARIABLES LIKE 'innodb_file_format';
2900 Variable_name Value
2901 innodb_file_format antelope
2902-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_format';
2903+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_format';
2904 NAME TYPE VALUE
2905 file_format TEXT Antelope
2906 SET GLOBAL innodb_file_format='barracuda';
2907 SHOW VARIABLES LIKE 'innodb_file_format';
2908 Variable_name Value
2909 innodb_file_format barracuda
2910-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_format';
2911+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_format';
2912 NAME TYPE VALUE
2913 file_format TEXT Barracuda
2914 SET GLOBAL innodb_file_format='broccolini';
2915@@ -23,6 +23,6 @@
2916 SHOW VARIABLES LIKE 'innodb_file_format';
2917 Variable_name Value
2918 innodb_file_format barracuda
2919-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_format';
2920+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_format';
2921 NAME TYPE VALUE
2922 file_format TEXT Barracuda
2923
2924=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_file_per_table_disable.result'
2925--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_file_per_table_disable.result 2010-05-03 14:13:17 +0000
2926+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_file_per_table_disable.result 2010-09-30 08:13:47 +0000
2927@@ -1,7 +1,7 @@
2928 SHOW VARIABLES LIKE 'innodb_file_per_table';
2929 Variable_name Value
2930 innodb_file_per_table OFF
2931-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_per_table';
2932+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_per_table';
2933 NAME TYPE VALUE
2934 file_per_table BOOL false
2935 CREATE TABLE t1 (a int primary key);
2936
2937=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_file_per_table_enable.result'
2938--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_file_per_table_enable.result 2010-05-03 14:08:25 +0000
2939+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_file_per_table_enable.result 2010-09-30 08:13:47 +0000
2940@@ -1,7 +1,7 @@
2941 SHOW VARIABLES LIKE 'innodb_file_per_table';
2942 Variable_name Value
2943 innodb_file_per_table ON
2944-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_per_table';
2945+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_per_table';
2946 NAME TYPE VALUE
2947 file_per_table BOOL true
2948 CREATE TABLE t1 (a int primary key);
2949
2950=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_log_at_trx_commit0.result'
2951--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_flush_log_at_trx_commit0.result 2010-05-05 04:24:23 +0000
2952+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_log_at_trx_commit0.result 2010-09-30 08:13:47 +0000
2953@@ -1,6 +1,6 @@
2954 SHOW VARIABLES LIKE 'innodb_flush_log_at_trx_commit';
2955 Variable_name Value
2956 innodb_flush_log_at_trx_commit 0
2957-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
2958+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
2959 NAME TYPE VALUE
2960 flush_log_at_trx_commit ULONG 0
2961
2962=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_log_at_trx_commit1.result'
2963--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_flush_log_at_trx_commit1.result 2010-05-05 04:24:23 +0000
2964+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_log_at_trx_commit1.result 2010-09-30 08:13:47 +0000
2965@@ -1,6 +1,6 @@
2966 SHOW VARIABLES LIKE 'innodb_flush_log_at_trx_commit';
2967 Variable_name Value
2968 innodb_flush_log_at_trx_commit 1
2969-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
2970+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
2971 NAME TYPE VALUE
2972 flush_log_at_trx_commit ULONG 1
2973
2974=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_log_at_trx_commit2.result'
2975--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_flush_log_at_trx_commit2.result 2010-05-05 04:24:23 +0000
2976+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_log_at_trx_commit2.result 2010-09-30 08:13:47 +0000
2977@@ -1,6 +1,6 @@
2978 SHOW VARIABLES LIKE 'innodb_flush_log_at_trx_commit';
2979 Variable_name Value
2980 innodb_flush_log_at_trx_commit 2
2981-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
2982+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
2983 NAME TYPE VALUE
2984 flush_log_at_trx_commit ULONG 2
2985
2986=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method.result'
2987--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_flush_method.result 2010-05-06 09:50:02 +0000
2988+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method.result 2010-09-30 08:13:47 +0000
2989@@ -1,6 +1,6 @@
2990 SHOW VARIABLES LIKE 'innodb_flush_method';
2991 Variable_name Value
2992 innodb_flush_method
2993-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_method';
2994+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_method';
2995 NAME TYPE VALUE
2996 flush_method TEXT fsync
2997
2998=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method_fsync.result'
2999--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_flush_method_fsync.result 2010-05-06 09:50:02 +0000
3000+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method_fsync.result 2010-09-30 08:13:47 +0000
3001@@ -1,6 +1,6 @@
3002 SHOW VARIABLES LIKE 'innodb_flush_method';
3003 Variable_name Value
3004 innodb_flush_method fsync
3005-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_method';
3006+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_method';
3007 NAME TYPE VALUE
3008 flush_method TEXT fsync
3009
3010=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method_odirect.result'
3011--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_flush_method_odirect.result 2010-05-06 09:50:02 +0000
3012+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method_odirect.result 2010-09-30 08:13:47 +0000
3013@@ -1,6 +1,6 @@
3014 SHOW VARIABLES LIKE 'innodb_flush_method';
3015 Variable_name Value
3016 innodb_flush_method O_DIRECT
3017-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_method';
3018+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_method';
3019 NAME TYPE VALUE
3020 flush_method TEXT O_DIRECT
3021
3022=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method_odsync.result'
3023--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_flush_method_odsync.result 2010-05-06 09:50:02 +0000
3024+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_flush_method_odsync.result 2010-09-30 08:13:47 +0000
3025@@ -1,6 +1,6 @@
3026 SHOW VARIABLES LIKE 'innodb_flush_method';
3027 Variable_name Value
3028 innodb_flush_method O_DSYNC
3029-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_method';
3030+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_method';
3031 NAME TYPE VALUE
3032 flush_method TEXT O_DSYNC
3033
3034=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_force_recovery.result'
3035--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_force_recovery.result 2010-05-11 05:11:20 +0000
3036+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_force_recovery.result 2010-09-30 08:13:47 +0000
3037@@ -1,6 +1,6 @@
3038 SHOW VARIABLES LIKE 'innodb_force_recovery';
3039 Variable_name Value
3040 innodb_force_recovery 1
3041-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='force_recovery';
3042+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='force_recovery';
3043 NAME TYPE VALUE
3044 force_recovery ULINT 1
3045
3046=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_io_capacity.result'
3047--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_io_capacity.result 2010-05-03 12:27:00 +0000
3048+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_io_capacity.result 2010-09-30 08:13:47 +0000
3049@@ -1,4 +1,4 @@
3050-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='io_capacity';
3051+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='io_capacity';
3052 NAME TYPE VALUE
3053 io_capacity ULONG 500
3054 show variables like 'innodb_io_capacity';
3055
3056=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_lock_wait_timeout_1.result'
3057--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_lock_wait_timeout_1.result 2010-05-11 05:19:48 +0000
3058+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_lock_wait_timeout_1.result 2010-09-30 08:13:47 +0000
3059@@ -1,6 +1,6 @@
3060 SHOW VARIABLES LIKE 'innodb_lock_wait_timeout';
3061 Variable_name Value
3062 innodb_lock_wait_timeout 1
3063-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lock_wait_timeout';
3064+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lock_wait_timeout';
3065 NAME TYPE VALUE
3066 lock_wait_timeout ULINT 1
3067
3068=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_log_buffer_size_5m.result'
3069--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_log_buffer_size_5m.result 2010-05-11 05:36:20 +0000
3070+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_log_buffer_size_5m.result 2010-09-30 08:13:47 +0000
3071@@ -1,6 +1,6 @@
3072 SHOW VARIABLES LIKE 'innodb_log_buffer_size';
3073 Variable_name Value
3074 innodb_log_buffer_size 5242880
3075-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='log_buffer_size';
3076+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='log_buffer_size';
3077 NAME TYPE VALUE
3078 log_buffer_size ULINT 320
3079
3080=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_log_buffer_size_default.result'
3081--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_log_buffer_size_default.result 2010-05-11 05:36:20 +0000
3082+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_log_buffer_size_default.result 2010-09-30 08:13:47 +0000
3083@@ -1,6 +1,6 @@
3084 SHOW VARIABLES LIKE 'innodb_log_buffer_size';
3085 Variable_name Value
3086 innodb_log_buffer_size 8388608
3087-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='log_buffer_size';
3088+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='log_buffer_size';
3089 NAME TYPE VALUE
3090 log_buffer_size ULINT 512
3091
3092=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_log_group_home_dir.result'
3093--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_log_group_home_dir.result 2010-05-07 04:20:47 +0000
3094+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_log_group_home_dir.result 2010-09-30 08:13:47 +0000
3095@@ -1,6 +1,6 @@
3096 SHOW VARIABLES LIKE 'innodb_log_group_home_dir';
3097 Variable_name Value
3098 innodb_log_group_home_dir
3099-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='log_group_home_dir';
3100+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='log_group_home_dir';
3101 NAME TYPE VALUE
3102 log_group_home_dir TEXT NULL
3103
3104=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_lru_block_access_recency.result'
3105--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_lru_block_access_recency.result 2010-05-07 13:05:14 +0000
3106+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_lru_block_access_recency.result 2010-09-30 08:13:47 +0000
3107@@ -2,35 +2,35 @@
3108 SHOW VARIABLES LIKE 'innodb_lru_block_access_recency';
3109 Variable_name Value
3110 innodb_lru_block_access_recency 0
3111-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_block_access_recency';
3112+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_block_access_recency';
3113 NAME TYPE VALUE
3114 lru_block_access_recency ULINT 0
3115 SET GLOBAL innodb_lru_block_access_recency=20;
3116 SHOW VARIABLES LIKE 'innodb_lru_block_access_recency';
3117 Variable_name Value
3118 innodb_lru_block_access_recency 20
3119-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_block_access_recency';
3120+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_block_access_recency';
3121 NAME TYPE VALUE
3122 lru_block_access_recency ULINT 20
3123 SET GLOBAL innodb_lru_block_access_recency=200;
3124 SHOW VARIABLES LIKE 'innodb_lru_block_access_recency';
3125 Variable_name Value
3126 innodb_lru_block_access_recency 200
3127-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_block_access_recency';
3128+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_block_access_recency';
3129 NAME TYPE VALUE
3130 lru_block_access_recency ULINT 200
3131 SET GLOBAL innodb_lru_block_access_recency=95;
3132 SHOW VARIABLES LIKE 'innodb_lru_block_access_recency';
3133 Variable_name Value
3134 innodb_lru_block_access_recency 95
3135-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_block_access_recency';
3136+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_block_access_recency';
3137 NAME TYPE VALUE
3138 lru_block_access_recency ULINT 95
3139 SET GLOBAL innodb_lru_block_access_recency=0;
3140 SHOW VARIABLES LIKE 'innodb_lru_block_access_recency';
3141 Variable_name Value
3142 innodb_lru_block_access_recency 0
3143-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_block_access_recency';
3144+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_block_access_recency';
3145 NAME TYPE VALUE
3146 lru_block_access_recency ULINT 0
3147 SET GLOBAL innodb_lru_block_access_recency=@my_lru;
3148
3149=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_lru_old_blocks_pct.result'
3150--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_lru_old_blocks_pct.result 2010-05-07 13:05:14 +0000
3151+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_lru_old_blocks_pct.result 2010-09-30 08:13:47 +0000
3152@@ -2,14 +2,14 @@
3153 SHOW VARIABLES LIKE 'innodb_lru_old_blocks_pct';
3154 Variable_name Value
3155 innodb_lru_old_blocks_pct 37
3156-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
3157+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
3158 NAME TYPE VALUE
3159 lru_old_blocks_pct ULINT 37
3160 SET GLOBAL innodb_lru_old_blocks_pct=20;
3161 SHOW VARIABLES LIKE 'innodb_lru_old_blocks_pct';
3162 Variable_name Value
3163 innodb_lru_old_blocks_pct 20
3164-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
3165+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
3166 NAME TYPE VALUE
3167 lru_old_blocks_pct ULINT 20
3168 SET GLOBAL innodb_lru_old_blocks_pct=200;
3169@@ -18,21 +18,21 @@
3170 SHOW VARIABLES LIKE 'innodb_lru_old_blocks_pct';
3171 Variable_name Value
3172 innodb_lru_old_blocks_pct 95
3173-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
3174+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
3175 NAME TYPE VALUE
3176 lru_old_blocks_pct ULINT 95
3177 SET GLOBAL innodb_lru_old_blocks_pct=95;
3178 SHOW VARIABLES LIKE 'innodb_lru_old_blocks_pct';
3179 Variable_name Value
3180 innodb_lru_old_blocks_pct 95
3181-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
3182+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
3183 NAME TYPE VALUE
3184 lru_old_blocks_pct ULINT 95
3185 SET GLOBAL innodb_lru_old_blocks_pct=5;
3186 SHOW VARIABLES LIKE 'innodb_lru_old_blocks_pct';
3187 Variable_name Value
3188 innodb_lru_old_blocks_pct 5
3189-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
3190+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
3191 NAME TYPE VALUE
3192 lru_old_blocks_pct ULINT 5
3193 SET GLOBAL innodb_lru_old_blocks_pct=@my_lru;
3194
3195=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_max_dirty_pages_pct.result'
3196--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_max_dirty_pages_pct.result 2010-05-07 08:02:05 +0000
3197+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_max_dirty_pages_pct.result 2010-09-30 08:13:47 +0000
3198@@ -1,6 +1,6 @@
3199 SHOW VARIABLES LIKE 'innodb_max_dirty_pages_pct';
3200 Variable_name Value
3201 innodb_max_dirty_pages_pct 75
3202-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='max_dirty_pages_pct';
3203+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='max_dirty_pages_pct';
3204 NAME TYPE VALUE
3205 max_dirty_pages_pct ULONG 75
3206
3207=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_max_dirty_pages_pct_50.result'
3208--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_max_dirty_pages_pct_50.result 2010-05-07 08:02:05 +0000
3209+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_max_dirty_pages_pct_50.result 2010-09-30 08:13:47 +0000
3210@@ -1,6 +1,6 @@
3211 SHOW VARIABLES LIKE 'innodb_max_dirty_pages_pct';
3212 Variable_name Value
3213 innodb_max_dirty_pages_pct 50
3214-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='max_dirty_pages_pct';
3215+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='max_dirty_pages_pct';
3216 NAME TYPE VALUE
3217 max_dirty_pages_pct ULONG 50
3218
3219=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_max_purge_lag.result'
3220--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_max_purge_lag.result 2010-05-07 12:15:41 +0000
3221+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_max_purge_lag.result 2010-09-30 08:13:47 +0000
3222@@ -1,6 +1,6 @@
3223 SHOW VARIABLES LIKE 'innodb_max_purge_lag';
3224 Variable_name Value
3225 innodb_max_purge_lag 0
3226-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='max_purge_lag';
3227+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='max_purge_lag';
3228 NAME TYPE VALUE
3229 max_purge_lag ULONG 0
3230
3231=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_max_purge_lag_42.result'
3232--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_max_purge_lag_42.result 2010-05-07 12:15:41 +0000
3233+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_max_purge_lag_42.result 2010-09-30 08:13:47 +0000
3234@@ -1,6 +1,6 @@
3235 SHOW VARIABLES LIKE 'innodb_max_purge_lag';
3236 Variable_name Value
3237 innodb_max_purge_lag 42
3238-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='max_purge_lag';
3239+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='max_purge_lag';
3240 NAME TYPE VALUE
3241 max_purge_lag ULONG 42
3242
3243=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_open_files_800.result'
3244--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_open_files_800.result 2010-05-10 05:13:41 +0000
3245+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_open_files_800.result 2010-09-30 08:13:47 +0000
3246@@ -1,6 +1,6 @@
3247 SHOW VARIABLES LIKE 'innodb_open_files';
3248 Variable_name Value
3249 innodb_open_files 800
3250-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='open_files';
3251+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='open_files';
3252 NAME TYPE VALUE
3253 open_files ULINT 800
3254
3255=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_open_files_default.result'
3256--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_open_files_default.result 2010-05-10 05:13:41 +0000
3257+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_open_files_default.result 2010-09-30 08:13:47 +0000
3258@@ -1,6 +1,6 @@
3259 SHOW VARIABLES LIKE 'innodb_open_files';
3260 Variable_name Value
3261 innodb_open_files 300
3262-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='open_files';
3263+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='open_files';
3264 NAME TYPE VALUE
3265 open_files ULINT 300
3266
3267=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_print_verbose_log.result'
3268--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_print_verbose_log.result 2010-05-11 05:46:17 +0000
3269+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_print_verbose_log.result 2010-09-30 08:13:47 +0000
3270@@ -1,6 +1,6 @@
3271 SHOW VARIABLES LIKE 'innodb_print_verbose_log';
3272 Variable_name Value
3273 innodb_print_verbose_log ON
3274-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='print_verbose_log';
3275+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='print_verbose_log';
3276 NAME TYPE VALUE
3277 print_verbose_log BOOL true
3278
3279=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_print_verbose_log_off.result'
3280--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_print_verbose_log_off.result 2010-05-11 05:46:17 +0000
3281+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_print_verbose_log_off.result 2010-09-30 08:13:47 +0000
3282@@ -1,6 +1,6 @@
3283 SHOW VARIABLES LIKE 'innodb_print_verbose_log';
3284 Variable_name Value
3285 innodb_print_verbose_log OFF
3286-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='print_verbose_log';
3287+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='print_verbose_log';
3288 NAME TYPE VALUE
3289 print_verbose_log BOOL false
3290
3291=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_print_verbose_log_on.result'
3292--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_print_verbose_log_on.result 2010-05-11 05:46:17 +0000
3293+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_print_verbose_log_on.result 2010-09-30 08:13:47 +0000
3294@@ -1,6 +1,6 @@
3295 SHOW VARIABLES LIKE 'innodb_print_verbose_log';
3296 Variable_name Value
3297 innodb_print_verbose_log ON
3298-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='print_verbose_log';
3299+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='print_verbose_log';
3300 NAME TYPE VALUE
3301 print_verbose_log BOOL true
3302
3303=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_read_io_threads_64.result'
3304--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_read_io_threads_64.result 2010-05-10 06:06:20 +0000
3305+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_read_io_threads_64.result 2010-09-30 08:13:47 +0000
3306@@ -1,6 +1,6 @@
3307 SHOW VARIABLES LIKE 'innodb_read_io_threads';
3308 Variable_name Value
3309 innodb_read_io_threads 64
3310-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='read_io_threads';
3311+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='read_io_threads';
3312 NAME TYPE VALUE
3313 read_io_threads ULINT 64
3314
3315=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_read_io_threads_default.result'
3316--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_read_io_threads_default.result 2010-05-10 06:06:20 +0000
3317+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_read_io_threads_default.result 2010-09-30 08:13:47 +0000
3318@@ -1,6 +1,6 @@
3319 SHOW VARIABLES LIKE 'innodb_read_io_threads';
3320 Variable_name Value
3321 innodb_read_io_threads 4
3322-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='read_io_threads';
3323+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='read_io_threads';
3324 NAME TYPE VALUE
3325 read_io_threads ULINT 4
3326
3327=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_rollback_on_timeout.result'
3328--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_rollback_on_timeout.result 2010-05-11 07:09:35 +0000
3329+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_rollback_on_timeout.result 2010-09-30 08:13:47 +0000
3330@@ -1,6 +1,6 @@
3331 SHOW VARIABLES LIKE 'innodb_rollback_on_timeout';
3332 Variable_name Value
3333 innodb_rollback_on_timeout OFF
3334-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='rollback_on_timeout';
3335+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='rollback_on_timeout';
3336 NAME TYPE VALUE
3337 rollback_on_timeout BOOL false
3338
3339=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_rollback_on_timeout_off.result'
3340--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_rollback_on_timeout_off.result 2010-05-11 07:09:35 +0000
3341+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_rollback_on_timeout_off.result 2010-09-30 08:13:47 +0000
3342@@ -1,6 +1,6 @@
3343 SHOW VARIABLES LIKE 'innodb_rollback_on_timeout';
3344 Variable_name Value
3345 innodb_rollback_on_timeout OFF
3346-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='rollback_on_timeout';
3347+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='rollback_on_timeout';
3348 NAME TYPE VALUE
3349 rollback_on_timeout BOOL false
3350
3351=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_rollback_on_timeout_on.result'
3352--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_rollback_on_timeout_on.result 2010-05-11 07:09:35 +0000
3353+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_rollback_on_timeout_on.result 2010-09-30 08:13:47 +0000
3354@@ -1,6 +1,6 @@
3355 SHOW VARIABLES LIKE 'innodb_rollback_on_timeout';
3356 Variable_name Value
3357 innodb_rollback_on_timeout ON
3358-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='rollback_on_timeout';
3359+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='rollback_on_timeout';
3360 NAME TYPE VALUE
3361 rollback_on_timeout BOOL true
3362
3363=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_status_file.result'
3364--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_status_file.result 2010-05-11 07:19:05 +0000
3365+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_status_file.result 2010-09-30 08:13:47 +0000
3366@@ -2,35 +2,35 @@
3367 SHOW VARIABLES LIKE 'innodb_status_file';
3368 Variable_name Value
3369 innodb_status_file OFF
3370-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='status_file';
3371-NAME TYPE VALUE
3372-status_file BOOL false
3373-SET GLOBAL innodb_status_file=1;
3374-SHOW VARIABLES LIKE 'innodb_status_file';
3375-Variable_name Value
3376-innodb_status_file ON
3377-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='status_file';
3378-NAME TYPE VALUE
3379-status_file BOOL true
3380-SET GLOBAL innodb_status_file=0;
3381-SHOW VARIABLES LIKE 'innodb_status_file';
3382-Variable_name Value
3383-innodb_status_file OFF
3384-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='status_file';
3385-NAME TYPE VALUE
3386-status_file BOOL false
3387-SET GLOBAL innodb_status_file=1;
3388-SHOW VARIABLES LIKE 'innodb_status_file';
3389-Variable_name Value
3390-innodb_status_file ON
3391-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='status_file';
3392-NAME TYPE VALUE
3393-status_file BOOL true
3394-SET GLOBAL innodb_status_file=0;
3395-SHOW VARIABLES LIKE 'innodb_status_file';
3396-Variable_name Value
3397-innodb_status_file OFF
3398-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='status_file';
3399+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
3400+NAME TYPE VALUE
3401+status_file BOOL false
3402+SET GLOBAL innodb_status_file=1;
3403+SHOW VARIABLES LIKE 'innodb_status_file';
3404+Variable_name Value
3405+innodb_status_file ON
3406+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
3407+NAME TYPE VALUE
3408+status_file BOOL true
3409+SET GLOBAL innodb_status_file=0;
3410+SHOW VARIABLES LIKE 'innodb_status_file';
3411+Variable_name Value
3412+innodb_status_file OFF
3413+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
3414+NAME TYPE VALUE
3415+status_file BOOL false
3416+SET GLOBAL innodb_status_file=1;
3417+SHOW VARIABLES LIKE 'innodb_status_file';
3418+Variable_name Value
3419+innodb_status_file ON
3420+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
3421+NAME TYPE VALUE
3422+status_file BOOL true
3423+SET GLOBAL innodb_status_file=0;
3424+SHOW VARIABLES LIKE 'innodb_status_file';
3425+Variable_name Value
3426+innodb_status_file OFF
3427+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
3428 NAME TYPE VALUE
3429 status_file BOOL false
3430 SET GLOBAL innodb_status_file=@my_statusfile;
3431
3432=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_sync_spin_loops.result'
3433--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_sync_spin_loops.result 2010-05-11 07:29:33 +0000
3434+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_sync_spin_loops.result 2010-09-30 08:13:47 +0000
3435@@ -1,6 +1,6 @@
3436 SHOW VARIABLES LIKE 'innodb_sync_spin_loops';
3437 Variable_name Value
3438 innodb_sync_spin_loops 30
3439-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='sync_spin_loops';
3440+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='sync_spin_loops';
3441 NAME TYPE VALUE
3442 sync_spin_loops ULONG 30
3443
3444=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_sync_spin_loops_100.result'
3445--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_sync_spin_loops_100.result 2010-05-11 07:29:33 +0000
3446+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_sync_spin_loops_100.result 2010-09-30 08:13:47 +0000
3447@@ -1,6 +1,6 @@
3448 SHOW VARIABLES LIKE 'innodb_sync_spin_loops';
3449 Variable_name Value
3450 innodb_sync_spin_loops 100
3451-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='sync_spin_loops';
3452+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='sync_spin_loops';
3453 NAME TYPE VALUE
3454 sync_spin_loops ULONG 100
3455
3456=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_table_function.result'
3457--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_table_function.result 2010-09-08 10:02:37 +0000
3458+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_table_function.result 2010-09-30 08:13:47 +0000
3459@@ -1,14 +1,14 @@
3460-SHOW CREATE TABLE DATA_DICTIONARY.INNODB_CONFIGURATION;
3461+SHOW CREATE TABLE DATA_DICTIONARY.HAILDB_CONFIGURATION;
3462 Table Create Table
3463-INNODB_CONFIGURATION CREATE TABLE `INNODB_CONFIGURATION` (
3464+HAILDB_CONFIGURATION CREATE TABLE `HAILDB_CONFIGURATION` (
3465 `NAME` VARCHAR(256) NOT NULL,
3466 `TYPE` VARCHAR(256) NOT NULL,
3467 `VALUE` VARCHAR(64) DEFAULT NULL
3468 ) ENGINE=FunctionEngine COLLATE = utf8_general_ci
3469-SELECT COUNT(*) FROM DATA_DICTIONARY.INNODB_CONFIGURATION;
3470+SELECT COUNT(*) FROM DATA_DICTIONARY.HAILDB_CONFIGURATION;
3471 COUNT(*)
3472 36
3473-SELECT NAME,TYPE FROM DATA_DICTIONARY.INNODB_CONFIGURATION;
3474+SELECT NAME,TYPE FROM DATA_DICTIONARY.HAILDB_CONFIGURATION;
3475 NAME TYPE
3476 adaptive_hash_index BOOL
3477 adaptive_flushing BOOL
3478@@ -46,7 +46,7 @@
3479 sync_spin_loops ULONG
3480 use_sys_malloc BOOL
3481 version TEXT
3482-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION where NAME NOT IN ("VERSION");
3483+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION where NAME NOT IN ("VERSION");
3484 NAME TYPE VALUE
3485 adaptive_hash_index BOOL true
3486 adaptive_flushing BOOL true
3487@@ -83,10 +83,10 @@
3488 status_file BOOL false
3489 sync_spin_loops ULONG 30
3490 use_sys_malloc BOOL true
3491-SELECT NAME,VALUE FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME IN ("data_file_path", "data_home_dir");
3492+SELECT NAME,VALUE FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME IN ("data_file_path", "data_home_dir");
3493 NAME VALUE
3494 data_file_path NULL
3495 data_home_dir ./
3496-SELECT NAME,VALUE FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME = "file_per_table";
3497+SELECT NAME,VALUE FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME = "file_per_table";
3498 NAME VALUE
3499 file_per_table false
3500
3501=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_use_internal_malloc.result'
3502--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_use_internal_malloc.result 2010-09-15 16:42:53 +0000
3503+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_use_internal_malloc.result 2010-09-30 08:13:47 +0000
3504@@ -1,6 +1,6 @@
3505 SHOW VARIABLES LIKE 'innodb_use_sys_malloc';
3506 Variable_name Value
3507 innodb_use_sys_malloc OFF
3508-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='use_sys_malloc';
3509+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='use_sys_malloc';
3510 NAME TYPE VALUE
3511 use_sys_malloc BOOL false
3512
3513=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_use_sys_malloc.result'
3514--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_use_sys_malloc.result 2010-05-11 07:29:33 +0000
3515+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_use_sys_malloc.result 2010-09-30 08:13:47 +0000
3516@@ -1,6 +1,6 @@
3517 SHOW VARIABLES LIKE 'innodb_use_sys_malloc';
3518 Variable_name Value
3519 innodb_use_sys_malloc ON
3520-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='use_sys_malloc';
3521+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='use_sys_malloc';
3522 NAME TYPE VALUE
3523 use_sys_malloc BOOL true
3524
3525=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_write_io_threads_64.result'
3526--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_write_io_threads_64.result 2010-05-10 06:09:51 +0000
3527+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_write_io_threads_64.result 2010-09-30 08:13:47 +0000
3528@@ -1,6 +1,6 @@
3529 SHOW VARIABLES LIKE 'innodb_write_io_threads';
3530 Variable_name Value
3531 innodb_write_io_threads 64
3532-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='write_io_threads';
3533+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='write_io_threads';
3534 NAME TYPE VALUE
3535 write_io_threads ULINT 64
3536
3537=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/config_write_io_threads_default.result'
3538--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/config_write_io_threads_default.result 2010-05-10 06:09:51 +0000
3539+++ plugin/haildb/test-suite-dir/haildb/tests/r/config_write_io_threads_default.result 2010-09-30 08:13:47 +0000
3540@@ -1,6 +1,6 @@
3541 SHOW VARIABLES LIKE 'innodb_write_io_threads';
3542 Variable_name Value
3543 innodb_write_io_threads 4
3544-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='write_io_threads';
3545+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='write_io_threads';
3546 NAME TYPE VALUE
3547 write_io_threads ULINT 4
3548
3549=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/datadict_tables.result'
3550--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/datadict_tables.result 2010-09-27 16:52:04 +0000
3551+++ plugin/haildb/test-suite-dir/haildb/tests/r/datadict_tables.result 2010-09-30 08:13:47 +0000
3552@@ -1,18 +1,18 @@
3553 USE data_dictionary;
3554-SHOW TABLES LIKE 'innodb%';
3555-Tables_in_data_dictionary (innodb%)
3556-INNODB_CONFIGURATION
3557-INNODB_STATUS
3558-INNODB_SYS_COLUMNS
3559-INNODB_SYS_FIELDS
3560-INNODB_SYS_FOREIGN
3561-INNODB_SYS_FOREIGN_COLS
3562-INNODB_SYS_INDEXES
3563-INNODB_SYS_TABLES
3564-innodb_table_definitions
3565-show create table data_dictionary.innodb_sys_tables;
3566+SHOW TABLES LIKE 'haildb%';
3567+Tables_in_data_dictionary (haildb%)
3568+HAILDB_CONFIGURATION
3569+HAILDB_STATUS
3570+HAILDB_SYS_COLUMNS
3571+HAILDB_SYS_FIELDS
3572+HAILDB_SYS_FOREIGN
3573+HAILDB_SYS_FOREIGN_COLS
3574+HAILDB_SYS_INDEXES
3575+HAILDB_SYS_TABLES
3576+haildb_table_definitions
3577+show create table data_dictionary.haildb_sys_tables;
3578 Table Create Table
3579-innodb_sys_tables CREATE TABLE `innodb_sys_tables` (
3580+haildb_sys_tables CREATE TABLE `haildb_sys_tables` (
3581 `NAME` VARBINARY(192),
3582 `ID` BIGINT,
3583 `N_COLS` INT,
3584@@ -23,9 +23,9 @@
3585 `SPACE` INT,
3586 PRIMARY KEY (`NAME`) USING BTREE
3587 ) ENGINE=InnoDB COLLATE = binary
3588-show create table data_dictionary.innodb_sys_columns;
3589+show create table data_dictionary.haildb_sys_columns;
3590 Table Create Table
3591-innodb_sys_columns CREATE TABLE `innodb_sys_columns` (
3592+haildb_sys_columns CREATE TABLE `haildb_sys_columns` (
3593 `TABLE_ID` BIGINT,
3594 `POS` INT,
3595 `NAME` VARBINARY(192),
3596@@ -35,9 +35,9 @@
3597 `PREC` INT,
3598 PRIMARY KEY (`TABLE_ID`,`POS`) USING BTREE
3599 ) ENGINE=InnoDB COLLATE = binary
3600-show create table data_dictionary.innodb_sys_indexes;
3601+show create table data_dictionary.haildb_sys_indexes;
3602 Table Create Table
3603-innodb_sys_indexes CREATE TABLE `innodb_sys_indexes` (
3604+haildb_sys_indexes CREATE TABLE `haildb_sys_indexes` (
3605 `TABLE_ID` BIGINT,
3606 `ID` BIGINT,
3607 `NAME` VARBINARY(192),
3608@@ -47,17 +47,17 @@
3609 `PAGE_NO` INT,
3610 PRIMARY KEY (`TABLE_ID`,`ID`) USING BTREE
3611 ) ENGINE=InnoDB COLLATE = binary
3612-show create table data_dictionary.innodb_sys_fields;
3613+show create table data_dictionary.haildb_sys_fields;
3614 Table Create Table
3615-innodb_sys_fields CREATE TABLE `innodb_sys_fields` (
3616+haildb_sys_fields CREATE TABLE `haildb_sys_fields` (
3617 `INDEX_ID` BIGINT,
3618 `POS` INT,
3619 `COL_NAME` VARBINARY(192),
3620 PRIMARY KEY (`INDEX_ID`,`POS`) USING BTREE
3621 ) ENGINE=InnoDB COLLATE = binary
3622-show create table data_dictionary.innodb_sys_foreign;
3623+show create table data_dictionary.haildb_sys_foreign;
3624 Table Create Table
3625-innodb_sys_foreign CREATE TABLE `innodb_sys_foreign` (
3626+haildb_sys_foreign CREATE TABLE `haildb_sys_foreign` (
3627 `ID` BIGINT,
3628 `FOR_NAME` VARBINARY(192),
3629 `REF_NAME` VARBINARY(192),
3630@@ -66,27 +66,27 @@
3631 KEY `FOR_IND` (`FOR_NAME`) USING BTREE,
3632 KEY `REF_IND` (`REF_NAME`) USING BTREE
3633 ) ENGINE=InnoDB COLLATE = binary
3634-show create table data_dictionary.innodb_sys_foreign_cols;
3635+show create table data_dictionary.haildb_sys_foreign_cols;
3636 Table Create Table
3637-innodb_sys_foreign_cols CREATE TABLE `innodb_sys_foreign_cols` (
3638+haildb_sys_foreign_cols CREATE TABLE `haildb_sys_foreign_cols` (
3639 `ID` BIGINT,
3640 `POS` INT,
3641 `FOR_COL_NAME` VARBINARY(192),
3642 `REF_COL_NAME` VARBINARY(192),
3643 PRIMARY KEY (`ID`,`POS`) USING BTREE
3644 ) ENGINE=InnoDB COLLATE = binary
3645-select name from data_dictionary.innodb_sys_tables;
3646+select name from data_dictionary.haildb_sys_tables;
3647 name
3648 SYS_FOREIGN
3649 SYS_FOREIGN_COLS
3650-data_dictionary/innodb_table_definitions
3651-explain select name from data_dictionary.innodb_sys_tables where name="SYS_FOREIGN";
3652+data_dictionary/haildb_table_definitions
3653+explain select name from data_dictionary.haildb_sys_tables where name="SYS_FOREIGN";
3654 id select_type table type possible_keys key key_len ref rows Extra
3655-1 SIMPLE innodb_sys_tables const PRIMARY PRIMARY 195 const 1 Using index
3656-select name from data_dictionary.innodb_sys_tables where name="SYS_FOREIGN";
3657+1 SIMPLE haildb_sys_tables const PRIMARY PRIMARY 195 const 1 Using index
3658+select name from data_dictionary.haildb_sys_tables where name="SYS_FOREIGN";
3659 name
3660 SYS_FOREIGN
3661-select t.name t,c.name c from data_dictionary.innodb_sys_tables as t, data_dictionary.innodb_sys_columns as c where t.id=c.table_id;
3662+select t.name t,c.name c from data_dictionary.haildb_sys_tables as t, data_dictionary.haildb_sys_columns as c where t.id=c.table_id;
3663 t c
3664 SYS_FOREIGN ID
3665 SYS_FOREIGN FOR_NAME
3666@@ -96,9 +96,9 @@
3667 SYS_FOREIGN_COLS POS
3668 SYS_FOREIGN_COLS FOR_COL_NAME
3669 SYS_FOREIGN_COLS REF_COL_NAME
3670-data_dictionary/innodb_table_definitions table_name
3671-data_dictionary/innodb_table_definitions message
3672-select t.name as table_name,c.name as column_name from data_dictionary.innodb_sys_tables t,data_dictionary.innodb_sys_columns c where t.id=c.table_id order by table_name,column_name;
3673+data_dictionary/haildb_table_definitions table_name
3674+data_dictionary/haildb_table_definitions message
3675+select t.name as table_name,c.name as column_name from data_dictionary.haildb_sys_tables t,data_dictionary.haildb_sys_columns c where t.id=c.table_id order by table_name,column_name;
3676 table_name column_name
3677 SYS_FOREIGN FOR_NAME
3678 SYS_FOREIGN ID
3679@@ -108,16 +108,16 @@
3680 SYS_FOREIGN_COLS ID
3681 SYS_FOREIGN_COLS POS
3682 SYS_FOREIGN_COLS REF_COL_NAME
3683-data_dictionary/innodb_table_definitions message
3684-data_dictionary/innodb_table_definitions table_name
3685+data_dictionary/haildb_table_definitions message
3686+data_dictionary/haildb_table_definitions table_name
3687 create table test.t1 (a int primary key, b int, c int, index(b), index(c), index(b,c));
3688-select name,n_fields from data_dictionary.innodb_sys_indexes i where i.table_id=(select id from data_dictionary.innodb_sys_tables where name="test/t1");
3689+select name,n_fields from data_dictionary.haildb_sys_indexes i where i.table_id=(select id from data_dictionary.haildb_sys_tables where name="test/t1");
3690 name n_fields
3691 PRIMARY 1
3692 b 1
3693 c 1
3694 b_2 2
3695-select f.col_name from data_dictionary.innodb_sys_fields f where f.index_id in (select id from data_dictionary.innodb_sys_indexes i where i.table_id=(select id from data_dictionary.innodb_sys_tables where name="test/t1"));
3696+select f.col_name from data_dictionary.haildb_sys_fields f where f.index_id in (select id from data_dictionary.haildb_sys_indexes i where i.table_id=(select id from data_dictionary.haildb_sys_tables where name="test/t1"));
3697 col_name
3698 a
3699 b
3700
3701=== renamed file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/libinnodb_datadict_dump_func.result' => 'plugin/haildb/test-suite-dir/haildb/tests/r/haildb_datadict_dump_func.result'
3702--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/libinnodb_datadict_dump_func.result 2010-05-24 08:01:04 +0000
3703+++ plugin/haildb/test-suite-dir/haildb/tests/r/haildb_datadict_dump_func.result 2010-09-30 08:13:47 +0000
3704@@ -1,8 +1,8 @@
3705 CREATE table t1 (a int primary key);
3706 CREATE TABLE t2 (a int primary key, b varchar(30), c bigint);
3707-SELECT LIBINNODB_datadict_dump();
3708-LIBINNODB_datadict_dump()
3709-InnoDB Data Dictionary Contents
3710+SELECT haildb_datadict_dump();
3711+haildb_datadict_dump()
3712+HailDB Data Dictionary Contents
3713 -------------------------------
3714 SYS_FOREIGN Format: REDUNDANT Page size: 0 Columns: 7 Indexes: 3
3715 COL: ID
3716@@ -29,7 +29,7 @@
3717 IDX: ID_IND
3718 IDXCOL: ID
3719 IDXCOL: POS
3720-data_dictionary/innodb_table_definitions Format: COMPACT Page size: 0 Columns: 5 Indexes: 1
3721+data_dictionary/haildb_table_definitions Format: COMPACT Page size: 0 Columns: 5 Indexes: 1
3722 COL: table_name
3723 COL: message
3724 COL: DB_ROW_ID
3725
3726=== renamed file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/libinnodb_version_func.result' => 'plugin/haildb/test-suite-dir/haildb/tests/r/haildb_version_func.result'
3727--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/libinnodb_version_func.result 2010-03-09 06:21:45 +0000
3728+++ plugin/haildb/test-suite-dir/haildb/tests/r/haildb_version_func.result 2010-09-30 08:13:47 +0000
3729@@ -1,3 +1,3 @@
3730-SELECT LIBINNODB_VERSION();
3731-LIBINNODB_VERSION()
3732+SELECT HAILDB_VERSION();
3733+HAILDB_VERSION()
3734 Release 3, Revision 0, Age 0
3735
3736=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/row_format.result'
3737--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/row_format.result 2010-06-09 08:01:50 +0000
3738+++ plugin/haildb/test-suite-dir/haildb/tests/r/row_format.result 2010-09-30 08:13:47 +0000
3739@@ -2,16 +2,16 @@
3740 ERROR HY000: Can't create table 'test.t1' (errno: 138)
3741 SHOW WARNINGS;
3742 Level Code Message
3743-Error 1005 Cannot create table test/t1. InnoDB Error 48 (Unsupported)
3744+Error 1005 Cannot create table test/t1. HailDB Error 48 (Unsupported)
3745
3746 Error 1005 Can't create table 'test.t1' (errno: 138)
3747 CREATE TABLE t2 (a int) ENGINE=INNODB ROW_FORMAT=COMPACT;
3748 CREATE TABLE t3 (a int) ENGINE=INNODB ROW_FORMAT=DYNAMIC;
3749 CREATE TABLE t4 (a int) ENGINE=INNODB ROW_FORMAT=REDUNDANT;
3750 CREATE TABLE t5 (a int) ENGINE=INNODB;
3751-SELECT LIBINNODB_datadict_dump();
3752-LIBINNODB_datadict_dump()
3753-InnoDB Data Dictionary Contents
3754+SELECT haildb_datadict_dump();
3755+haildb_datadict_dump()
3756+HailDB Data Dictionary Contents
3757 -------------------------------
3758 SYS_FOREIGN Format: REDUNDANT Page size: 0 Columns: 7 Indexes: 3
3759 COL: ID
3760@@ -38,7 +38,7 @@
3761 IDX: ID_IND
3762 IDXCOL: ID
3763 IDXCOL: POS
3764-data_dictionary/innodb_table_definitions Format: COMPACT Page size: 0 Columns: 5 Indexes: 1
3765+data_dictionary/haildb_table_definitions Format: COMPACT Page size: 0 Columns: 5 Indexes: 1
3766 COL: table_name
3767 COL: message
3768 COL: DB_ROW_ID
3769
3770=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/row_format_file_per_table.result'
3771--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/row_format_file_per_table.result 2010-06-07 08:46:37 +0000
3772+++ plugin/haildb/test-suite-dir/haildb/tests/r/row_format_file_per_table.result 2010-09-30 08:13:47 +0000
3773@@ -3,9 +3,9 @@
3774 CREATE TABLE t3 (a int) ENGINE=INNODB ROW_FORMAT=DYNAMIC;
3775 CREATE TABLE t4 (a int) ENGINE=INNODB ROW_FORMAT=REDUNDANT;
3776 CREATE TABLE t5 (a int) ENGINE=INNODB;
3777-SELECT LIBINNODB_datadict_dump();
3778-LIBINNODB_datadict_dump()
3779-InnoDB Data Dictionary Contents
3780+SELECT haildb_datadict_dump();
3781+haildb_datadict_dump()
3782+HailDB Data Dictionary Contents
3783 -------------------------------
3784 SYS_FOREIGN Format: REDUNDANT Page size: 0 Columns: 7 Indexes: 3
3785 COL: ID
3786@@ -32,7 +32,7 @@
3787 IDX: ID_IND
3788 IDXCOL: ID
3789 IDXCOL: POS
3790-data_dictionary/innodb_table_definitions Format: COMPACT Page size: 0 Columns: 5 Indexes: 1
3791+data_dictionary/haildb_table_definitions Format: COMPACT Page size: 0 Columns: 5 Indexes: 1
3792 COL: table_name
3793 COL: message
3794 COL: DB_ROW_ID
3795
3796=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/status_table_function.result'
3797--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/status_table_function.result 2010-09-08 10:02:37 +0000
3798+++ plugin/haildb/test-suite-dir/haildb/tests/r/status_table_function.result 2010-09-30 08:13:47 +0000
3799@@ -1,13 +1,13 @@
3800-SHOW CREATE TABLE DATA_DICTIONARY.INNODB_STATUS;
3801+SHOW CREATE TABLE DATA_DICTIONARY.haildb_STATUS;
3802 Table Create Table
3803-INNODB_STATUS CREATE TABLE `INNODB_STATUS` (
3804+haildb_STATUS CREATE TABLE `HAILDB_STATUS` (
3805 `NAME` VARCHAR(256) NOT NULL,
3806 `VALUE` BIGINT DEFAULT NULL
3807 ) ENGINE=FunctionEngine COLLATE = utf8_general_ci
3808-SELECT COUNT(NAME) FROM DATA_DICTIONARY.INNODB_STATUS;
3809+SELECT COUNT(NAME) FROM DATA_DICTIONARY.haildb_STATUS;
3810 COUNT(NAME)
3811 41
3812-SELECT NAME FROM DATA_DICTIONARY.INNODB_STATUS;
3813+SELECT NAME FROM DATA_DICTIONARY.haildb_STATUS;
3814 NAME
3815 read_req_pending
3816 write_req_pending
3817@@ -50,26 +50,26 @@
3818 row_total_deleted
3819 page_size
3820 have_atomic_builtins
3821-SELECT * FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="page_size";
3822+SELECT * FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="page_size";
3823 NAME VALUE
3824 page_size 16384
3825-SELECT (@fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
3826+SELECT (@fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
3827 fsyncs
3828 #
3829 create table t1 (a int primary key);
3830-SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
3831+SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
3832 fsyncs
3833 1
3834 insert into t1 values (1);
3835-SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
3836+SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
3837 fsyncs
3838 1
3839 insert into t1 values (5),(2),(3),(4);
3840-SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
3841+SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
3842 fsyncs
3843 1
3844 delete from t1;
3845-SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
3846+SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
3847 fsyncs
3848 1
3849 begin;
3850@@ -78,10 +78,10 @@
3851 insert into t1 values (3);
3852 insert into t1 values (4);
3853 commit;
3854-SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
3855+SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
3856 fsyncs
3857 1
3858 DROP TABLE t1;
3859-SELECT (@fsync_count < (@fsync_count:= VALUE)) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
3860+SELECT (@fsync_count < (@fsync_count:= VALUE)) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
3861 fsyncs
3862 1
3863
3864=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/r/type_blob_func.result'
3865--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/r/type_blob_func.result 2010-05-25 05:45:52 +0000
3866+++ plugin/haildb/test-suite-dir/haildb/tests/r/type_blob_func.result 2010-09-30 08:13:47 +0000
3867@@ -13,9 +13,9 @@
3868 3 1
3869 2 2
3870 1 3
3871-SELECT libinnodb_datadict_dump();
3872-libinnodb_datadict_dump()
3873-InnoDB Data Dictionary Contents
3874+SELECT haildb_datadict_dump();
3875+haildb_datadict_dump()
3876+HailDB Data Dictionary Contents
3877 -------------------------------
3878 SYS_FOREIGN Format: REDUNDANT Page size: 0 Columns: 7 Indexes: 3
3879 COL: ID
3880@@ -42,7 +42,7 @@
3881 IDX: ID_IND
3882 IDXCOL: ID
3883 IDXCOL: POS
3884-data_dictionary/innodb_table_definitions Format: COMPACT Page size: 0 Columns: 5 Indexes: 1
3885+data_dictionary/haildb_table_definitions Format: COMPACT Page size: 0 Columns: 5 Indexes: 1
3886 COL: table_name
3887 COL: message
3888 COL: DB_ROW_ID
3889
3890=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/basic_innodb_table_proto_table.test'
3891--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/basic_innodb_table_proto_table.test 2010-03-02 22:45:29 +0000
3892+++ plugin/haildb/test-suite-dir/haildb/tests/t/basic_innodb_table_proto_table.test 2010-09-30 08:13:47 +0000
3893@@ -1,10 +1,10 @@
3894-show create table data_dictionary.innodb_table_definitions;
3895-select * from data_dictionary.innodb_table_definitions;
3896+show create table data_dictionary.haildb_table_definitions;
3897+select * from data_dictionary.haildb_table_definitions;
3898 use data_dictionary;
3899-show tables like 'innodb%';
3900+show tables like 'haildb%';
3901 use test;
3902 create table t1 (a int primary key);
3903-select table_name from data_dictionary.innodb_table_definitions;
3904+select table_name from data_dictionary.haildb_table_definitions;
3905 drop table t1;
3906-select count(table_name) from data_dictionary.innodb_table_definitions;
3907+select count(table_name) from data_dictionary.haildb_table_definitions;
3908
3909
3910=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_flushing_default.test'
3911--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_flushing_default.test 2010-05-10 13:17:59 +0000
3912+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_flushing_default.test 2010-09-30 08:13:47 +0000
3913@@ -1,2 +1,2 @@
3914 SHOW VARIABLES LIKE 'innodb_adaptive_flushing';
3915-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_flushing';
3916+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_flushing';
3917
3918=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_flushing_off.test'
3919--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_flushing_off.test 2010-05-10 13:17:59 +0000
3920+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_flushing_off.test 2010-09-30 08:13:47 +0000
3921@@ -1,2 +1,2 @@
3922 SHOW VARIABLES LIKE 'innodb_adaptive_flushing';
3923-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_flushing';
3924+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_flushing';
3925
3926=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_flushing_on.test'
3927--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_flushing_on.test 2010-05-10 13:17:59 +0000
3928+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_flushing_on.test 2010-09-30 08:13:47 +0000
3929@@ -1,2 +1,2 @@
3930 SHOW VARIABLES LIKE 'innodb_adaptive_flushing';
3931-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_flushing';
3932+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_flushing';
3933
3934=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_hash_index_default.test'
3935--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_hash_index_default.test 2010-05-10 12:53:25 +0000
3936+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_hash_index_default.test 2010-09-30 08:13:47 +0000
3937@@ -1,2 +1,2 @@
3938 SHOW VARIABLES LIKE 'innodb_adaptive_hash_index';
3939-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_hash_index';
3940+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_hash_index';
3941
3942=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_hash_index_off.test'
3943--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_hash_index_off.test 2010-05-10 12:53:25 +0000
3944+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_hash_index_off.test 2010-09-30 08:13:47 +0000
3945@@ -1,2 +1,2 @@
3946 SHOW VARIABLES LIKE 'innodb_adaptive_hash_index';
3947-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_hash_index';
3948+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_hash_index';
3949
3950=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_hash_index_on.test'
3951--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_hash_index_on.test 2010-05-10 12:53:25 +0000
3952+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_adaptive_hash_index_on.test 2010-09-30 08:13:47 +0000
3953@@ -1,2 +1,2 @@
3954 SHOW VARIABLES LIKE 'innodb_adaptive_hash_index';
3955-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='adaptive_hash_index';
3956+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='adaptive_hash_index';
3957
3958=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_additional_mem_pool_size_32m.test'
3959--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_additional_mem_pool_size_32m.test 2010-05-10 13:27:43 +0000
3960+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_additional_mem_pool_size_32m.test 2010-09-30 08:13:47 +0000
3961@@ -1,2 +1,2 @@
3962 SHOW VARIABLES LIKE 'innodb_additional_mem_pool_size';
3963-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='additional_mem_pool_size';
3964+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='additional_mem_pool_size';
3965
3966=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_addtl_mem_pool_size_default.test'
3967--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_addtl_mem_pool_size_default.test 2010-07-08 21:21:35 +0000
3968+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_addtl_mem_pool_size_default.test 2010-09-30 08:13:47 +0000
3969@@ -1,2 +1,2 @@
3970 SHOW VARIABLES LIKE 'innodb_additional_mem_pool_size';
3971-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='additional_mem_pool_size';
3972+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='additional_mem_pool_size';
3973
3974=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_autoextend_increment_42.test'
3975--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_autoextend_increment_42.test 2010-05-10 13:56:23 +0000
3976+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_autoextend_increment_42.test 2010-09-30 08:13:47 +0000
3977@@ -1,2 +1,2 @@
3978 SHOW VARIABLES LIKE 'innodb_autoextend_increment';
3979-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='autoextend_increment';
3980+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='autoextend_increment';
3981
3982=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_autoextend_increment_default.test'
3983--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_autoextend_increment_default.test 2010-05-10 13:56:23 +0000
3984+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_autoextend_increment_default.test 2010-09-30 08:13:47 +0000
3985@@ -1,2 +1,2 @@
3986 SHOW VARIABLES LIKE 'innodb_autoextend_increment';
3987-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='autoextend_increment';
3988+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='autoextend_increment';
3989
3990=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_buffer_pool_size_22m.test'
3991--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_buffer_pool_size_22m.test 2010-05-10 14:02:46 +0000
3992+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_buffer_pool_size_22m.test 2010-09-30 08:13:47 +0000
3993@@ -1,2 +1,2 @@
3994 SHOW VARIABLES LIKE 'innodb_buffer_pool_size';
3995-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='buffer_pool_size';
3996+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='buffer_pool_size';
3997
3998=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_buffer_pool_size_default.test'
3999--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_buffer_pool_size_default.test 2010-05-10 14:02:46 +0000
4000+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_buffer_pool_size_default.test 2010-09-30 08:13:47 +0000
4001@@ -1,2 +1,2 @@
4002 SHOW VARIABLES LIKE 'innodb_buffer_pool_size';
4003-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='buffer_pool_size';
4004+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='buffer_pool_size';
4005
4006=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_checksums_disable.test'
4007--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_checksums_disable.test 2010-04-30 05:50:45 +0000
4008+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_checksums_disable.test 2010-09-30 08:13:47 +0000
4009@@ -1,1 +1,1 @@
4010-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='checksums';
4011+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='checksums';
4012
4013=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_checksums_enable.test'
4014--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_checksums_enable.test 2010-04-30 05:50:45 +0000
4015+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_checksums_enable.test 2010-09-30 08:13:47 +0000
4016@@ -1,1 +1,1 @@
4017-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='checksums';
4018+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='checksums';
4019
4020=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_doublewrite_disable.test'
4021--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_doublewrite_disable.test 2010-05-03 13:21:19 +0000
4022+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_doublewrite_disable.test 2010-09-30 08:13:47 +0000
4023@@ -1,2 +1,2 @@
4024-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='doublewrite';
4025+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='doublewrite';
4026 SHOW VARIABLES LIKE 'innodb_doublewrite';
4027
4028=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_doublewrite_enable.test'
4029--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_doublewrite_enable.test 2010-05-03 13:21:19 +0000
4030+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_doublewrite_enable.test 2010-09-30 08:13:47 +0000
4031@@ -1,2 +1,2 @@
4032-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='doublewrite';
4033+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='doublewrite';
4034 show variables like 'innodb_doublewrite';
4035
4036=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_file_format.test'
4037--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_format.test 2010-08-26 21:56:15 +0000
4038+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_file_format.test 2010-09-30 08:13:47 +0000
4039@@ -1,13 +1,13 @@
4040 SHOW VARIABLES LIKE 'innodb_file_format';
4041-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_format';
4042+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_format';
4043 SET GLOBAL innodb_file_format='antelope';
4044 SHOW VARIABLES LIKE 'innodb_file_format';
4045-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_format';
4046+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_format';
4047 SET GLOBAL innodb_file_format='barracuda';
4048 SHOW VARIABLES LIKE 'innodb_file_format';
4049-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_format';
4050+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_format';
4051 --error ER_WRONG_ARGUMENTS
4052 SET GLOBAL innodb_file_format='broccolini';
4053 SHOW VARIABLES LIKE 'innodb_file_format';
4054-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_format';
4055+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_format';
4056
4057
4058=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_file_per_table_disable.test'
4059--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_per_table_disable.test 2010-05-03 14:13:17 +0000
4060+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_file_per_table_disable.test 2010-09-30 08:13:47 +0000
4061@@ -1,5 +1,5 @@
4062 SHOW VARIABLES LIKE 'innodb_file_per_table';
4063-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_per_table';
4064+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_per_table';
4065 CREATE TABLE t1 (a int primary key);
4066 --error 1
4067 --file_exists $MYSQLTEST_VARDIR/master-data/test/t1.ibd
4068
4069=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_file_per_table_enable.test'
4070--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_per_table_enable.test 2010-09-27 09:10:07 +0000
4071+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_file_per_table_enable.test 2010-09-30 08:13:47 +0000
4072@@ -1,5 +1,5 @@
4073 SHOW VARIABLES LIKE 'innodb_file_per_table';
4074-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='file_per_table';
4075+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='file_per_table';
4076 CREATE TABLE t1 (a int primary key);
4077 --file_exists $MYSQLTEST_VARDIR/master-data/local/test/t1.ibd
4078 DROP TABLE t1;
4079
4080=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_log_at_trx_commit0.test'
4081--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit0.test 2010-05-05 04:24:23 +0000
4082+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_log_at_trx_commit0.test 2010-09-30 08:13:47 +0000
4083@@ -1,3 +1,3 @@
4084 SHOW VARIABLES LIKE 'innodb_flush_log_at_trx_commit';
4085-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
4086+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
4087
4088
4089=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_log_at_trx_commit1.test'
4090--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit1.test 2010-05-05 04:24:23 +0000
4091+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_log_at_trx_commit1.test 2010-09-30 08:13:47 +0000
4092@@ -1,3 +1,3 @@
4093 SHOW VARIABLES LIKE 'innodb_flush_log_at_trx_commit';
4094-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
4095+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
4096
4097
4098=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_log_at_trx_commit2.test'
4099--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit2.test 2010-05-05 04:24:23 +0000
4100+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_log_at_trx_commit2.test 2010-09-30 08:13:47 +0000
4101@@ -1,3 +1,3 @@
4102 SHOW VARIABLES LIKE 'innodb_flush_log_at_trx_commit';
4103-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
4104+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_log_at_trx_commit';
4105
4106
4107=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method.test'
4108--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method.test 2010-05-06 09:50:02 +0000
4109+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method.test 2010-09-30 08:13:47 +0000
4110@@ -1,3 +1,3 @@
4111 SHOW VARIABLES LIKE 'innodb_flush_method';
4112-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_method';
4113+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_method';
4114
4115
4116=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method_fsync.test'
4117--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_fsync.test 2010-05-06 09:50:02 +0000
4118+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method_fsync.test 2010-09-30 08:13:47 +0000
4119@@ -1,3 +1,3 @@
4120 SHOW VARIABLES LIKE 'innodb_flush_method';
4121-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_method';
4122+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_method';
4123
4124
4125=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method_odirect.test'
4126--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_odirect.test 2010-05-06 09:50:02 +0000
4127+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method_odirect.test 2010-09-30 08:13:47 +0000
4128@@ -1,3 +1,3 @@
4129 SHOW VARIABLES LIKE 'innodb_flush_method';
4130-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_method';
4131+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_method';
4132
4133
4134=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method_odsync.test'
4135--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_odsync.test 2010-05-06 09:50:02 +0000
4136+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_flush_method_odsync.test 2010-09-30 08:13:47 +0000
4137@@ -1,3 +1,3 @@
4138 SHOW VARIABLES LIKE 'innodb_flush_method';
4139-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='flush_method';
4140+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='flush_method';
4141
4142
4143=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_force_recovery.test'
4144--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_force_recovery.test 2010-05-11 05:11:20 +0000
4145+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_force_recovery.test 2010-09-30 08:13:47 +0000
4146@@ -1,2 +1,2 @@
4147 SHOW VARIABLES LIKE 'innodb_force_recovery';
4148-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='force_recovery';
4149+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='force_recovery';
4150
4151=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_io_capacity.test'
4152--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_io_capacity.test 2010-05-03 12:27:00 +0000
4153+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_io_capacity.test 2010-09-30 08:13:47 +0000
4154@@ -1,2 +1,2 @@
4155-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='io_capacity';
4156+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='io_capacity';
4157 show variables like 'innodb_io_capacity';
4158
4159=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_lock_wait_timeout_1.test'
4160--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_lock_wait_timeout_1.test 2010-05-11 05:19:48 +0000
4161+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_lock_wait_timeout_1.test 2010-09-30 08:13:47 +0000
4162@@ -1,2 +1,2 @@
4163 SHOW VARIABLES LIKE 'innodb_lock_wait_timeout';
4164-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lock_wait_timeout';
4165+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lock_wait_timeout';
4166
4167=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_log_buffer_size_5m.test'
4168--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_log_buffer_size_5m.test 2010-05-11 05:36:20 +0000
4169+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_log_buffer_size_5m.test 2010-09-30 08:13:47 +0000
4170@@ -1,3 +1,3 @@
4171 SHOW VARIABLES LIKE 'innodb_log_buffer_size';
4172-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='log_buffer_size';
4173+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='log_buffer_size';
4174
4175
4176=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_log_buffer_size_default.test'
4177--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_log_buffer_size_default.test 2010-05-11 05:36:20 +0000
4178+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_log_buffer_size_default.test 2010-09-30 08:13:47 +0000
4179@@ -1,3 +1,3 @@
4180 SHOW VARIABLES LIKE 'innodb_log_buffer_size';
4181-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='log_buffer_size';
4182+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='log_buffer_size';
4183
4184
4185=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_log_group_home_dir.test'
4186--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_log_group_home_dir.test 2010-05-07 04:20:47 +0000
4187+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_log_group_home_dir.test 2010-09-30 08:13:47 +0000
4188@@ -1,3 +1,3 @@
4189 SHOW VARIABLES LIKE 'innodb_log_group_home_dir';
4190-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='log_group_home_dir';
4191+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='log_group_home_dir';
4192
4193
4194=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_lru_block_access_recency.test'
4195--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_lru_block_access_recency.test 2010-05-07 13:05:14 +0000
4196+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_lru_block_access_recency.test 2010-09-30 08:13:47 +0000
4197@@ -1,16 +1,16 @@
4198 SET @my_lru = @@global.innodb_lru_block_access_recency;
4199 SHOW VARIABLES LIKE 'innodb_lru_block_access_recency';
4200-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_block_access_recency';
4201+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_block_access_recency';
4202 SET GLOBAL innodb_lru_block_access_recency=20;
4203 SHOW VARIABLES LIKE 'innodb_lru_block_access_recency';
4204-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_block_access_recency';
4205+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_block_access_recency';
4206 SET GLOBAL innodb_lru_block_access_recency=200;
4207 SHOW VARIABLES LIKE 'innodb_lru_block_access_recency';
4208-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_block_access_recency';
4209+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_block_access_recency';
4210 SET GLOBAL innodb_lru_block_access_recency=95;
4211 SHOW VARIABLES LIKE 'innodb_lru_block_access_recency';
4212-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_block_access_recency';
4213+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_block_access_recency';
4214 SET GLOBAL innodb_lru_block_access_recency=0;
4215 SHOW VARIABLES LIKE 'innodb_lru_block_access_recency';
4216-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_block_access_recency';
4217+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_block_access_recency';
4218 SET GLOBAL innodb_lru_block_access_recency=@my_lru;
4219
4220=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_lru_old_blocks_pct.test'
4221--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_lru_old_blocks_pct.test 2010-05-07 13:05:14 +0000
4222+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_lru_old_blocks_pct.test 2010-09-30 08:13:47 +0000
4223@@ -1,16 +1,16 @@
4224 SET @my_lru = @@global.innodb_lru_old_blocks_pct;
4225 SHOW VARIABLES LIKE 'innodb_lru_old_blocks_pct';
4226-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
4227+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
4228 SET GLOBAL innodb_lru_old_blocks_pct=20;
4229 SHOW VARIABLES LIKE 'innodb_lru_old_blocks_pct';
4230-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
4231+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
4232 SET GLOBAL innodb_lru_old_blocks_pct=200;
4233 SHOW VARIABLES LIKE 'innodb_lru_old_blocks_pct';
4234-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
4235+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
4236 SET GLOBAL innodb_lru_old_blocks_pct=95;
4237 SHOW VARIABLES LIKE 'innodb_lru_old_blocks_pct';
4238-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
4239+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
4240 SET GLOBAL innodb_lru_old_blocks_pct=5;
4241 SHOW VARIABLES LIKE 'innodb_lru_old_blocks_pct';
4242-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
4243+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='lru_old_blocks_pct';
4244 SET GLOBAL innodb_lru_old_blocks_pct=@my_lru;
4245
4246=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_max_dirty_pages_pct.test'
4247--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_dirty_pages_pct.test 2010-05-07 08:02:05 +0000
4248+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_max_dirty_pages_pct.test 2010-09-30 08:13:47 +0000
4249@@ -1,3 +1,3 @@
4250 SHOW VARIABLES LIKE 'innodb_max_dirty_pages_pct';
4251-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='max_dirty_pages_pct';
4252+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='max_dirty_pages_pct';
4253
4254
4255=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_max_dirty_pages_pct_50.test'
4256--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_dirty_pages_pct_50.test 2010-05-07 08:02:05 +0000
4257+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_max_dirty_pages_pct_50.test 2010-09-30 08:13:47 +0000
4258@@ -1,3 +1,3 @@
4259 SHOW VARIABLES LIKE 'innodb_max_dirty_pages_pct';
4260-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='max_dirty_pages_pct';
4261+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='max_dirty_pages_pct';
4262
4263
4264=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_max_purge_lag.test'
4265--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_purge_lag.test 2010-05-07 12:15:41 +0000
4266+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_max_purge_lag.test 2010-09-30 08:13:47 +0000
4267@@ -1,3 +1,3 @@
4268 SHOW VARIABLES LIKE 'innodb_max_purge_lag';
4269-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='max_purge_lag';
4270+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='max_purge_lag';
4271
4272
4273=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_max_purge_lag_42.test'
4274--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_purge_lag_42.test 2010-05-07 12:15:41 +0000
4275+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_max_purge_lag_42.test 2010-09-30 08:13:47 +0000
4276@@ -1,3 +1,3 @@
4277 SHOW VARIABLES LIKE 'innodb_max_purge_lag';
4278-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='max_purge_lag';
4279+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='max_purge_lag';
4280
4281
4282=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_open_files_800.test'
4283--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_open_files_800.test 2010-05-10 05:13:41 +0000
4284+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_open_files_800.test 2010-09-30 08:13:47 +0000
4285@@ -1,2 +1,2 @@
4286 SHOW VARIABLES LIKE 'innodb_open_files';
4287-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='open_files';
4288+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='open_files';
4289
4290=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_open_files_default.test'
4291--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_open_files_default.test 2010-05-10 05:13:41 +0000
4292+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_open_files_default.test 2010-09-30 08:13:47 +0000
4293@@ -1,2 +1,2 @@
4294 SHOW VARIABLES LIKE 'innodb_open_files';
4295-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='open_files';
4296+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='open_files';
4297
4298=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_print_verbose_log.test'
4299--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_print_verbose_log.test 2010-05-11 05:46:17 +0000
4300+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_print_verbose_log.test 2010-09-30 08:13:47 +0000
4301@@ -1,3 +1,3 @@
4302 SHOW VARIABLES LIKE 'innodb_print_verbose_log';
4303-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='print_verbose_log';
4304+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='print_verbose_log';
4305
4306
4307=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_print_verbose_log_off.test'
4308--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_print_verbose_log_off.test 2010-05-11 05:46:17 +0000
4309+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_print_verbose_log_off.test 2010-09-30 08:13:47 +0000
4310@@ -1,3 +1,3 @@
4311 SHOW VARIABLES LIKE 'innodb_print_verbose_log';
4312-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='print_verbose_log';
4313+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='print_verbose_log';
4314
4315
4316=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_print_verbose_log_on.test'
4317--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_print_verbose_log_on.test 2010-05-11 05:46:17 +0000
4318+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_print_verbose_log_on.test 2010-09-30 08:13:47 +0000
4319@@ -1,3 +1,3 @@
4320 SHOW VARIABLES LIKE 'innodb_print_verbose_log';
4321-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='print_verbose_log';
4322+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='print_verbose_log';
4323
4324
4325=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_read_io_threads_64.test'
4326--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_read_io_threads_64.test 2010-05-10 06:06:20 +0000
4327+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_read_io_threads_64.test 2010-09-30 08:13:47 +0000
4328@@ -1,2 +1,2 @@
4329 SHOW VARIABLES LIKE 'innodb_read_io_threads';
4330-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='read_io_threads';
4331+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='read_io_threads';
4332
4333=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_read_io_threads_default.test'
4334--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_read_io_threads_default.test 2010-05-10 06:06:20 +0000
4335+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_read_io_threads_default.test 2010-09-30 08:13:47 +0000
4336@@ -1,2 +1,2 @@
4337 SHOW VARIABLES LIKE 'innodb_read_io_threads';
4338-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='read_io_threads';
4339+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='read_io_threads';
4340
4341=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_rollback_on_timeout.test'
4342--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_rollback_on_timeout.test 2010-05-11 07:09:35 +0000
4343+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_rollback_on_timeout.test 2010-09-30 08:13:47 +0000
4344@@ -1,3 +1,3 @@
4345 SHOW VARIABLES LIKE 'innodb_rollback_on_timeout';
4346-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='rollback_on_timeout';
4347+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='rollback_on_timeout';
4348
4349
4350=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_rollback_on_timeout_off.test'
4351--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_rollback_on_timeout_off.test 2010-05-11 07:09:35 +0000
4352+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_rollback_on_timeout_off.test 2010-09-30 08:13:47 +0000
4353@@ -1,3 +1,3 @@
4354 SHOW VARIABLES LIKE 'innodb_rollback_on_timeout';
4355-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='rollback_on_timeout';
4356+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='rollback_on_timeout';
4357
4358
4359=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_rollback_on_timeout_on.test'
4360--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_rollback_on_timeout_on.test 2010-05-11 07:09:35 +0000
4361+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_rollback_on_timeout_on.test 2010-09-30 08:13:47 +0000
4362@@ -1,3 +1,3 @@
4363 SHOW VARIABLES LIKE 'innodb_rollback_on_timeout';
4364-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='rollback_on_timeout';
4365+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='rollback_on_timeout';
4366
4367
4368=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_status_file.test'
4369--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_status_file.test 2010-05-11 07:19:05 +0000
4370+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_status_file.test 2010-09-30 08:13:47 +0000
4371@@ -1,16 +1,16 @@
4372 SET @my_statusfile = @@global.innodb_status_file;
4373 SHOW VARIABLES LIKE 'innodb_status_file';
4374-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='status_file';
4375-SET GLOBAL innodb_status_file=1;
4376-SHOW VARIABLES LIKE 'innodb_status_file';
4377-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='status_file';
4378-SET GLOBAL innodb_status_file=0;
4379-SHOW VARIABLES LIKE 'innodb_status_file';
4380-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='status_file';
4381-SET GLOBAL innodb_status_file=1;
4382-SHOW VARIABLES LIKE 'innodb_status_file';
4383-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='status_file';
4384-SET GLOBAL innodb_status_file=0;
4385-SHOW VARIABLES LIKE 'innodb_status_file';
4386-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='status_file';
4387+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
4388+SET GLOBAL innodb_status_file=1;
4389+SHOW VARIABLES LIKE 'innodb_status_file';
4390+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
4391+SET GLOBAL innodb_status_file=0;
4392+SHOW VARIABLES LIKE 'innodb_status_file';
4393+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
4394+SET GLOBAL innodb_status_file=1;
4395+SHOW VARIABLES LIKE 'innodb_status_file';
4396+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
4397+SET GLOBAL innodb_status_file=0;
4398+SHOW VARIABLES LIKE 'innodb_status_file';
4399+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
4400 SET GLOBAL innodb_status_file=@my_statusfile;
4401
4402=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_sync_spin_loops.test'
4403--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_sync_spin_loops.test 2010-05-11 07:29:33 +0000
4404+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_sync_spin_loops.test 2010-09-30 08:13:47 +0000
4405@@ -1,3 +1,3 @@
4406 SHOW VARIABLES LIKE 'innodb_sync_spin_loops';
4407-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='sync_spin_loops';
4408+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='sync_spin_loops';
4409
4410
4411=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_sync_spin_loops_100.test'
4412--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_sync_spin_loops_100.test 2010-05-11 07:29:33 +0000
4413+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_sync_spin_loops_100.test 2010-09-30 08:13:47 +0000
4414@@ -1,3 +1,3 @@
4415 SHOW VARIABLES LIKE 'innodb_sync_spin_loops';
4416-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='sync_spin_loops';
4417+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='sync_spin_loops';
4418
4419
4420=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_table_function.test'
4421--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_table_function.test 2010-08-10 18:18:26 +0000
4422+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_table_function.test 2010-09-30 08:13:47 +0000
4423@@ -1,7 +1,7 @@
4424-SHOW CREATE TABLE DATA_DICTIONARY.INNODB_CONFIGURATION;
4425-SELECT COUNT(*) FROM DATA_DICTIONARY.INNODB_CONFIGURATION;
4426-SELECT NAME,TYPE FROM DATA_DICTIONARY.INNODB_CONFIGURATION;
4427-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION where NAME NOT IN ("VERSION");
4428-SELECT NAME,VALUE FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME IN ("data_file_path", "data_home_dir");
4429-SELECT NAME,VALUE FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME = "file_per_table";
4430+SHOW CREATE TABLE DATA_DICTIONARY.HAILDB_CONFIGURATION;
4431+SELECT COUNT(*) FROM DATA_DICTIONARY.HAILDB_CONFIGURATION;
4432+SELECT NAME,TYPE FROM DATA_DICTIONARY.HAILDB_CONFIGURATION;
4433+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION where NAME NOT IN ("VERSION");
4434+SELECT NAME,VALUE FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME IN ("data_file_path", "data_home_dir");
4435+SELECT NAME,VALUE FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME = "file_per_table";
4436
4437
4438=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_use_internal_malloc.test'
4439--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_use_internal_malloc.test 2010-09-15 16:42:53 +0000
4440+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_use_internal_malloc.test 2010-09-30 08:13:47 +0000
4441@@ -1,3 +1,3 @@
4442 SHOW VARIABLES LIKE 'innodb_use_sys_malloc';
4443-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='use_sys_malloc';
4444+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='use_sys_malloc';
4445
4446
4447=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_use_sys_malloc.test'
4448--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_use_sys_malloc.test 2010-05-11 07:29:33 +0000
4449+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_use_sys_malloc.test 2010-09-30 08:13:47 +0000
4450@@ -1,3 +1,3 @@
4451 SHOW VARIABLES LIKE 'innodb_use_sys_malloc';
4452-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='use_sys_malloc';
4453+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='use_sys_malloc';
4454
4455
4456=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_write_io_threads_64.test'
4457--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_write_io_threads_64.test 2010-05-10 06:09:51 +0000
4458+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_write_io_threads_64.test 2010-09-30 08:13:47 +0000
4459@@ -1,2 +1,2 @@
4460 SHOW VARIABLES LIKE 'innodb_write_io_threads';
4461-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='write_io_threads';
4462+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='write_io_threads';
4463
4464=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/config_write_io_threads_default.test'
4465--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_write_io_threads_default.test 2010-05-10 06:09:51 +0000
4466+++ plugin/haildb/test-suite-dir/haildb/tests/t/config_write_io_threads_default.test 2010-09-30 08:13:47 +0000
4467@@ -1,2 +1,2 @@
4468 SHOW VARIABLES LIKE 'innodb_write_io_threads';
4469-SELECT * FROM DATA_DICTIONARY.INNODB_CONFIGURATION WHERE NAME='write_io_threads';
4470+SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='write_io_threads';
4471
4472=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/datadict_tables.test'
4473--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/datadict_tables.test 2010-09-27 16:34:45 +0000
4474+++ plugin/haildb/test-suite-dir/haildb/tests/t/datadict_tables.test 2010-09-30 08:13:47 +0000
4475@@ -1,19 +1,19 @@
4476 USE data_dictionary;
4477-SHOW TABLES LIKE 'innodb%';
4478-show create table data_dictionary.innodb_sys_tables;
4479-show create table data_dictionary.innodb_sys_columns;
4480-show create table data_dictionary.innodb_sys_indexes;
4481-show create table data_dictionary.innodb_sys_fields;
4482-show create table data_dictionary.innodb_sys_foreign;
4483-show create table data_dictionary.innodb_sys_foreign_cols;
4484-
4485-select name from data_dictionary.innodb_sys_tables;
4486-explain select name from data_dictionary.innodb_sys_tables where name="SYS_FOREIGN";
4487-select name from data_dictionary.innodb_sys_tables where name="SYS_FOREIGN";
4488-select t.name t,c.name c from data_dictionary.innodb_sys_tables as t, data_dictionary.innodb_sys_columns as c where t.id=c.table_id;
4489-
4490-select t.name as table_name,c.name as column_name from data_dictionary.innodb_sys_tables t,data_dictionary.innodb_sys_columns c where t.id=c.table_id order by table_name,column_name;
4491+SHOW TABLES LIKE 'haildb%';
4492+show create table data_dictionary.haildb_sys_tables;
4493+show create table data_dictionary.haildb_sys_columns;
4494+show create table data_dictionary.haildb_sys_indexes;
4495+show create table data_dictionary.haildb_sys_fields;
4496+show create table data_dictionary.haildb_sys_foreign;
4497+show create table data_dictionary.haildb_sys_foreign_cols;
4498+
4499+select name from data_dictionary.haildb_sys_tables;
4500+explain select name from data_dictionary.haildb_sys_tables where name="SYS_FOREIGN";
4501+select name from data_dictionary.haildb_sys_tables where name="SYS_FOREIGN";
4502+select t.name t,c.name c from data_dictionary.haildb_sys_tables as t, data_dictionary.haildb_sys_columns as c where t.id=c.table_id;
4503+
4504+select t.name as table_name,c.name as column_name from data_dictionary.haildb_sys_tables t,data_dictionary.haildb_sys_columns c where t.id=c.table_id order by table_name,column_name;
4505 create table test.t1 (a int primary key, b int, c int, index(b), index(c), index(b,c));
4506-select name,n_fields from data_dictionary.innodb_sys_indexes i where i.table_id=(select id from data_dictionary.innodb_sys_tables where name="test/t1");
4507-select f.col_name from data_dictionary.innodb_sys_fields f where f.index_id in (select id from data_dictionary.innodb_sys_indexes i where i.table_id=(select id from data_dictionary.innodb_sys_tables where name="test/t1"));
4508+select name,n_fields from data_dictionary.haildb_sys_indexes i where i.table_id=(select id from data_dictionary.haildb_sys_tables where name="test/t1");
4509+select f.col_name from data_dictionary.haildb_sys_fields f where f.index_id in (select id from data_dictionary.haildb_sys_indexes i where i.table_id=(select id from data_dictionary.haildb_sys_tables where name="test/t1"));
4510 drop table test.t1;
4511
4512=== renamed file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/libinnodb_datadict_dump_func.test' => 'plugin/haildb/test-suite-dir/haildb/tests/t/haildb_datadict_dump_func.test'
4513--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/libinnodb_datadict_dump_func.test 2010-04-06 06:52:59 +0000
4514+++ plugin/haildb/test-suite-dir/haildb/tests/t/haildb_datadict_dump_func.test 2010-09-30 08:13:47 +0000
4515@@ -1,4 +1,4 @@
4516 CREATE table t1 (a int primary key);
4517 CREATE TABLE t2 (a int primary key, b varchar(30), c bigint);
4518-SELECT LIBINNODB_datadict_dump();
4519+SELECT haildb_datadict_dump();
4520 DROP TABLE t1, t2;
4521
4522=== renamed file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/libinnodb_version_func.test' => 'plugin/haildb/test-suite-dir/haildb/tests/t/haildb_version_func.test'
4523--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/libinnodb_version_func.test 2010-02-08 04:30:03 +0000
4524+++ plugin/haildb/test-suite-dir/haildb/tests/t/haildb_version_func.test 2010-09-30 08:13:47 +0000
4525@@ -1,1 +1,1 @@
4526-SELECT LIBINNODB_VERSION();
4527+SELECT HAILDB_VERSION();
4528
4529=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/master.opt'
4530--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/master.opt 2010-09-16 00:29:34 +0000
4531+++ plugin/haildb/test-suite-dir/haildb/tests/t/master.opt 2010-09-30 08:13:47 +0000
4532@@ -1,1 +1,1 @@
4533---plugin-add=embedded_innodb --plugin-remove=innobase
4534+--plugin-add=haildb --plugin-remove=innobase
4535
4536=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/row_format.test'
4537--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/row_format.test 2010-08-26 21:56:15 +0000
4538+++ plugin/haildb/test-suite-dir/haildb/tests/t/row_format.test 2010-09-30 08:13:47 +0000
4539@@ -6,6 +6,6 @@
4540 CREATE TABLE t3 (a int) ENGINE=INNODB ROW_FORMAT=DYNAMIC;
4541 CREATE TABLE t4 (a int) ENGINE=INNODB ROW_FORMAT=REDUNDANT;
4542 CREATE TABLE t5 (a int) ENGINE=INNODB;
4543-SELECT LIBINNODB_datadict_dump();
4544+SELECT haildb_datadict_dump();
4545 DROP TABLE t2, t3, t4, t5;
4546
4547
4548=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/row_format_file_per_table.test'
4549--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/row_format_file_per_table.test 2010-06-07 08:46:37 +0000
4550+++ plugin/haildb/test-suite-dir/haildb/tests/t/row_format_file_per_table.test 2010-09-30 08:13:47 +0000
4551@@ -3,6 +3,6 @@
4552 CREATE TABLE t3 (a int) ENGINE=INNODB ROW_FORMAT=DYNAMIC;
4553 CREATE TABLE t4 (a int) ENGINE=INNODB ROW_FORMAT=REDUNDANT;
4554 CREATE TABLE t5 (a int) ENGINE=INNODB;
4555-SELECT LIBINNODB_datadict_dump();
4556+SELECT haildb_datadict_dump();
4557 DROP TABLE t1, t2, t3, t4, t5;
4558
4559
4560=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/status_table_function.test'
4561--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/status_table_function.test 2010-05-17 08:02:51 +0000
4562+++ plugin/haildb/test-suite-dir/haildb/tests/t/status_table_function.test 2010-09-30 08:13:47 +0000
4563@@ -1,24 +1,24 @@
4564-SHOW CREATE TABLE DATA_DICTIONARY.INNODB_STATUS;
4565-SELECT COUNT(NAME) FROM DATA_DICTIONARY.INNODB_STATUS;
4566-SELECT NAME FROM DATA_DICTIONARY.INNODB_STATUS;
4567-SELECT * FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="page_size";
4568+SHOW CREATE TABLE DATA_DICTIONARY.haildb_STATUS;
4569+SELECT COUNT(NAME) FROM DATA_DICTIONARY.haildb_STATUS;
4570+SELECT NAME FROM DATA_DICTIONARY.haildb_STATUS;
4571+SELECT * FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="page_size";
4572 --replace_column 1 #
4573-SELECT (@fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
4574+SELECT (@fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
4575 create table t1 (a int primary key);
4576-SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
4577+SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
4578 insert into t1 values (1);
4579-SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
4580+SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
4581 insert into t1 values (5),(2),(3),(4);
4582-SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
4583+SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
4584 delete from t1;
4585-SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
4586+SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
4587 begin;
4588 insert into t1 values (1);
4589 insert into t1 values (2);
4590 insert into t1 values (3);
4591 insert into t1 values (4);
4592 commit;
4593-SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
4594+SELECT (@fsync_count < @fsync_count:= VALUE) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
4595 DROP TABLE t1;
4596-SELECT (@fsync_count < (@fsync_count:= VALUE)) AS fsyncs FROM DATA_DICTIONARY.INNODB_STATUS WHERE NAME="fsync_req_done";
4597+SELECT (@fsync_count < (@fsync_count:= VALUE)) AS fsyncs FROM DATA_DICTIONARY.haildb_STATUS WHERE NAME="fsync_req_done";
4598
4599
4600=== modified file 'plugin/haildb/test-suite-dir/haildb/tests/t/type_blob_func.test'
4601--- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_blob_func.test 2010-05-25 05:45:52 +0000
4602+++ plugin/haildb/test-suite-dir/haildb/tests/t/type_blob_func.test 2010-09-30 08:13:47 +0000
4603@@ -6,7 +6,7 @@
4604 create table t1 (pk int auto_increment primary key, a blob);
4605 insert into t1 (a) values ('ccc'),('bb'),('a');
4606 select pk,length(a) from t1 order by length(a);
4607-SELECT libinnodb_datadict_dump();
4608+SELECT haildb_datadict_dump();
4609 drop table t1;
4610
4611 create table t1 (a blob);
4612
4613=== modified file 'po/POTFILES.in'
4614--- po/POTFILES.in 2010-09-24 16:07:41 +0000
4615+++ po/POTFILES.in 2010-09-30 08:13:47 +0000
4616@@ -60,7 +60,7 @@
4617 plugin/default_replicator/default_replicator.cc
4618 plugin/drizzle_protocol/drizzle_protocol.cc
4619 plugin/drizzle_protocol/errmsg.cc
4620-plugin/embedded_innodb/embedded_innodb_engine.cc
4621+plugin/haildb/haildb_engine.cc
4622 plugin/errmsg_notify/errmsg_notify.cc
4623 plugin/errmsg_stderr/errmsg_stderr.cc
4624 plugin/filtered_replicator/filtered_replicator.cc