Commit 5a0cd753 authored by Monty's avatar Monty

Added missing test if table is transactional or not in Aria

- The line was accidently removed by dd8474b1
- The effect of the missing test was just a few extra malloc when creating
  internal temporary tables. Nothing critical, but better got get fixed.
parent 8d006b9b
...@@ -918,6 +918,7 @@ MARIA_HA *maria_open(const char *name, int mode, uint open_flags) ...@@ -918,6 +918,7 @@ MARIA_HA *maria_open(const char *name, int mode, uint open_flags)
if (internal_table) if (internal_table)
set_if_smaller(share->base.max_data_file_length, set_if_smaller(share->base.max_data_file_length,
max_data_file_length); max_data_file_length);
if (share->now_transactional)
{ {
/* Setup initial state that is visible for all */ /* Setup initial state that is visible for all */
MARIA_STATE_HISTORY_CLOSED *history; MARIA_STATE_HISTORY_CLOSED *history;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment