Commit graph

29303 commits

Author SHA1 Message Date
jonas@perch.ndb.mysql.com
0e410aa1b3 Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into  perch.ndb.mysql.com:/home/jonas/src/50-work
2006-04-05 11:21:36 +02:00
jonas@perch.ndb.mysql.com
2abc5e2f77 ndb -
fix testprogam if only 1 node group
2006-04-03 20:43:14 +02:00
jonas@perch.ndb.mysql.com
274e35c4d6 ndb -
Fix compile error...when compiling debug
2006-04-03 13:12:23 +02:00
jonas@perch.ndb.mysql.com
7109c84c16 ndb - bug#18612 - partitioned startup
add testprg for SR case aswell
2006-04-03 12:09:50 +02:00
jonas@perch.ndb.mysql.com
1aa9a95065 ndb - bug#18612
post weeked fixes :-)
  change impl. to use READ_NODESREQ to query state of other qmgr(partition)
    this as it has no (current) side effects, so that it's possible only to kill
    starting cluster (if one started and one starting)
2006-04-03 11:26:29 +02:00
jonas@perch.ndb.mysql.com
d367f635e9 ndb - autotest
add new testpgrom for bug#18612 to autotest
2006-03-31 18:53:07 +02:00
jonas@perch.ndb.mysql.com
bde890effd ndb - bug#18612 (detection of partitioned cluster)
this also impl. gcp safe multi node shutdown
  1) block gcp
  2) wait for ongoing gcp
  3) inform all stopping QMGR's (so that they don't start with error handler)
  4) wait for all QMGR's to reply
  5) broadcast failrep for stopping nodes
  6) (if !master died) unblock gcp
2006-03-31 16:46:28 +02:00
jonas@perch.ndb.mysql.com
6780538b26 ndb - add support for blocking/unblocking GCP using WAIT_GCP_REQ 2006-03-31 16:36:43 +02:00
jonas@perch.ndb.mysql.com
96075f47f6 ndb - bug#16447
correct return value in check_cm_cmregreq
2006-03-31 11:39:35 +02:00
jonas@perch.ndb.mysql.com
aa43e56b11 ndb - bug#15695 bug#16447 bug#18612
For various reasone have a partitioned cluster been created
  This patch makes sure that when they connect
  1) it's detected
  2) shutdown is forced
2006-03-30 14:20:54 +02:00
jonas@perch.ndb.mysql.com
4e819b7377 ndb - bug#17729 bug#18406
Ndbapi can reorder recattr when doing sorted scan (for faster comparision)
    make sure handler maps correct recattr to correct mysql column
2006-03-28 14:38:16 +02:00
jonas@perch.ndb.mysql.com
7f71a8ebab Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into  perch.ndb.mysql.com:/home/jonas/src/50-work
2006-03-27 10:21:52 +02:00
jonas@perch.ndb.mysql.com
a3b51fda9f ndb - autotest
Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert()
    Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args)
2006-03-27 10:18:48 +02:00
jonas@perch.ndb.mysql.com
ca733d4e8a Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into  perch.ndb.mysql.com:/home/jonas/src/50-work
2006-03-23 15:47:01 +01:00
jonas@perch.ndb.mysql.com
82925040bc ndb -
remove bug#18385 from autotest as it only works on 2 node clusters
2006-03-23 15:33:40 +01:00
jonas@perch.ndb.mysql.com
705b741ab5 ndb -
minor fixes in test programs
2006-03-23 11:53:54 +01:00
jonas@perch.ndb.mysql.com
a9d67fdedc ndb -
post merge fixes
2006-03-22 15:46:51 +01:00
jonas@perch.ndb.mysql.com
612e220115 Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into  perch.ndb.mysql.com:/home/jonas/src/50-work
2006-03-22 15:24:32 +01:00
jonas@perch.ndb.mysql.com
0afd03f4fc ndb -
fix obscure error lookup
2006-03-22 15:09:52 +01:00
jonas@perch.ndb.mysql.com
f835cc6a54 ndb -
Add per partition info (optionally to ndb_desc)
2006-03-22 15:06:44 +01:00
jonas@perch.ndb.mysql.com
c0597ff61f ndb - autotest
Update makefile for removed files
2006-03-22 13:38:03 +01:00
jonas@perch.ndb.mysql.com
7e654ee847 ndb -
some more ndb-autotest updates (previously uncommitted...but in use)
2006-03-22 12:18:07 +01:00
jonas@perch.ndb.mysql.com
8b9c724121 ndb -
minor update to ndb-autotest.sh and config files
2006-03-22 12:11:51 +01:00
jonas@perch.ndb.mysql.com
659933a2c3 ndb - bug#18414
Fix timeout during ABORT when ZABORT_TIMEOUT_BREAK is outstanding
2006-03-22 11:44:31 +01:00
jonas@perch.ndb.mysql.com
832e3f23e1 ndb - bug#18118
timeslice DUMP(7015)
2006-03-21 15:13:41 +01:00
jonas@perch.ndb.mysql.com
90bd36e299 ndb - bug#18385
Partial system restart, can not try to start with higher GCI that own
  even if knowing about a higher number
2006-03-21 14:47:10 +01:00
jonas@perch.ndb.mysql.com
a14b88d533 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-wl2610
into  perch.ndb.mysql.com:/home/jonas/src/41-work
2006-03-20 18:30:29 +01:00
jonas@perch.ndb.mysql.com
1d607e268a ndb - bug#18352
remove debug prinout
2006-03-20 14:55:14 +01:00
jonas@perch.ndb.mysql.com
b804669376 ndb - wl2610, bug#18352
Remove useless and tricky state fiddleing in TC
    to syncronize NF_CompleteRep as code is already present in DIH aswell
  Keep broadcast of TAKEOVER_TCCONF for online upgrade
2006-03-20 14:53:29 +01:00
jonas@perch.ndb.mysql.com
c45b862c5e ndb - bug#18352
Use variable waitfor_response_timeout (depending on TransactionDeadLockTimeout)
  When getting 4012, set NeedAbort and ReleaseOnClose
2006-03-20 14:49:46 +01:00
jonas@perch.ndb.mysql.com
dabd3e8ffa ndb - wl2610
Activly abort transactions (that's affected) during NF
  This removes a lot of bugs that can occur otherwise is using
    high value for TransactionDeadLockTimout
2006-03-20 11:29:58 +01:00
jonas@perch.ndb.mysql.com
b14ed530ca ndb - bug#16772
dont't allow node to join cluster until all nodes has completed failure handling
2006-03-17 10:55:02 +01:00
elliot@mysql.com
56fca811bb BUG#18283 When InnoDB returns error 'lock table full', MySQL can write
to binlog too much.

When InnoDB has to rollback a transaction because the lock table has
filled up, it also needs to inform the upper layer that the transaction
was rolled back so that the cached transaction is not written to the
binary log.
2006-03-17 10:25:29 +01:00
jonas@perch.ndb.mysql.com
5fbb1fb4c5 ndb - bug#18298
8 repeated nr with table wo/ logging cause crash
  Dont create crashed replica for temporary tables
2006-03-17 10:09:35 +01:00
knielsen@mysql.com
d75abf873e Fix bug in mysql-test-run.pl in ^C signal handler. 2006-03-16 11:21:18 +01:00
jonas@perch.ndb.mysql.com
059b05cbbf Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
2006-03-14 19:33:29 +01:00
evgen@sunlight.local
a152cac2e7 sql_select.cc:
Afterfix for bug#17366: Unchecked Item_int results in server crash
2006-03-14 18:49:37 +03:00
evgen@sunlight.local
5866eb948a Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0
into sunlight.local:/work_local/17336-bug-5.0-mysql
2006-03-14 15:33:13 +03:00
evgen@sunlight.local
af660df0ef Fixed bug#17366: Unchecked Item_int results in server crash
When there is conjunction of conds, the substitute_for_best_equal_field()
will call the eliminate_item_equal() function in loop to build final
expression. But if eliminate_item_equal() finds that some cond will always
evaluate to 0, then that cond will be substituted by Item_int with value ==
0. In this case on the next iteration eliminate_item_equal() will get that 
Item_int and treat it as Item_cond. This is leads to memory corruption and
server crash on cleanup phase.

To the eliminate_item_equal() function was added DBUG_ASSERT for checking
that all items treaten as Item_cond are really Item_cond.
The substitute_for_best_equal_field() now checks that if
eliminate_item_equal() returns Item_int and it's value is 0 then this 
value is returned as the result of whole conjunction.
2006-03-13 21:11:15 +03:00
jonas@perch.ndb.mysql.com
819b629c30 Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
2006-03-13 14:44:36 +01:00
jonas@perch.ndb.mysql.com
b77bf0906b Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
2006-03-13 14:43:58 +01:00
jonas@perch.ndb.mysql.com
0be6fc3d91 Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into  perch.ndb.mysql.com:/home/jonas/src/50-work
2006-03-13 14:43:30 +01:00
jonas@perch.ndb.mysql.com
754989c602 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
2006-03-13 14:43:07 +01:00
jonas@perch.ndb.mysql.com
fa2263f4a6 bug#14028 -
ndb crash if trigger record get to big, fix incorrect max size of trigger record
2006-03-13 14:42:16 +01:00
jonas@perch.ndb.mysql.com
18013bbb94 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
2006-03-13 14:40:32 +01:00
jonas@perch.ndb.mysql.com
47fb7a3b6a bug#14028 -
ndb crash if trigger record get to big, fix incorrect max size of trigger record
2006-03-13 14:38:12 +01:00
msvensson@shellback.(none)
c13ae49342 Merge shellback.(none):/home/msvensson/mysql/init_rm/my50-init_rm
into  shellback.(none):/home/msvensson/mysql/mysql-5.0
2006-03-13 11:31:15 +01:00
msvensson@shellback.(none)
2628ebe89f Remove printouts 2006-03-13 11:06:14 +01:00
msvensson@shellback.(none)
b32f1367fe Make mysql-test-run.pl restore the db(s) to a known state before continuing after test case failure 2006-03-13 10:30:36 +01:00
aelkin@mysql.com
659710e29c Merge mysql.com:/usr_rh9/home/elkin.rh9/MySQL/BARE/5.0
into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/FIXES/5.0.20-bug15101-sysdate
2006-03-11 10:47:25 +02:00