From 5a0cd753be0d48022db257ddcc7327341b12c1af Mon Sep 17 00:00:00 2001 From: Monty Date: Thu, 28 Sep 2017 11:59:28 +0300 Subject: Added missing test if table is transactional or not in Aria - The line was accidently removed by dd8474b1dc556d0ea9491d1908a2d1237818e8c1 - The effect of the missing test was just a few extra malloc when creating internal temporary tables. Nothing critical, but better got get fixed. --- storage/maria/ma_open.c | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/maria/ma_open.c b/storage/maria/ma_open.c index 5c5e41be1f8..c1fdd52357f 100644 --- a/storage/maria/ma_open.c +++ b/storage/maria/ma_open.c @@ -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; -- cgit v1.2.1