Skip to content

Commit 13e4bf6

Browse files
committed
Fix tokudb compilation post merge
1 parent 40e213f commit 13e4bf6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

storage/tokudb/PerconaFT/portability/toku_debug_sync.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ inline void toku_debug_sync(struct tokutxn *txn, const char *sync_point_name) {
6767

6868
toku_txn_get_client_id(txn, &client_id, &client_extra);
6969
thd = reinterpret_cast<THD *>(client_extra);
70-
debug_sync(thd, sync_point_name, strlen(sync_point_name));
70+
DEBUG_SYNC(thd, sync_point_name);
7171
}
7272

7373
#else // defined(ENABLED_DEBUG_SYNC)

storage/tokudb/PerconaFT/tools/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ foreach(tool ${tools})
1010
if (DEFINED MYSQL_PROJECT_NAME_DOCSTRING)
1111
if ((CMAKE_BUILD_TYPE MATCHES "Debug") AND
1212
(CMAKE_CXX_FLAGS_DEBUG MATCHES " -DENABLED_DEBUG_SYNC"))
13-
target_link_libraries(${tool} sql binlog rpl master slave)
13+
target_link_libraries(${tool} sql)
1414
endif()
1515
endif ()
1616

storage/tokudb/hatoku_hton.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ static bool tokudb_show_status(
5555
static void tokudb_handle_fatal_signal(handlerton* hton, THD* thd, int sig);
5656
#endif
5757
static int tokudb_close_connection(handlerton* hton, THD* thd);
58-
static void tokudb_kill_connection(handlerton *hton, THD *thd);
58+
static void tokudb_kill_connection(handlerton *hton, THD *thd, enum thd_kill_levels level);
5959
static int tokudb_commit(handlerton* hton, THD* thd, bool all);
6060
static int tokudb_rollback(handlerton* hton, THD* thd, bool all);
6161
#if TOKU_INCLUDE_XA
@@ -332,7 +332,7 @@ static int tokudb_init_func(void *p) {
332332

333333
tokudb_hton->create = tokudb_create_handler;
334334
tokudb_hton->close_connection = tokudb_close_connection;
335-
tokudb_hton->kill_connection = tokudb_kill_connection;
335+
tokudb_hton->kill_query = tokudb_kill_connection;
336336

337337
tokudb_hton->savepoint_offset = sizeof(SP_INFO_T);
338338
tokudb_hton->savepoint_set = tokudb_savepoint;
@@ -756,7 +756,8 @@ static int tokudb_close_connection(handlerton* hton, THD* thd) {
756756
return error;
757757
}
758758

759-
void tokudb_kill_connection(handlerton *hton, THD *thd) {
759+
void tokudb_kill_connection(handlerton *hton, THD *thd,
760+
enum thd_kill_levels level) {
760761
TOKUDB_DBUG_ENTER("");
761762
db_env->kill_waiter(db_env, thd);
762763
DBUG_VOID_RETURN;

0 commit comments

Comments
 (0)