aelkin/elkin@koti.dsl.inet.fi
d8d6db6f78
Bug#31552 Replication breaks when deleting rows from out-of-sync table
...
without PK
Bug#31609 Not all RBR slave errors reported as errors
bug#32468 delete rows event on a table with foreign key constraint fails
The first two bugs comprise idempotency issues.
First, there was no error code reported under conditions of the bug
description although the slave sql thread halted.
Second, executions were different with and without presence of prim key in
the table.
Third, there was no way to instruct the slave whether to ignore an error
and skip to the following event or to halt.
Fourth, there are handler errors which might happen due to idempotent
applying of binlog but those were not listed among the "idempotent" error
list.
All the named issues are addressed.
Wrt to the 3rd, there is the new global system variable, changeble at run
time, which controls the slave sql thread behaviour.
The new variable allows further extensions to mimic the sql_mode
session/global variable.
To address the 4th, the new bug#32468 had to be fixed as it was staying
in the way.
2007-12-12 12:14:59 +02:00
hezx@hezx.(none)
81f04074ca
Merge hezx.(none):/media/hda5/work/mysql/bkwork/bug#30998/mysql-5.0-rpl
...
into hezx.(none):/media/hda5/work/mysql/bkwork/bug#30998/merge-mysql-5.1-new-rpl
2007-12-12 15:43:52 +08:00
hezx@hezx.(none)
90bb675975
Merge hezx.(none):/media/hda5/work/mysql/bkroot/mysql-5.1-new-rpl
...
into hezx.(none):/media/hda5/work/mysql/bkwork/bug#30998/5.1
2007-12-12 15:02:28 +08:00
kostja@bodhi.(none)
685f114368
Merge bodhi.(none):/opt/local/work/mysql-5.0-runtime
...
into bodhi.(none):/opt/local/work/mysql-5.1-runtime
2007-12-12 06:05:14 +03:00
kostja@bodhi.(none)
90ce3a011e
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into bodhi.(none):/opt/local/work/mysql-5.1-runtime
2007-12-12 06:04:21 +03:00
kostja@bodhi.(none)
4c83efbb95
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into bodhi.(none):/opt/local/work/mysql-5.0-runtime
2007-12-12 06:00:10 +03:00
istruewing@stella.local
94c74110d9
Merge stella.local:/home2/mydev/mysql-5.0-axmrg
...
into stella.local:/home2/mydev/mysql-5.1-axmrg
2007-12-11 23:59:16 +01:00
istruewing@stella.local
a7c4af78dc
Merge stella.local:/home2/mydev/mysql-5.1-amain
...
into stella.local:/home2/mydev/mysql-5.1-axmrg
2007-12-11 23:58:38 +01:00
istruewing@stella.local
9b0ab3fc0f
Merge stella.local:/home2/mydev/mysql-5.1-ateam
...
into stella.local:/home2/mydev/mysql-5.1-axmrg
2007-12-11 23:57:57 +01:00
dkatz@damien-katzs-computer.local
4abafe2617
Bug #30651 Problems with thread_handling system variable
...
Changed thread_handling variable to a global only, read only variable, as it is currently used.
2007-12-11 17:30:42 -05:00
istruewing@stella.local
fb93ba7a08
Merge stella.local:/home2/mydev/mysql-5.0-amain
...
into stella.local:/home2/mydev/mysql-5.0-axmrg
2007-12-11 23:18:14 +01:00
tomas@whalegate.ndb.mysql.com
0a76bfab51
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/cge-5.1
2007-12-11 22:22:05 +01:00
istruewing@stella.local
34b317c883
Merge stella.local:/home2/mydev/mysql-5.0-axmrg
...
into stella.local:/home2/mydev/mysql-5.1-axmrg
2007-12-11 21:38:50 +01:00
istruewing@stella.local
65fda831ce
Merge stella.local:/home2/mydev/mysql-5.1-bug30273
...
into stella.local:/home2/mydev/mysql-5.1-axmrg
2007-12-11 21:38:08 +01:00
istruewing@stella.local
03d99c5956
Merge stella.local:/home2/mydev/mysql-5.1-amain
...
into stella.local:/home2/mydev/mysql-5.1-axmrg
2007-12-11 21:37:33 +01:00
tomas@whalegate.ndb.mysql.com
2a01585422
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1
...
into whalegate.ndb.mysql.com:/home/tomas/cge-5.1
2007-12-11 21:02:29 +01:00
tomas@whalegate.ndb.mysql.com
faaac96f98
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
2007-12-11 20:59:24 +01:00
tomas@whalegate.ndb.mysql.com
5e9c092c5d
move randomly failing tests to ndb_team suite
2007-12-11 19:57:26 +01:00
tomas@whalegate.ndb.mysql.com
8819e1733d
add capability to run certain testsuites optionally depending on name of clone
2007-12-11 19:52:35 +01:00
tomas@whalegate.ndb.mysql.com
fe46b09e3e
remove memleak cased by dynamic variables being lost
2007-12-11 19:51:44 +01:00
df@pippilotta.erinye.com
bcb3c304ff
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1
2007-12-11 17:41:11 +01:00
df@pippilotta.erinye.com
de716f1f86
No we're still at 5.0.54.
2007-12-11 17:38:49 +01:00
istruewing@stella.local
ba2d58ae5e
Merge stella.local:/home2/mydev/mysql-5.0-amain
...
into stella.local:/home2/mydev/mysql-5.0-axmrg
2007-12-11 17:09:43 +01:00
tomas@whalegate.ndb.mysql.com
ddc2ee655f
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/cge-5.1
2007-12-11 16:08:52 +01:00
tomas@whalegate.ndb.mysql.com
824d17ba77
bug#33142: access after free() for blob replication and online alter table
2007-12-11 16:04:33 +01:00
istruewing@stella.local
55aa6376f1
Bug#30273 - merge tables: Can't lock file (errno: 155)
...
The patch for Bug 26379 (Combination of FLUSH TABLE and
REPAIR TABLE corrupts a MERGE table) fixed this bug too.
However it revealed a new bug that crashed the server.
Flushing a merge table at the moment when it is between open
and attach of children crashed the server.
The flushing thread wants to abort locks on the flushed table.
It calls ha_myisammrg::lock_count() and ha_myisammrg::store_lock()
on the TABLE object of the other thread.
Changed ha_myisammrg::lock_count() and ha_myisammrg::store_lock()
to accept non-attached children. ha_myisammrg::lock_count() returns
the number of MyISAM tables in the MERGE table so that the memory
allocation done by get_lock_data() is done correctly, even if the
children become attached before ha_myisammrg::store_lock() is
called. ha_myisammrg::store_lock() will not return any lock if the
children are not attached.
This is however a change in the handler interface. lock_count()
can now return a higher number than store_lock() stores locks.
This is more safe than the reverse implementation would be.
get_lock_data() in the SQL layer is adjusted accordingly. It sets
MYSQL_LOCK::lock_count based on the number of locks returned by
the handler::store_lock() calls, not based on the numbers returned
by the handler::lock_count() calls. The latter are only used for
allocation of memory now.
No test case. The test suite cannot reliably run FLUSH between
lock_count() and store_lock() of another thread. The bug report
contains a program that can repeat the problem with some
probability.
2007-12-11 15:32:10 +01:00
tomas@whalegate.ndb.mysql.com
2477f7acb6
compile error fix for osx
2007-12-11 15:19:37 +01:00
tomas@whalegate.ndb.mysql.com
48c509a2aa
bug#32759 already fixed
2007-12-11 15:08:00 +01:00
mskold/marty@quadfish.(none)
a452347893
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
...
into mysql.com:/home/marty/MySQL/mysql-5.1-new-ndb
2007-12-11 11:54:46 +01:00
mskold/marty@mysql.com/quadfish.(none)
4f8101c863
Enabled test rpl_ndb_ddl
2007-12-11 11:51:14 +01:00
tomas@whalegate.ndb.mysql.com
e56c24d45f
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
...
into whalegate.ndb.mysql.com:/home/tomas/cge-5.1
2007-12-11 11:43:12 +01:00
tomas@whalegate.ndb.mysql.com
9a189642e7
remoce compiler warnings
2007-12-11 11:41:19 +01:00
mattiasj@witty.
749ded6feb
Merge witty.:/Users/mattiasj/clones/mysql-5.1-bug32948
...
into witty.:/Users/mattiasj/clones/51_push32948
2007-12-11 11:15:30 +01:00
hezx@hezx.(none)
a85e8a3f21
Merge hezx.(none):/media/hda5/work/mysql/bkroot/mysql-5.0-rpl
...
into hezx.(none):/media/hda5/work/mysql/bkwork/bug#30998/5.0
2007-12-11 17:34:37 +08:00
thek@adventure.(none)
8651e9dddf
Merge adventure.(none):/home/thek/Development/cpp/mysql-5.0-runtime
...
into adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
2007-12-10 16:47:45 +01:00
thek@adventure.(none)
7be4b6b5f4
Test fails because of non deterministric function: show grants for current_user()
2007-12-10 16:16:21 +01:00
tomas@whalegate.ndb.mysql.com
57c890d501
Merge whalegate.ndb.mysql.com:/home/tomas/cge-5.1
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
2007-12-10 13:32:19 +01:00
tomas@whalegate.ndb.mysql.com
4740565ebb
backport test for bug#30674
...
(bug not present in 5.1)
2007-12-10 13:29:23 +01:00
df@pippilotta.erinye.com
ffa270d616
after-merge fix
2007-12-10 12:21:02 +01:00
thek@adventure.(none)
0f1665da3c
Merge adventure.(none):/home/thek/Development/cpp/bug27440/my50-bug27440
...
into adventure.(none):/home/thek/Development/cpp/mysql-5.0-runtime
2007-12-10 12:19:48 +01:00
df@pippilotta.erinye.com
42945c7726
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build
2007-12-10 12:16:41 +01:00
thek@adventure.(none)
dfda7855f4
Merge adventure.(none):/home/thek/Development/cpp/bug27440/my51-bug27440
...
into adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
2007-12-10 12:14:52 +01:00
df@pippilotta.erinye.com
a079cb9f49
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-release
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
2007-12-10 12:02:02 +01:00
df@pippilotta.erinye.com
9455fafe1b
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build
2007-12-10 10:53:44 +01:00
df@pippilotta.erinye.com
efd74cb680
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-4.1-build
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
2007-12-10 10:52:05 +01:00
df@pippilotta.erinye.com
3f79b0f108
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build
2007-12-10 10:46:00 +01:00
df@pippilotta.erinye.com
45c93a5866
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
2007-12-10 10:42:58 +01:00
df@pippilotta.erinye.com
353cd3300a
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-4.1
...
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-4.1-build
2007-12-10 10:41:34 +01:00
tomas@whalegate.ndb.mysql.com
53dabdd38c
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
2007-12-10 10:35:03 +01:00
tomas@whalegate.ndb.mysql.com
541db60153
Merge whalegate.ndb.mysql.com:/home/tomas/cge-5.1
...
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
2007-12-10 10:32:21 +01:00