summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@sun.com>2010-04-01 15:54:23 +0400
committerSergey Vojtovich <svoj@sun.com>2010-04-01 15:54:23 +0400
commit8b3a014e1a448a8f54c4caa339c9448171f515d6 (patch)
tree9df7bbb8436e1150ccecd0bdba3349efe11b0711 /storage
parentd74c008d46a1e485128bb52a55799d233e737d15 (diff)
downloadmariadb-git-8b3a014e1a448a8f54c4caa339c9448171f515d6.tar.gz
Applying InnoDB snapshot
Detailed revision comments: r6712 | marko | 2010-02-16 10:05:36 +0200 (Tue, 16 Feb 2010) | 2 lines branches/zip: trx_lists_init_at_db_start(): Assert that the kernel_mutex is held by the caller.
Diffstat (limited to 'storage')
-rw-r--r--storage/innodb_plugin/trx/trx0trx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innodb_plugin/trx/trx0trx.c b/storage/innodb_plugin/trx/trx0trx.c
index 0951b98b79f..7fe0bfb4da8 100644
--- a/storage/innodb_plugin/trx/trx0trx.c
+++ b/storage/innodb_plugin/trx/trx0trx.c
@@ -425,6 +425,7 @@ trx_lists_init_at_db_start(void)
trx_undo_t* undo;
trx_t* trx;
+ ut_ad(mutex_own(&kernel_mutex));
UT_LIST_INIT(trx_sys->trx_list);
/* Look from the rollback segments if there exist undo logs for