Commit graph

20260 commits

Author SHA1 Message Date
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
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
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
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
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
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
ingo@mysql.com
ac287ad34d Merge mysql.com:/home/mydev/mysql-4.1
into  mysql.com:/home/mydev/mysql-4.1-bug14980
2006-03-10 22:32:37 +01:00
ingo@mysql.com
d0c6eb885d Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX
For "count(*) while index_column = value" an index read
is done. It consists of an index scan and retrieval of
each key.

For efficiency reasons the index scan stores the key in
the special buffer 'lastkey2' once only. At the first 
iteration it notes this fact with the flag 
HA_STATE_RNEXT_SAME in 'info->update'.

For efficiency reasons, the key retrieval for blobs
does not allocate a new buffer, but uses 'lastkey2'...

Now I clear the HA_STATE_RNEXT_SAME flag whenever the 
buffer has been polluted. In this case, the index scan
copies the key value again (and sets the flag again).
2006-03-10 15:03:04 +01:00
joerg@mysql.com
e60e9184c7 Merge mysql.com:/M41/comment-4.1 into mysql.com:/M41/mysql-4.1 2006-03-10 11:37:28 +01:00
jonas@perch.ndb.mysql.com
121b8d3764 bug#18040 - ndb online index build
(not possible from SQL in 4.1 & 5.0)
2006-03-09 11:10:24 +01:00
kent@mysql.com
e32054e4a7 mysql-test-run.pl, mtr_cases.pl
- Back porting of some changes in later releases
  - Corrected valgrind support
  - Removed work around for TZ needed in VisualStudio 6
  - Don't restart master to add special settings from "<testcase>-master.opt",
    if same settngs as running master, feature request in bug#12433
  - With --reorder, keep tests with same *-master.opt content together,
    to save even more master restarts
2006-03-08 19:15:56 +01:00
msvensson@neptunus.(none)
72f509e228 Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
into  neptunus.(none):/home/msvensson/mysql/bug17137/my41-bug17137
2006-03-08 11:20:12 +01:00
msvensson@neptunus.(none)
8162610a39 Bug#17137 Running "truncate table" on temporary table leaves the table open on a slave
- Decrease "slave_open_temp_tables" during reopen of truncated table.
 - Add test "rpl_trunc_temp"
2006-03-08 10:15:48 +01:00
kent@mysql.com
64ed7f1481 mysql-test-run.pl:
Allow space in base directory path, bug#15736
2006-03-08 03:51:59 +01:00
serg@serg.mylan
e7504b3468 merged 2006-03-06 18:34:38 +01:00
serg@serg.mylan
0b2f4ac3be kill (subquery) - three years old bugfix that never worked 2006-03-06 18:26:39 +01:00
bar@mysql.com
e019d60536 Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into  mysql.com:/usr/home/bar/mysql-4.1.b15949
2006-03-06 14:50:34 +04:00
gluh@eagle.intranet.mysql.r18.ru
f1eaf7e8ec Fix for bug#14385 GRANT and mapping to correct user account problems
Check if the host of table hash record exactly matches host from GRANT command
2006-03-06 14:03:40 +04:00
konstantin@mysql.com
2ea0b9b72c Revert the changeset for Bug#16144 "mysql_stmt_attr_get type error":
it breaks binary compatibility. The patch will be left intact
in 5.1.
2006-03-05 00:38:54 +03:00
konstantin@mysql.com
40b368af16 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into  mysql.com:/opt/local/work/mysql-4.1-root
2006-03-04 22:33:19 +03:00
ingo@mysql.com
c5a638cee0 Merge mysql.com:/home/mydev/mysql-4.1
into  mysql.com:/home/mydev/mysql-4.1-bug11527
2006-03-04 14:06:52 +01:00
paul@snake-hub.snake.net
a690cbf326 Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-4.1
2006-03-03 14:50:41 -06:00
paul@snake-hub.snake.net
f3c7e2d3ed mysqltest.c:
Better fix for do_sleep().
2006-03-03 13:57:49 -06:00
ramil@mysql.com
1301484679 Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
into  mysql.com:/usr/home/ram/work/4.1.b13659
2006-03-03 09:34:40 +04:00
joerg@mysql.com
99e2d7f1fe Merge mysql.com:/M40/comment-4.0 into mysql.com:/M41/comment-4.1 2006-03-02 18:15:42 +01:00
joerg@mysql.com
6838660267 Merge mysql.com:/M40/mysql-4.0 into mysql.com:/M41/merge-4.1 2006-03-02 10:48:46 +01:00
paul@snake-hub.snake.net
fc7ca83a90 Merge snake-hub.snake.net:/src/extern/MySQL/bk/mysql-4.1
into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-4.1-r1.2478
2006-03-01 18:51:33 -06:00
paul@snake-hub.snake.net
26caa52c01 Merge snake-hub.snake.net:/src/extern/MySQL/bk/mysql-4.0
into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-4.0-r1.2173
2006-03-01 18:44:44 -06:00