summaryrefslogtreecommitdiff
path: root/storage/xtradb/api/api0api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/api/api0api.cc')
-rw-r--r--storage/xtradb/api/api0api.cc14
1 files changed, 6 insertions, 8 deletions
diff --git a/storage/xtradb/api/api0api.cc b/storage/xtradb/api/api0api.cc
index 4788b78ebd7..3859fb84b81 100644
--- a/storage/xtradb/api/api0api.cc
+++ b/storage/xtradb/api/api0api.cc
@@ -205,9 +205,9 @@ struct ib_tuple_t {
};
/** The following counter is used to convey information to InnoDB
-about server activity: in selects it is not sensible to call
-srv_active_wake_master_thread after each fetch or search, we only do
-it every INNOBASE_WAKE_INTERVAL'th step. */
+about server activity: in case of normal DML ops it is not
+sensible to call srv_active_wake_master_thread after each
+operation, we only do it every INNOBASE_WAKE_INTERVAL'th step. */
#define INNOBASE_WAKE_INTERVAL 32
@@ -707,8 +707,6 @@ ib_trx_rollback(
/* It should always succeed */
ut_a(err == DB_SUCCESS);
- ib_wake_master_thread();
-
return(err);
}
@@ -1658,7 +1656,7 @@ ib_cursor_insert_row(
src_tuple->index->table, q_proc->grph.ins, node->ins);
}
- srv_active_wake_master_thread();
+ ib_wake_master_thread();
return(err);
}
@@ -1952,7 +1950,7 @@ ib_cursor_update_row(
err = ib_execute_update_query_graph(cursor, pcur);
}
- srv_active_wake_master_thread();
+ ib_wake_master_thread();
return(err);
}
@@ -2094,7 +2092,7 @@ ib_cursor_delete_row(
err = DB_RECORD_NOT_FOUND;
}
- srv_active_wake_master_thread();
+ ib_wake_master_thread();
return(err);
}