1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-22 23:02:58 +03:00
Files
mariadb/client/mysqlbinlog.cc
Rohit Kalhans 35d4c18ef4 Bug#11762667: MYSQLBINLOG IGNORES ERRORS WHILE WRITING OUTPUT
Problem: mysqlbinlog exits without any error code in case of
file write error. It is because of the fact that the calls
to Log_event::print() method does not return a value and the
thus any error were being ignored.

Resolution: We resolve this problem by checking for the 
IO_CACHE::error == -1 after every call to Log_event:: print()
and terminating the further execution.
2012-05-29 12:11:30 +05:30

69 KiB