Skip to content

Commit

Permalink
Added missing test if table is transactional or not in Aria
Browse files Browse the repository at this point in the history
- The line was accidently removed by dd8474b
- The effect of the missing test was just a few extra malloc when creating
  internal temporary tables. Nothing critical, but better got get fixed.
  • Loading branch information
montywi committed Sep 28, 2017
1 parent 8d006b9 commit 5a0cd75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/maria/ma_open.c
Expand Up @@ -918,6 +918,7 @@ MARIA_HA *maria_open(const char *name, int mode, uint open_flags)
if (internal_table)
set_if_smaller(share->base.max_data_file_length,
max_data_file_length);
if (share->now_transactional)
{
/* Setup initial state that is visible for all */
MARIA_STATE_HISTORY_CLOSED *history;
Expand Down

0 comments on commit 5a0cd75

Please sign in to comment.