Commit 1373d388 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

remove build problems

git-svn-id: file:///svn/mysql/tokudb-engine/src@14593 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2444bfe7
...@@ -1177,7 +1177,6 @@ int ha_tokudb::initialize_share( ...@@ -1177,7 +1177,6 @@ int ha_tokudb::initialize_share(
bool table_exists; bool table_exists;
uint open_flags = (mode == O_RDONLY ? DB_RDONLY : 0) | DB_THREAD; uint open_flags = (mode == O_RDONLY ? DB_RDONLY : 0) | DB_THREAD;
open_flags += DB_AUTO_COMMIT; open_flags += DB_AUTO_COMMIT;
THD* thd = ha_thd();
DBUG_PRINT("info", ("share->use_count %u", share->use_count)); DBUG_PRINT("info", ("share->use_count %u", share->use_count));
table_exists = true; table_exists = true;
......
...@@ -10,7 +10,7 @@ extern "C" { ...@@ -10,7 +10,7 @@ extern "C" {
#error "WORDS_BIGENDIAN not supported" #error "WORDS_BIGENDIAN not supported"
#endif #endif
inline TOKU_TYPE mysql_to_toku_type (Field* field) { TOKU_TYPE mysql_to_toku_type (Field* field) {
TOKU_TYPE ret_val = toku_type_unknown; TOKU_TYPE ret_val = toku_type_unknown;
enum_field_types mysql_type = field->real_type(); enum_field_types mysql_type = field->real_type();
switch (mysql_type) { switch (mysql_type) {
......
...@@ -27,7 +27,7 @@ typedef enum { ...@@ -27,7 +27,7 @@ typedef enum {
} TOKU_TYPE; } TOKU_TYPE;
inline TOKU_TYPE mysql_to_toku_type (Field* field); TOKU_TYPE mysql_to_toku_type (Field* field);
uchar* pack_toku_key_field( uchar* pack_toku_key_field(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment