MCPcopy Create free account
hub / github.com/MariaDB/server / engine_cache_data

Method engine_cache_data

sql/log.cc:607–613  ·  view source on GitHub ↗

The cache_data to use when binlogging into the --binlog-storage-engine. With binlog in storage engine, we're optimizing for transactional event groups, and for simplicity we only pass a single cache into the engine binlog implementation. When mixing transactional and non-transactional updates in a single event group, we flush everything as out-of-band-data, and use the transa

Source from the content-addressed store, hash-verified

605 the engine.
606 */
607 binlog_cache_data *engine_cache_data()
608 {
609 return ( unlikely(!using_trx_cache) || ( unlikely(using_stmt_cache) &&
610 !stmt_cache.empty() &&
611 trx_cache.empty() ) ) ?
612 &stmt_cache : &trx_cache;
613 }
614
615 IO_CACHE* get_binlog_cache_log(bool is_transactional)
616 {

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected