diff options
| author | Sergei Golubchik <serg@mariadb.org> | 2015-08-31 16:35:37 +0200 |
|---|---|---|
| committer | Sergei Golubchik <serg@mariadb.org> | 2015-08-31 17:46:13 +0200 |
| commit | 9d18de40e53722b9cdaea9f890778849bb4f5aeb (patch) | |
| tree | 36652ca0256b0d59931a33aa08611ebe8a92969e /mysql-test/include/commit.inc | |
| parent | 090cd69bf4c9fa752901ebf84933be0043dbdb9d (diff) | |
| download | mariadb-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
