Commit graph

49400 commits

Author SHA1 Message Date
jonas@perch.ndb.mysql.com
0bf788057d ndb - post merge fixes 2007-10-08 16:10:41 +02:00
jonas@perch.ndb.mysql.com
64d1097707 Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-10-08 16:05:31 +02:00
jonas@perch.ndb.mysql.com
67da3a6438 ndb - fix dd drop table race condition
add list of pages being unmaped, so we can wait for it to be empty before dropping extents
2007-10-08 16:02:21 +02:00
jonas@perch.ndb.mysql.com
48847b3604 ndb - Fix disk scan (backup)
(introduced by only updating extent pages after pageout)
2007-10-08 16:00:18 +02:00
jonas@perch.ndb.mysql.com
dac3eb008e ndb - remove extra ;
(in test framework)
2007-10-08 15:58:08 +02:00
jonas@perch.ndb.mysql.com
9a5ae909d6 ndb - bug#31257
handle partially complete LCP better in SR
2007-10-08 15:57:01 +02:00
jonas@perch.ndb.mysql.com
edf125a54d ndb - bug#30975 (recommit to 51-telco-gca)
- only update extent pages *after* flush of real page has been done
    - sync both create/drop of table into undolog (for disk tables)
2007-10-08 15:53:29 +02:00
jonas@perch.ndb.mysql.com
3cd048fce8 Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-10-08 15:22:25 +02:00
jonas@perch.ndb.mysql.com
2583dae031 ndb - Set usable timeout for atrt
(problem introduced by stew's timeout handling)
2007-10-08 15:11:47 +02:00
jonas@perch.ndb.mysql.com
2890430e44 ndb - fix bug in old test prg(s)
fix SR1 and SR2
2007-10-08 15:07:58 +02:00
pekka@sama.ndb.mysql.com
c1fbd513c4 ndb - wl#29390 post-merge 5.0 to 5.1 2007-10-04 19:46:01 +02:00
pekka@sama.ndb.mysql.com
3dea240a6c Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb
into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-bug29390
2007-10-04 18:37:49 +02:00
pekka@sama.ndb.mysql.com
82da7623d4 ndb - bug#29390: if ScanFilter is too large, abort or optionally discard it 2007-10-04 11:32:49 +02:00
mskold/marty@linux.site
ddde5e9fca Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
2007-10-03 10:10:00 +02:00
mskold/marty@mysql.com/linux.site
c91d8068d1 Bug#25817 UPDATE IGNORE doesn't check write_set when checking unique indexes: Post merge 5.0->5.1 2007-10-03 09:54:33 +02:00
mskold/marty@mysql.com/linux.site
94e7bf9f4b Removed tabs 2007-10-03 09:29:10 +02:00
stewart@flamingspork.com[stewart]
1b4b234748 [PATCH] BUG#29509 ndb_mgm help needs to list the -a option for DN restart
Index: ndb/storage/ndb/src/mgmclient/CommandInterpreter.cpp
===================================================================
2007-10-03 17:26:17 +10:00
stewart@flamingspork.com[stewart]
a43fa8e500 [PATCH] BUG#25064 make formatting of key=value consistent in getTextTransReportCounters
Index: ndb/storage/ndb/src/common/debugger/EventLogger.cpp
===================================================================
2007-10-03 17:26:03 +10:00
stewart@flamingspork.com[stewart]
5415286db8 [PATCH] BUG#25064 Remove newlines from cluster log
Index: ndb/storage/ndb/src/common/debugger/EventLogger.cpp
===================================================================
2007-10-03 17:25:46 +10:00
stewart@willster.(none)
766e0694f4 Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-merge
into  willster.(none):/home/stewart/Documents/MySQL/5.1/ndb-merge
2007-10-03 16:41:05 +10:00
stewart@flamingspork.com[stewart]
87359889f3 [PATCH] BUG#29565 managment server can log entries multiple times after mgmd restart
Close the event log on shutdown of mgmd (in stopEventLog())

Index: ndb-work/ndb/src/mgmsrv/MgmtSrvr.cpp
===================================================================
2007-10-03 16:16:48 +10:00
jmiller/root@ndbqa01.mysql.com
7e7413e6b6 Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
into  mysql.com:/usr/clones/mysql-5.1-new-ndb
2007-10-02 18:49:40 -05:00
mskold/marty@linux.site
a26772ca21 Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
2007-10-02 14:23:59 +02:00
mskold/marty@mysql.com/linux.site
403f0afc29 Bug#25817 UPDATE IGNORE doesn't check write_set when checking unique indexes: Added checks 2007-10-02 13:36:13 +02:00
tomas@whalegate.ndb.mysql.com
63c7a66d28 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2007-10-02 11:40:26 +02:00
tomas@whalegate.ndb.mysql.com
132dba0020 Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-target-5.1.22
into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2007-10-02 11:38:14 +02:00
tomas@whalegate.ndb.mysql.com
0c4b410dae Merge mysqldev@production.mysql.com:my/mysql-5.1-release
into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-target-5.1.22
2007-10-02 11:36:17 +02:00
stewart@willster.(none)
f5a6461e47 Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb
into  willster.(none):/home/stewart/Documents/MySQL/5.1/ndb
2007-10-01 14:35:22 +10:00
stewart@willster.(none)
f72c7d0108 remove debug printout 2007-10-01 14:32:22 +10:00
jonas@perch.ndb.mysql.com
40c83d3285 ndb - bug#30975
add even more tests
2007-09-29 11:10:12 +02:00
tomas@whalegate.ndb.mysql.com
a79f15e0f9 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2007-09-28 18:39:58 +02:00
jonas@perch.ndb.mysql.com
e4ca466106 post merge 2007-09-28 10:22:54 +02:00
jonas@perch.ndb.mysql.com
a937ab0abf Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
2007-09-28 10:14:05 +02:00
jonas@perch.ndb.mysql.com
b62d7a318e ndb - add new testcases/error insert bug#30975
(recommit for correct merge order)
2007-09-28 09:58:56 +02:00
tomas@whalegate.ndb.mysql.com
db5771557c Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2007-09-27 19:11:47 +02:00
mikael@dator6.(none)
b22826fee1 Merge dator6.(none):/home/mikael/mysql_clones/mysql-5.1-ndb
into  dator6.(none):/home/mikael/mysql_clones/bug30996
2007-09-25 13:38:49 +02:00
stewart@willster.(none)
5a67e7ebd6 ndb_rand.c:
Rename: ndb/src/common/util/ndb_rand.c -> storage/ndb/src/common/util/ndb_rand.c
ndb_rand.h:
  Rename: ndb/include/util/ndb_rand.h -> storage/ndb/include/util/ndb_rand.h
2007-09-25 12:16:39 +02:00
stewart@willster.(none)
efba75522e Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb
into  willster.(none):/home/stewart/Documents/MySQL/5.1/ndb
2007-09-25 12:05:32 +02:00
stewart@flamingspork.com[stewart]
33412d2b8e [PATCH] BUG#30379 Better randomise time before retry in timeout check (DBTC)
timoOutLoopStartLab() checks if any transactions have been delayed
for so long that we are forced to perform some action (e.g. abort,
resend etc).

It is *MEANT* to (according to the comment):
> To avoid aborting both transactions in a deadlock detected by time-out
> we insert a random extra time-out of upto 630 ms by using the lowest
> six bits of the api connect reference.
> We spread it out from 0 to 630 ms if base time-out is larger than 3 sec,
> we spread it out from 0 to 70 ms if base time-out is smaller than 300 msec,
> and otherwise we spread it out 310 ms.

The comment (as all do) lies.

the API connect reference is not very random, producing incredibly
predictable "random" numbers. This could lead to both txns being
aborted instead of just one.

Before:
timeout value: 123 3
timeout value: 122 2
timeout value: 122 2
timeout value: 122 2
timeout value: 123 3

After:
timeout value: 127 7
timeout value: 126 6
timeout value: 129 9
timeout value: 139 19
timeout value: 137 17
timeout value: 151 31
timeout value: 130 10
timeout value: 132 12

Index: ndb-work/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
===================================================================
2007-09-25 12:01:23 +02:00
mikael@dator6.(none)
c134b5a313 Merge dator6.(none):/home/mikael/mysql_clones/mysql-5.1-ndb
into  dator6.(none):/home/mikael/mysql_clones/bug30996
2007-09-25 11:50:58 +02:00
mats@kindahl-laptop.dnsalias.net
983de3e27c Merge kindahl-laptop.dnsalias.net:/home/bk/b31076-mysql-5.1-rpl
into  kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-release
2007-09-24 10:53:41 +02:00
mats@kindahl-laptop.dnsalias.net
b2f5b2e83d BUG#31076 (Server crashes when start slave is issued):
Second patch to initailize more uninitialized variables.
2007-09-24 10:50:57 +02:00
mats@kindahl-laptop.dnsalias.net
8aa3bb0418 Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-release
into  kindahl-laptop.dnsalias.net:/home/bk/b31076-mysql-5.1-release
2007-09-20 16:38:36 +02:00
mats@kindahl-laptop.dnsalias.net
c5622b424f BUG#31076 (Server crashes when start slave is issued):
Row-based replication crashes when replicating from pre-5.1.22 to 5.1.22
due to an uninitialized variable.
2007-09-20 16:31:05 +02:00
jmiller/ndbdev@mysql.com/ndb15.mysql.com
10ed82f878 NDBT_Thread.cpp:
Removed semicolon causing build syntax issues per pekka
2007-09-19 11:20:30 +02:00
mikael@dator6.(none)
f09169670b Fixed ndbcluster_rollback 2007-09-15 23:33:04 +02:00
gkodinov/kgeorge@magare.gmz
dc02820236 Bug #31001: ORDER BY DESC in InnoDB not working
The optimizer sets index traversal in reverse order only if there are 
used key parts that are not compared to a constant.
However using the primary key as an ORDER BY suffix rendered the check
incomplete : going in reverse order must still be used even if 
all the parts of the secondary key are compared to a constant.

Fixed by relaxing the check and set reverse traversal even when all
the secondary index keyparts are compared to a const.
Also account for the case when all the primary keys are compared to a
constant.
2007-09-14 18:20:17 +03:00
tomas@whalegate.ndb.mysql.com
83cc4e8d2e Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-target-5.1.22
into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2007-09-14 11:52:59 +02:00
tomas@whalegate.ndb.mysql.com
54adc4ee80 Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
2007-09-14 11:04:24 +02:00
joerg@trift2.
c66df1c169 scripts/mysqld_safe.sh
Copy a fix by jperkin for bug#30624 into the 5.1.22 build tree.
2007-09-14 00:59:22 +02:00