summaryrefslogtreecommitdiff
path: root/mysql-test/std_data
diff options
context:
space:
mode:
author <Li-Bing.Song@sun.com>2010-03-28 19:57:33 +0800
committer <Li-Bing.Song@sun.com>2010-03-28 19:57:33 +0800
commit2049d1afc05ae8164353263f6e9ae7c0cd9b961b (patch)
tree656156db7cdeef9ce027bbc4cd40c78d35b284f9 /mysql-test/std_data
parent8d22c5f3efe4ab127cbe7bc3064b856e9f4849ff (diff)
downloadmariadb-git-2049d1afc05ae8164353263f6e9ae7c0cd9b961b.tar.gz
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;
Diffstat (limited to 'mysql-test/std_data')
-rw-r--r--mysql-test/std_data/binlog_savepoint.000001bin0 -> 1014 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/mysql-test/std_data/binlog_savepoint.000001 b/mysql-test/std_data/binlog_savepoint.000001
new file mode 100644
index 00000000000..5109042a184
--- /dev/null
+++ b/mysql-test/std_data/binlog_savepoint.000001
Binary files differ