diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-08-31 16:35:37 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-09-04 10:33:55 +0200 |
commit | 41d68cabee1d9c2a8e8c7a006b17070392a85ed7 (patch) | |
tree | 1f2cb4724fddd63923b0873ae3c35cf8d17c1c20 /sql/rpl_parallel.cc | |
parent | 704ba5c514b030e4e1c20fe659d985d3bd493bf1 (diff) | |
download | mariadb-git-41d68cabee1d9c2a8e8c7a006b17070392a85ed7.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 'sql/rpl_parallel.cc')
0 files changed, 0 insertions, 0 deletions