diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-08-17 18:38:30 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-09-04 10:33:50 +0200 |
commit | 5018a6606f1c863b197812e3f3c1b8b18134c638 (patch) | |
tree | fdfb6737e92871095ba31dc30f1fb4a9641abc13 /randgen | |
parent | 08687f7ef3ccb59ca78a3d037e9db5a514145d64 (diff) | |
download | mariadb-git-5018a6606f1c863b197812e3f3c1b8b18134c638.tar.gz |
cleanup: Log_event::read_log_event()
There are three Log_event::read_log_event() methods:
1. read the event image from IO_CACHE into String
2. create Log_event from the in-memory event image
3. read the event image from IO_CACHE and create Log_event
The 3rd was reading event image into memory and invoking the 2nd to
create Log_event. Now the 3rd also uses the 1st to read the event image
from IO_CACHE into memory, instead of duplicating its functionality.
Diffstat (limited to 'randgen')
0 files changed, 0 insertions, 0 deletions