mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
d8b2d4a069
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. client/mysqlbinlog.cc: - handled error conditions during event->print() calls - added check for error in end_io_cache() mysys/my_write.c: Added debug code to simulate file write error. error returned will be ENOSPC=> error no space on the disk sql/log_event.cc: Added debug code to simulate file write error, by reducing the size of io cache. |
||
---|---|---|
.. | ||
.cvsignore | ||
client_priv.h | ||
CMakeLists.txt | ||
completion_hash.cc | ||
completion_hash.h | ||
echo.c | ||
get_password.c | ||
Makefile.am | ||
my_readline.h | ||
mysql.cc | ||
mysql_upgrade.c | ||
mysqladmin.cc | ||
mysqlbinlog.cc | ||
mysqlcheck.c | ||
mysqldump.c | ||
mysqlimport.c | ||
mysqlshow.c | ||
mysqlslap.c | ||
mysqltest.cc | ||
readline.cc | ||
sql_string.cc | ||
sql_string.h |