summaryrefslogtreecommitdiff
path: root/storage/maria/ma_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_open.c')
-rw-r--r--storage/maria/ma_open.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/maria/ma_open.c b/storage/maria/ma_open.c
index 3febf879ec6..4139409d477 100644
--- a/storage/maria/ma_open.c
+++ b/storage/maria/ma_open.c
@@ -19,6 +19,8 @@
#include "ma_sp_defs.h"
#include "ma_rt_index.h"
#include "ma_blockrec.h"
+#include "trnman.h"
+#include "ma_trnman.h"
#include <m_ctype.h>
#include "ma_crypt.h"
@@ -184,7 +186,7 @@ static MARIA_HA *maria_clone_internal(MARIA_SHARE *share,
if (!share->base.born_transactional) /* For transactional ones ... */
{
/* ... force crash if no trn given */
- _ma_set_trn_for_table(&info, &dummy_transaction_object);
+ _ma_set_tmp_trn_for_table(&info, &dummy_transaction_object);
info.state= &share->state.state; /* Change global values by default */
}
else