summaryrefslogtreecommitdiff
path: root/mysql-test/include/commit.inc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-08-31 16:35:37 +0200
committerSergei Golubchik <serg@mariadb.org>2015-08-31 17:46:13 +0200
commit9d18de40e53722b9cdaea9f890778849bb4f5aeb (patch)
tree36652ca0256b0d59931a33aa08611ebe8a92969e /mysql-test/include/commit.inc
parent090cd69bf4c9fa752901ebf84933be0043dbdb9d (diff)
downloadmariadb-git-9d18de40e53722b9cdaea9f890778849bb4f5aeb.tar.gz
cleanup: Log_event::write() and MYSQL_BIN_LOG::write_cache()
Introduce Log_event_writer() that encapsulates writing data to an IO_CACHE with automatic checksum calculation. Now all events properly checksum themselves as needed. Use Log_event_writer in MYSQL_BIN_LOG::write_cache() instead of copy-pasting its logic all over. Later Log_event_writer will also do encryption.
Diffstat (limited to 'mysql-test/include/commit.inc')
0 files changed, 0 insertions, 0 deletions