#At file:///home/lsoares/Workspace/bzr/work/bugfixing/47557/mysql-trunk/ based on revid:tor.didriksen@stripped
3522 Luis Soares 2011-01-18
BUG#47557: mysqlbinlog -v should output 'limit 1' for update and
delete row events
mysqlbinlog -v shows pseudo-SQL statements, reconstructed out of
the rows, as comments. However, --verbose description mentions that
it reconstructs SQL statements, when in fact these are SQL-like
statements and not, 100% valid, SQL instructions.
We fix this by replacing "SQL" with "pseudo-SQL" in mysqlbinlog
help text (pseudo-SQL is actually the term used in the user
manual).
modified:
client/mysqlbinlog.cc
=== modified file 'client/mysqlbinlog.cc'
--- a/client/mysqlbinlog.cc 2011-01-16 04:02:29 +0000
+++ b/client/mysqlbinlog.cc 2011-01-18 11:19:03 +0000
@@ -1150,7 +1150,7 @@ static struct my_option my_long_options[
{"user", 'u', "Connect to the remote server as username.",
&user, &user, 0, GET_STR_ALLOC, REQUIRED_ARG, 0, 0, 0, 0,
0, 0},
- {"verbose", 'v', "Reconstruct SQL statements out of row events. "
+ {"verbose", 'v', "Reconstruct pseudo-SQL statements out of row events. "
"-v -v adds comments on column data types.",
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
{"version", 'V', "Print version and exit.", 0, 0, 0, GET_NO_ARG, NO_ARG, 0,
Attachment: [text/bzr-bundle] bzr/luis.soares@oracle.com-20110118111903-8sv4asnga9flpy9l.bundle
| Thread |
|---|
| • bzr commit into mysql-trunk branch (luis.soares:3522) Bug#47557 | Luis Soares | 18 Jan |