summaryrefslogtreecommitdiff
path: root/client/mysqlbinlog.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge mysql.com:/home/my/mysql-5.0monty@narttu.mysql.fi2007-01-271-28/+32
|\ | | | | | | | | into mysql.com:/home/my/mysql-5.1 Merge of 'remove compiler warnings when using -Wshadow'
| * Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com/narttu.mysql.fi2007-01-221-29/+33
| |\ | | | | | | | | | into mysql.com:/home/my/mysql-5.0
| | * Fixed compiler warnings detected by option -Wshadow and -Wunused:monty@mysql.com/narttu.mysql.fi2006-12-151-29/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed not used variables and functions - Added #ifdef around code that is not used - Renamed variables and functions to avoid conflicts - Removed some not used arguments Fixed some class/struct warnings in ndb Added define IS_LONGDATA() to simplify code in libmysql.c I did run gcov on the changes and added 'purecov' comments on almost all lines that was not just variable name changes
| * | Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/50tsmith@siva.hindu.god2007-01-181-11/+27
| |\ \ | | | | | | | | | | | | into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/50
| | * \ Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.0-rpllars/lthalmann@mysql.com/dl145j.mysql.com2007-01-121-11/+27
| | |\ \ | | | | | | | | | | | | | | | into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge
| | | * \ Merge quant.(none):/ext/mysql/bkroot/mysql-5.0-rplrafal@quant.(none)2006-12-081-11/+27
| | | |\ \ | | | | |/ | | | |/| | | | | | into quant.(none):/ext/mysql/bk/mysql-5.0-bug24507
| * | | | Merge siva.hindu.god:/usr/home/tim/m/bk/g50tsmith/tim@siva.hindu.god2006-12-261-2/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | into siva.hindu.god:/usr/home/tim/m/bk/50
| * | | | Bug#23735 mysqlbinlog client fails when reading binlog from stdinmsvensson@neptunus.(none)2006-12-111-0/+19
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Windows opens stdin in text mode by default. Certain characters such as CTRL-Z are interpeted as events and the read() method will stop. CTRL-Z is the EOF marker in Windows. to get past this you have to open stdin in binary mode. Setmode() is used to set stdin in binary mode. Errors on setting this mode result in halting the function and printing an error message to stderr.
* | | | Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpllars/lthalmann@dl145j.mysql.com2007-01-121-11/+48
|\ \ \ \ | | | | | | | | | | | | | | | into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
| * | | | Bug#17642 mysqlbinlog: Restore from row-based binlog failsbar@mysql.com/bar.intranet.mysql.r18.ru2006-12-141-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: mysqlbinlog_base64 failed sporadically. Reason: Missing "flush logs" before running $MYSQL_BINLOG, which could start dumping the log file before server has finished writting into it. Fix: - implementing --force-if-open option to "mysqlbinlog" - adding --disable-force-if-open to make $MYSQL_BINLOG fail on non-closed log files, to garantee that nobody will forget "flush logs" in the future. - adding "flush logs" into all affected tests.
| * | | | Merge mysql.com:/home/bkroot/mysql-5.1-new-rpllars@black.(none)2006-12-081-11/+27
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into mysql.com:/home/bk/MERGE/mysql-5.1-merge
| | * \ \ \ After merge fixbar@bar.intranet.mysql.r18.ru2006-12-081-11/+27
| | |\ \ \ \ | | | | |_|/ | | | |/| |
| | | * | | Bug#20396 Bin Log does not get DELIMETER cmd - Recover StoredProc failsbar@mysql.com/bar.intranet.mysql.r18.ru2006-11-281-11/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: when loading mysqlbinlog dumps, CREATE PROCEDURE having semicolons in their bodies failed. Fix: Using safe delimiter "/*!*/;" to dump log entries.
* | | | | | Merge mysql.com:/home/kent/bk/main/mysql-5.0kent@kent-amd64.(none)2006-12-231-2/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | into mysql.com:/home/kent/bk/main/mysql-5.1
| * | | | Many files:kent@mysql.com/kent-amd64.(none)2006-12-231-2/+1
| | |_|/ | |/| | | | | | | | | | Changed header to GPL version 2 only
* | | | Merge mysql.com:/home/my/mysql-5.0monty@nosik.monty.fi2006-11-221-1/+1
|\ \ \ \ | |/ / / | | | | | | | | into mysql.com:/home/my/mysql-5.1
| * | | Remove compiler warningsmonty@mysql.com/nosik.monty.fi2006-11-201-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | (Mostly in DBUG_PRINT() and unused arguments) Fixed bug in query cache when used with traceing (--with-debug) Fixed memory leak in mysqldump Removed warnings from mysqltest scripts (replaced -- with #)
| * | Fixes for crashes and test failuresgeorg@lmy002.wdf.sap.corp2006-09-011-3/+2
| | |
* | | Merge bk-internal.mysql.com:/home/bk/mysql-5.1monty@nosik.monty.fi2006-11-211-4/+6
|\ \ \ | |_|/ |/| | | | | into mysql.com:/home/my/mysql-5.1
| * | Added --debug-info to most clients to detect memory leaks in mysql-test-runmonty@mysql.com/nosik.monty.fi2006-11-211-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Moved .progress files into the log directory Moved 'cluster' database tables into the MySQL database, to not have 'cluster' beeing a reserved database name Fixed bug where mysqld got a core dump when trying to use a table created by MySQL 3.23 Fixed some compiler warnings Fixed small memory leak in libmysql Note that this doesn't changeset doesn't include the new mysqldump.c code required to run some tests. This will be added when I merge 5.0 to 5.1
* | | BUG#23735 Changes to comments in code for explanation of fix.cbell/Chuck@mysql_cab.2006-11-021-9/+6
| | |
* | | BUG#23735 Test rpl_row_mysqlbinlog fails on Windows. The errors report a ↵cbell/Chuck@mysql_cab.2006-11-011-0/+18
|/ / | | | | | | file discrepency on reading a binlog from the command line.
* | Merge romeo.(none):/home/bkroot/mysql-5.1-new-rplmats@romeo.(none)2006-10-061-6/+29
|\ \ | | | | | | | | | into romeo.(none):/home/bk/b19459-mysql-5.1-new
| * | BUG#19459 (BINLOG RBR command does not lock tables correctly causingmats@romeo.(none)2006-10-061-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | crash for, e.g., NDB): Before, mysqlbinlog printed table map events as a separate statement, so when executing the event, the opened table was subsequently closed when the statement ended. Instead, the row-based events that make up a statement are now printed as *one* BINLOG statement, which means that the table maps and the following *_rows_log_event events are executed fully before the statement ends. Changing implementation of BINLOG statement to be able to read the emitted format, which now consists of several chunks of BASE64-encoded data.
* | | Merge bodhi.local:/opt/local/work/tmp_mergekostja@bodhi.local2006-08-121-1/+2
|\ \ \ | |/ / |/| / | |/ into bodhi.local:/opt/local/work/mysql-5.1-runtime-merge
| * A fix and a test case for Bug#15752 "Lost connection to MySQL server kostja@bodhi.local2006-07-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when calling a SP from C API" The bug was caused by lack of checks for misuse in mysql_real_query. A stored procedure always returns at least one result, which is the status of execution of the procedure itself. This result, or so-called OK packet, is similar to a result returned by INSERT/UPDATE/CREATE operations: it contains the overall status of execution, the number of affected rows and the number of warnings. The client test program attached to the bug did not read this result and ivnoked the next query. In turn, libmysql had no check for such scenario and mysql_real_query was simply trying to send that query without reading the pending response, thus messing up the communication protocol. The fix is to return an error from mysql_real_query when it's called prior to retrieval of all pending results.
* | Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0jani@a193-229-222-105.elisa-laajakaista.fi2006-05-301-0/+17
|\ \ | |/ | | | | into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new
| * Merge mysql.com:/usr/home/ram/work/mysql-4.1ramil@mysql.com2006-05-301-0/+17
| |\ | | | | | | | | | into mysql.com:/usr/home/ram/work/mysql-5.0
| | * Fix for bug #18351: mysqlbinlog does not set default charset?ramil@mysql.com2006-05-041-0/+17
| | |
| | * Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0jani@a193-229-222-105.elisa-laajakaista.fi2005-12-041-1/+1
| | |\ | | | | | | | | | | | | into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
| | | * A set of Netware related patches.jani@a193-229-222-105.elisa-laajakaista.fi2005-12-041-1/+1
| | | |
* | | | Merge mysql.com:/usr/local/mysql/mysql-5.0-vgfixknielsen@mysql.com2006-05-161-2/+4
|\ \ \ \ | |/ / / | | | | | | | | into mysql.com:/usr/local/mysql/tmp-5.1
| * | | Fix two Valgrind memory leak warnings.knielsen@mysql.com2006-05-151-2/+4
| | | |
* | | | Changes to make testsuite run in CMake build tree.knielsen@mysql.com2006-02-101-1/+1
| | | |
* | | | Merge mysql.com:/home/kostja/mysql/tmp_mergekonstantin@mysql.com2006-02-021-4/+5
|\ \ \ \ | |/ / / | | | | | | | | into mysql.com:/home/kostja/mysql/mysql-5.1-merge
| * | | many warnings (practically safe but annoying) correctedserg@serg.mylan2006-01-031-4/+5
| | | |
* | | | mysqlbinlog.cc:paul@snake-hub.snake.net2006-01-041-27/+25
| | | | | | | | | | | | | | | | | | | | Put options in standard order: help first, then lexically, then variables.
* | | | WL#1012: All changes as one single changeset.lars@mysql.com2005-12-221-2/+23
| | | | | | | | | | | | | | | | This includes both code and test cases.
* | | | added --server-id option to mysqlbinlog to filter for a certain server id hartmut@mysql.com2005-12-051-0/+8
|/ / / | | | | | | | | | in the binlog only
* | | Merge mysql.com:/home/jimw/my/mysql-4.1-5792jimw@mysql.com2005-11-281-2/+2
|\ \ \ | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| * | | Fix being able to set default TCP port for command-line utilitiesjimw@mysql.com2005-10-131-2/+2
| |/ / | | | | | | | | | by using MYSQL_TCP_PORT variable. (Bug #5792)
* | | Netware specific changes for 5.0.16ajamppa@suse9-x86.mysql.com2005-11-181-1/+1
| | |
* | | Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0lars@mysql.com2005-10-191-16/+28
|\ \ \ | | | | | | | | | | | | into mysql.com:/users/lthalmann/bk/mysql-5.0-hexdump
| * | | mysqlbinlog --hexdump patch 4:lars@mysql.com2005-10-191-19/+19
| | | | | | | | | | | | | | | | Rename last_event_info to print_event_info to better reflect the new semantics
| * | | mysqlbin --hexdump patch 3lars@mysql.com2005-10-121-11/+15
| | | |
| * | | Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0lars@mysql.com2005-10-111-10/+18
| |\ \ \ | | | | | | | | | | | | | | | into mysql.com:/users/lthalmann/bk/mysql-5.0-hexdump
| | * | | mysqlbinlog --hexdump additional patch 2lars@mysql.com2005-09-301-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | - Fixes related to Guilhems review - Special printing of event header
| | * | | mysqlbinlog --hexdump augments each log entry with byte informationlars@mysql.com2005-09-291-10/+20
| | | | |
* | | | | Fix of incompatible typeslars@mysql.com2005-10-121-1/+2
|/ / / / | | | | | | | | | | | | | | | | len and packet_error needs to be of same type for (len == packet_error) to check failures
* | | | Tell the user that this ROLLBACK is added by mysqlbinlog (so that he does ↵guilhem@mysql.com2005-09-301-1/+1
|/ / / | | | | | | | | | not wonder if it's present in binlog). This was brought up by Salle - thanks Salle.