- 14 Mar, 2008 1 commit
-
-
hezx@mail.hezx.com authored
using a trig in SP For all 5.0 and up to 5.1.12 exclusive, when a stored routine or trigger caused an INSERT into an AUTO_INCREMENT column, the generated AUTO_INCREMENT value should not be written into the binary log, which means if a statement does not generate AUTO_INCREMENT value itself, there will be no Intvar event (SET INSERT_ID) associated with it even if one of the stored routine or trigger caused generation of such a value. And meanwhile, when executing a stored routine or trigger, it would ignore the INSERT_ID value even if there is a INSERT_ID value available set by a SET INSERT_ID statement. Starting from MySQL 5.1.12, the generated AUTO_INCREMENT value is written into the binary log, and the value will be used if available when executing the stored routine or trigger. Prior fix of this bug in MySQL 5.0 and prior MySQL 5.1.12 (referenced as the buggy versions in the text below), when a statement that generates AUTO_INCREMENT value by the top statement was executed in the body of a SP, all statements in the SP after this statement would be treated as if they had generated AUTO_INCREMENT by the top statement. When a statement that did not generate AUTO_INCREMENT value by the top statement but by a function/trigger called by it, an erroneous Intvar event would be associated with the statement, this erroneous INSERT_ID value wouldn't cause problem when replicating between masters and slaves of 5.0.x or prior 5.1.12, because the erroneous INSERT_ID value was not used when executing functions/triggers. But when replicating from buggy versions to 5.1.12 or newer, which will use the INSERT_ID value in functions/triggers, the erroneous value will be used, which would cause duplicate entry error and cause the slave to stop. The patch for 5.1 fixed it to ignore the SET INSERT_ID value when executing functions/triggers if it is replicating from a master of buggy versions, another patch for 5.0 fixed it not to generate the erroneous Intvar event.
-
- 20 Feb, 2008 9 commits
-
-
aelkin/andrei@mysql1000.(none) authored
into mysql1000.(none):/home/andrei/MySQL/FIXES/5.1/bug31316-sss_server_id_clashes
-
aelkin/andrei@mysql1000.(none) authored
"Server_IO_State" field Critical error messages from get_master_version_and_clock() were written only to the slave errorlog while Show slave status did not display any incident happened. Although the artifact was reported for a particular --replicate-same-server-id related issue the fix refines all critical error reporting with deploying rli->report(). The test for the bug covers only --replicate-same-server-id error reporting.
-
mkindahl@dl145h.mysql.com authored
into dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
-
mkindahl@dl145h.mysql.com authored
into dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
-
mkindahl@dl145h.mysql.com authored
into dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl
-
sven@riska.(none) authored
-
sven@riska.(none) authored
Minor update with corrections and notes on the binlog format. This only affects comments, not code.
-
tomas@poseidon.ndb.mysql.com authored
ndb data to be logged has made it to the binary log to get a deterministic behavior on the rotation of the log.
-
bar@bar.myoffice.izhnet.ru authored
into mysql.com:/home/bar/mysql-work/mysql-5.0.b32510v2
-
- 19 Feb, 2008 5 commits
-
-
tomas@poseidon.bredbandsbolaget.se authored
into poseidon.bredbandsbolaget.se:/home/tomas/mysql-5.1-new-ndb-merge
-
mkindahl@dl145h.mysql.com authored
and moving test to replication suite.
-
mkindahl@dl145h.mysql.com authored
into dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
-
mkindahl@dl145h.mysql.com authored
into dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
-
mkindahl@dl145h.mysql.com authored
into dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
-
- 18 Feb, 2008 2 commits
-
-
sven@riska.(none) authored
-
mkindahl@dl145h.mysql.com authored
-
- 15 Feb, 2008 9 commits
-
-
mkindahl@dl145h.mysql.com authored
into dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl
-
mkindahl@dl145h.mysql.com authored
into dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
-
sven@riska.(none) authored
into riska.(none):/home/sven/bktip/5.1-new-rpl
-
sven@riska.(none) authored
t/variables.test fails on embedded server. Moved out that part again, to a new test called t/variables-notembedded.test.
-
mats@kindahl-laptop.dnsalias.net authored
into kindahl-laptop.dnsalias.net:/home/bk/b34458-mysql-5.1-rpl
-
mats@kindahl-laptop.dnsalias.net authored
Patch to remove white-space left over after removing anonymous namespace.
-
mats@kindahl-laptop.dnsalias.net authored
Replacing a template function with a normal static function. The template parameter, which previously was the class to find a binlogging function in, is now passed as a pointer to the actual binlogging function instead. The patch requires change of indention, but that is submitted as a separate patch.
-
bar@bar.myoffice.izhnet.ru authored
into mysql.com:/home/bar/mysql-work/mysql-5.1.b27877
-
mkindahl@dl145h.mysql.com authored
failing on heavily loaded systems.
-
- 14 Feb, 2008 5 commits
-
-
aelkin/andrei@mysql1000.dsl.inet.fi authored
into mysql1000.dsl.inet.fi:/home/andrei/MySQL/MERGE/5.0-bug33931-assert_write_ignored_ev_when_init_slave_fails
-
aelkin/andrei@mysql1000.dsl.inet.fi authored
changes for an assert and an updated results file.
-
aelkin/andrei@mysql1000.dsl.inet.fi authored
into mysql1000.dsl.inet.fi:/home/andrei/MySQL/MERGE/5.0-bug33931-assert_write_ignored_ev_when_init_slave_fails
-
mkindahl@dl145h.mysql.com authored
-
mkindahl@dl145h.mysql.com authored
BUG#24387, which is closed since long.
-
- 13 Feb, 2008 9 commits
-
-
tomas@poseidon.bredbandsbolaget.se authored
-
tomas@poseidon.bredbandsbolaget.se authored
-
tomas@poseidon.bredbandsbolaget.se authored
into poseidon.bredbandsbolaget.se:/home/tomas/mysql-5.1-new-ndb-merge
-
tomas@poseidon.bredbandsbolaget.se authored
-
sven@riska.(none) authored
This is *not* a fix to the bug. I'm only disabling the failing part of mysqldump.test until the bug is fixed. Whoever fixes it, please re-enable the test.
-
aelkin/andrei@mysql1000.dsl.inet.fi authored
and bug#33932 assertion at handle_slave_sql if init_slave_thread() fails the asserts were caused by bug33931: having thd deleted at time of executing err: code plus a missed initialization; bug33932: initialization of slave_is_running member was missed; fixed with relocating mi members initialization and removing delete thd It is safe to do as deletion happens later explicitly in the caller of init_slave_thread(). Todo: at merging the test is better to be moved into suite/bugs for 5.x (when x>0).
-
mkindahl@dl145h.mysql.com authored
-
tomas@poseidon.ndb.mysql.com authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
-
mkindahl@dl145h.mysql.com authored
irrelevant to execute since the charset information does not affect replication for row-based replication. The row-based versions of the tests were removed, and the statement-based version of the test was made executable by all three modes. This involves removing any lines that causes the test to be dependent on the contents of the binary log, and instead we just check that the replication works as it should.
-