mariadb/client
2049d1afc0 Bug #50407 mysqlbinlog --database=X produces bad output for SAVEPOINTs
When mysqlbinlog was given the --database=X flag, it always printed
'ROLLBACK TO', but the corresponding 'SAVEPOINT' statement was not
printed. The replicated filter(replicated-do/ignore-db) and binlog
filter (binlog-do/ignore-db) has the same problem. They are solved
in this patch together.

After this patch, We always check whether the query is 'SAVEPOINT'
statement or not. Because this is a literal check, 'SAVEPOINT' and
'ROLLBACK TO' statements are also binlogged in uppercase with no
any comments.

The binlog before this patch can be handled correctly except one case
that any comments are in front of the keywords. for example:
 /* bla bla */ SAVEPOINT a;
 /* bla bla */ ROLLBACK TO a;
2010-03-28 19:57:33 +08:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
client_priv.h WL#5182 Remove more deprecated 4.1/5.0 features 2010-01-27 13:23:28 +01:00
CMakeLists.txt Addition to Fix for BUG#46591 - .frm file isn't sync'd with sync_frm enabled 2009-09-04 11:19:44 +05:30
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 my_strtoll10-x86.s: 2006-12-31 01:02:27 +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 Fix for BUG#46591 - .frm file isn't sync'd with sync_frm enabled for 2009-09-03 16:02:03 +05:30
my_readline.h Manual merge. 2009-03-18 11:27:49 +03:00
mysql.cc Bug #44178: mysql cli does not comply with GPLv2 clause 2c 2010-03-11 15:16:54 +02:00
mysql_upgrade.c Bug #41057: mysql_update fails FATAL ERROR: Failed to create temporary file for defaults 2010-03-09 11:18:46 +02:00
mysqladmin.cc Recommit of Bug#49447. 2010-02-04 13:39:42 +01:00
mysqlbinlog.cc Bug #50407 mysqlbinlog --database=X produces bad output for SAVEPOINTs 2010-03-28 19:57:33 +08:00
mysqlcheck.c Recommit of Bug#49447. 2010-02-04 13:39:42 +01:00
mysqldump.c Recommit of Bug#49447. 2010-02-04 13:39:42 +01:00
mysqlimport.c Recommit of Bug#49447. 2010-02-04 13:39:42 +01:00
mysqlshow.c Recommit of Bug#49447. 2010-02-04 13:39:42 +01:00
mysqlslap.c Recommit of Bug#49447. 2010-02-04 13:39:42 +01:00
mysqltest.cc Bug#37316: Anonymous error messages noticed sometimes, while running tests in MTR 2010-03-08 11:30:20 -03:00
readline.cc Manual merge. 2009-03-18 11:27:49 +03:00
sql_string.cc auto-merge 2009-03-19 09:44:58 -04:00
sql_string.h Fixed compiler warnings 2007-02-23 13:13:55 +02:00