Commit 13e4bf67 authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

Fix tokudb compilation post merge

parent 40e213f2
...@@ -67,7 +67,7 @@ inline void toku_debug_sync(struct tokutxn *txn, const char *sync_point_name) { ...@@ -67,7 +67,7 @@ inline void toku_debug_sync(struct tokutxn *txn, const char *sync_point_name) {
toku_txn_get_client_id(txn, &client_id, &client_extra); toku_txn_get_client_id(txn, &client_id, &client_extra);
thd = reinterpret_cast<THD *>(client_extra); thd = reinterpret_cast<THD *>(client_extra);
debug_sync(thd, sync_point_name, strlen(sync_point_name)); DEBUG_SYNC(thd, sync_point_name);
} }
#else // defined(ENABLED_DEBUG_SYNC) #else // defined(ENABLED_DEBUG_SYNC)
......
...@@ -10,7 +10,7 @@ foreach(tool ${tools}) ...@@ -10,7 +10,7 @@ foreach(tool ${tools})
if (DEFINED MYSQL_PROJECT_NAME_DOCSTRING) if (DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
if ((CMAKE_BUILD_TYPE MATCHES "Debug") AND if ((CMAKE_BUILD_TYPE MATCHES "Debug") AND
(CMAKE_CXX_FLAGS_DEBUG MATCHES " -DENABLED_DEBUG_SYNC")) (CMAKE_CXX_FLAGS_DEBUG MATCHES " -DENABLED_DEBUG_SYNC"))
target_link_libraries(${tool} sql binlog rpl master slave) target_link_libraries(${tool} sql)
endif() endif()
endif () endif ()
......
...@@ -55,7 +55,7 @@ static bool tokudb_show_status( ...@@ -55,7 +55,7 @@ static bool tokudb_show_status(
static void tokudb_handle_fatal_signal(handlerton* hton, THD* thd, int sig); static void tokudb_handle_fatal_signal(handlerton* hton, THD* thd, int sig);
#endif #endif
static int tokudb_close_connection(handlerton* hton, THD* thd); static int tokudb_close_connection(handlerton* hton, THD* thd);
static void tokudb_kill_connection(handlerton *hton, THD *thd); static void tokudb_kill_connection(handlerton *hton, THD *thd, enum thd_kill_levels level);
static int tokudb_commit(handlerton* hton, THD* thd, bool all); static int tokudb_commit(handlerton* hton, THD* thd, bool all);
static int tokudb_rollback(handlerton* hton, THD* thd, bool all); static int tokudb_rollback(handlerton* hton, THD* thd, bool all);
#if TOKU_INCLUDE_XA #if TOKU_INCLUDE_XA
...@@ -332,7 +332,7 @@ static int tokudb_init_func(void *p) { ...@@ -332,7 +332,7 @@ static int tokudb_init_func(void *p) {
tokudb_hton->create = tokudb_create_handler; tokudb_hton->create = tokudb_create_handler;
tokudb_hton->close_connection = tokudb_close_connection; tokudb_hton->close_connection = tokudb_close_connection;
tokudb_hton->kill_connection = tokudb_kill_connection; tokudb_hton->kill_query = tokudb_kill_connection;
tokudb_hton->savepoint_offset = sizeof(SP_INFO_T); tokudb_hton->savepoint_offset = sizeof(SP_INFO_T);
tokudb_hton->savepoint_set = tokudb_savepoint; tokudb_hton->savepoint_set = tokudb_savepoint;
...@@ -756,7 +756,8 @@ static int tokudb_close_connection(handlerton* hton, THD* thd) { ...@@ -756,7 +756,8 @@ static int tokudb_close_connection(handlerton* hton, THD* thd) {
return error; return error;
} }
void tokudb_kill_connection(handlerton *hton, THD *thd) { void tokudb_kill_connection(handlerton *hton, THD *thd,
enum thd_kill_levels level) {
TOKUDB_DBUG_ENTER(""); TOKUDB_DBUG_ENTER("");
db_env->kill_waiter(db_env, thd); db_env->kill_waiter(db_env, thd);
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
......
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