@@ -55,7 +55,7 @@ static bool tokudb_show_status(
5555static void tokudb_handle_fatal_signal (handlerton* hton, THD* thd, int sig);
5656#endif
5757static 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 );
5959static int tokudb_commit (handlerton* hton, THD* thd, bool all);
6060static 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