mariadb/client
Rohit Kalhans d8b2d4a069 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.

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.
2012-05-29 12:11:30 +05:30
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
client_priv.h Updated/added copyright headers 2011-07-03 17:47:37 +02:00
CMakeLists.txt Updated/added copyright headers 2011-06-30 17:37:13 +02:00
completion_hash.cc WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
completion_hash.h - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
echo.c echo.c: 2007-03-20 18:31:49 +01:00
get_password.c fixes for build failures due to my yesterday's changeset forbidding 2008-02-19 18:45:11 +01:00
Makefile.am Updated/added copyright headers 2011-07-03 17:47:37 +02:00
my_readline.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
mysql.cc BUG#11758062 - 50206: ER_TOO_BIG_SELECT REFERS TO OUTMODED 2011-09-28 15:39:21 +05:30
mysql_upgrade.c Manual merge from mysql-5.0. 2011-07-22 11:46:45 +04:00
mysqladmin.cc Manual merge from mysql-5.0. 2011-07-22 11:46:45 +04:00
mysqlbinlog.cc Bug#11762667: MYSQLBINLOG IGNORES ERRORS WHILE WRITING OUTPUT 2012-05-29 12:11:30 +05:30
mysqlcheck.c Manual merge from mysql-5.0. 2011-07-22 11:46:45 +04:00
mysqldump.c Bug #11754178 45740: MYSQLDUMP DOESN'T DUMP GENERAL_LOG AND SLOW_QUERY 2012-05-07 16:46:44 +05:30
mysqlimport.c Manual merge from mysql-5.0. 2011-07-22 11:46:45 +04:00
mysqlshow.c Manual merge from mysql-5.0. 2011-07-22 11:46:45 +04:00
mysqlslap.c Bug #11766072 59107: MYSQLSLAP CRASHES IF STARTED WITH NO ARGUMENTS ON WINDOWS 2012-04-09 16:42:41 +05:30
mysqltest.cc Bug #12793118 MYSQLTEST: --ERROR AND --DISABLE_ABORT_ON_ERROR DO NOT WORK FOR SQL IN COMMANDS 2011-09-14 15:19:24 +02:00
readline.cc Build broken for gcc 4.5.1 in optimized mode. 2011-11-29 15:52:47 +01:00
sql_string.cc Updated/added copyright headers 2012-02-15 17:21:38 +01:00
sql_string.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00