-
Committer:
Rohit Kalhans
-
Date:
2012-05-29 06:41:30 UTC
-
mto:
(2502.1194.1 mysql-5.1.64-release)
-
mto:
This revision was merged to the branch mainline in
revision
3152.
-
Revision ID:
rohit.kalhans@oracle.com-20120529064130-u6wrrvqvimq0anjn
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.