- 14 Aug, 2008 1 commit
-
-
He Zhenxing authored
The problem was because the event allocated in mysql_client_binlog_statement was not freed when an error occured while applying the event. sql/sql_binlog.cc: Delete the event if apply it failed
-
- 13 Aug, 2008 1 commit
-
-
Serge Kozlov authored
-
- 12 Aug, 2008 1 commit
-
-
He Zhenxing authored
BUG#38369, enable rpl_row_basic_7ndb test
-
- 06 Aug, 2008 1 commit
-
-
Sven Sandberg authored
all files automerged without conflict
-
- 29 Jul, 2008 2 commits
-
-
Sven Sandberg authored
all changes automerged without conflicts
-
Sven Sandberg authored
Post-push fix: updated some result files that were affected by the previous fix to this bug. mysql-test/suite/binlog/r/binlog_killed_simulate.result: Updated result file. mysql-test/suite/binlog/r/binlog_row_binlog.result: Updated result file. mysql-test/suite/binlog/r/binlog_row_mix_innodb_myisam.result: Updated result file. mysql-test/suite/binlog/r/binlog_statement_insert_delayed.result: Updated result file. mysql-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result: Updated result file. mysql-test/suite/rpl/r/rpl_stm_log.result: Updated result file.
-
- 25 Jul, 2008 1 commit
-
-
Georgi Kodinov authored
mysql-test/suite/ndb/t/disabled.def: disabled failing test in 5.1-bzr mysql-test/suite/rpl_ndb/t/disabled.def: disabled failing test in 5.1-bzr
-
- 24 Jul, 2008 1 commit
-
-
Chad MILLER authored
-
- 23 Jul, 2008 2 commits
-
-
Sven Sandberg authored
Problem: binlog_stm_binlog runs INSERT DELAYED queries, and then prints the contents of the binlog. Before checking the contents of the binlog, the test waits until the rows have appeared in the table. However, this is not enough, since INSERT DELAYED does not write rows to the binlog at the same time as it writes them to the table. So there is a race. Fix: Add a FLUSH TABLES before SHOW BINLOG EVENTS. That waits until the insert_delayed thread is done. mysql-test/extra/binlog_tests/binlog_insert_delayed.test: - Added FLUSH TABLES, so that SHOW BINLOG EVENTS becomes deterministic. - Added comments. - Removed unnecessary 'set @@session.auto_increment_increment' statements. - Removed unnecessary check that the number of rows inserted to the table is 11. mysql-test/suite/binlog/r/binlog_stm_binlog.result: updated result file
-
Sven Sandberg authored
Problem: the test waits for a 'DROP TEMPORARY TABLE' event to appear in the master's binlog, then checks on the slave whether the number of temporary tables has decreased. The slave does not sync, causing a race. Fix: check for the 'DROP TEMPORARY TABLE' event on slave instead of on master. mysql-test/suite/rpl/t/rpl_trunc_temp.test: - Fixed BUG#37493 by waiting for the event on the slave instead of on the master. - Added comments.
-
- 22 Jul, 2008 10 commits
-
-
Davi Arnaut authored
-
Davi Arnaut authored
sql/field.cc: Function is only used if replication is compiled in.
-
Davi Arnaut authored
-
Sergei Golubchik authored
-
Kristofer Pettersson authored
-
Kristofer Pettersson authored
-
Kristofer Pettersson authored
-
Kristofer Pettersson authored
-
Kristofer Pettersson authored
sql/log.cc: Auto merge
-
Tatiana A. Nurnberg authored
-
- 21 Jul, 2008 4 commits
-
-
Sven Sandberg authored
This does not fix the bug. It only disables the failing test. mysql-test/suite/rpl/t/disabled.def: disable rpl_temporary
-
Kristofer Pettersson authored
-
Kristofer Pettersson authored
-
Kristofer Pettersson authored
-
- 24 Jul, 2008 1 commit
-
-
Kristofer Pettersson authored
If the server failed to expired log files during start up it could crash. sql/log.cc: Added predicate to protect againt cases when current_thd might be NULL.
-
- 21 Jul, 2008 3 commits
-
-
Sergei Golubchik authored
use thread-local data structures in ha_release_temporary_latches()
-
Tatiana A. Nurnberg authored
-
Kristofer Pettersson authored
-
- 24 Jul, 2008 1 commit
-
-
Kristofer Pettersson authored
-
- 21 Jul, 2008 2 commits
-
-
Timothy Smith authored
-
Timothy Smith authored
-
- 19 Jul, 2008 4 commits
-
-
Timothy Smith authored
-
Timothy Smith authored
-
Timothy Smith authored
-
unknown authored
-
- 18 Jul, 2008 5 commits
-
-
Andrei Elkin authored
-
Sven Sandberg authored
This is not a fix to the bug. It only adds debug info, so that we can analyze the bug better next time it happens. Please revert the patch after the bug is fixed. mysql-test/suite/rpl/t/rpl_incident.test: Added debug info. This will only be printed if the test fails.
-
Georgi Kodinov authored
-
Andrei Elkin authored
the reason for the failure is that io thread passes through a sequence of state changes before it eventually got stuck at the expect running state as NO. It's unreasonble to wait for the running status while the whole idea of the test is to get to the IO thread error. Fixed with changing the waiting condition. mysql-test/suite/rpl/r/rpl_server_id1.result: results changed mysql-test/suite/rpl/t/disabled.def: re-enabling rpl_server_id1 mysql-test/suite/rpl/t/rpl_server_id1.test: deploying the exact waiting condition i.e to wait for the slave io error.
-
Sven Sandberg authored
Problem: master binlog has 'create table t1'. Master binlog was removed before slave could replicate it. In test's cleanup code, master did 'drop table t1', which caused slave sql thread to stop with an error since slave sql thread did not know about t1. Fix: t1 is just an auxiliary construction, only needed on master. Hence, we turn off binlogging before t1 is created, drop t1 as soon as we don't need it anymore, and then turn on binlogging again. mysql-test/include/show_binlog_events.inc: Filter out directories and block_len from LOAD DATA INFILE events. mysql-test/suite/rpl/r/rpl_loaddata_map.result: updated result file mysql-test/suite/rpl/t/rpl_loaddata_map.test: Turn off binlogging while t1 is used, drop t1 as soon as we don't need it anymore, and turn on binlogging again. Also added some comments and replaced 'show binlog events' by 'source include/show_binlog_events.inc'.
-