• Sergei Golubchik's avatar
    don't copy stmt IO_CACHE to trx IO_CACHE at the stmt end · 332f41aa
    Sergei Golubchik authored
    instead use only one (trx) IO_CACHE and truncate it if the
    statement is rolled back.
    
    don't use binlog_cache_mngr to accumulate the data,
    use binlog_cache_data instead.
    
    (binlog_cache_data owns one IO_CACHE, binlog_cache_mngr owns
    two binlog_cache_data's, trx and stmt).
    332f41aa
sql_class.h 252 KB