summaryrefslogtreecommitdiff
path: root/storage/maria/trnman.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/trnman.c')
-rw-r--r--storage/maria/trnman.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/storage/maria/trnman.c b/storage/maria/trnman.c
index 660a8917b1e..95fe1a0d3f4 100644
--- a/storage/maria/trnman.c
+++ b/storage/maria/trnman.c
@@ -88,6 +88,19 @@ void trnman_reset_locked_tables(TRN *trn, uint locked_tables)
trn->locked_tables= locked_tables;
}
+#ifdef EXTRA_DEBUG
+uint16 trnman_get_state(TRN *trn)
+{
+ return trn->state;
+}
+
+void trnman_set_state(TRN *trn, uint16 state)
+{
+ trn->state= state;
+}
+#endif
+
+
static void wt_thd_release_self(TRN *trn)
{
if (trn->wt)