mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
To save 32KB memory per thread when --log-bin is not used, we do not
init the binlog_cache (THD::transaction.trans_log). I have checked all places where trans_log is used, because as now it may not be inited in some cases, we have to be cautious (will forward this commit mail to Heikki).
This commit is contained in:
@ -684,7 +684,7 @@ public:
|
||||
delayed_insert *di;
|
||||
my_bool tablespace_op; /* This is TRUE in DISCARD/IMPORT TABLESPACE */
|
||||
struct st_transactions {
|
||||
IO_CACHE trans_log;
|
||||
IO_CACHE trans_log; // Inited ONLY if binlog is open !
|
||||
THD_TRANS all; // Trans since BEGIN WORK
|
||||
THD_TRANS stmt; // Trans for current statement
|
||||
uint bdb_lock_count;
|
||||
|
Reference in New Issue
Block a user