Commit graph

260 commits

Author SHA1 Message Date
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
knielsen@ymer.(none)
56cf7a53b6 BUG#27370: Potential inconsistent blob reads for ReadCommitted reads.
The old blob implementation had code that attempted to upgrade the lock mode for
LM_CommittedRead operations, but it did not work properly as it did not recompute
the operation flags.

As a consequence, reading a blob with LM_CommittedRead could return inconsistent
data, with different part of the read data being from different commits done by
other transactions.

The fix is to correctly recompute all necessary flags when upgrading lock mode.
2007-04-24 08:15:31 +02:00
tomas@whalegate.ndb.mysql.com
6c4a7a4469 Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca-single-user
into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-single-user
2007-03-23 14:09:30 +01:00
tomas@whalegate.ndb.mysql.com
29ac950b6f Bug #25275 SINGLE USER MODE prevents ALTER on non-ndb tables for other mysqld nodes 2007-03-23 13:52:03 +01:00
tomas@poseidon.mysql.com
65a0ee5f8c Merge poseidon.mysql.com:/home/tomas/mysql-5.0
into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
2007-03-02 09:38:03 +07:00
tomas@poseidon.mysql.com
4fed7eb88e Merge poseidon.mysql.com:/home/tomas/mysql-5.0-telco-gca
into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
2007-03-02 09:10:17 +07:00
tomas@poseidon.mysql.com
f106c25765 Bug #25275 SINGLE USER MODE prevents ALTER on non-ndb tables for other mysqld nodes
(part 1)
- add signal data
- add ref in dict on create/drop table/index
2007-03-02 09:06:05 +07:00
monty@mysql.com/narttu.mysql.fi
8f4fef291d Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into  mysql.com:/home/my/mysql-5.0
2007-02-22 20:32:19 +02:00
monty@mysql.com/narttu.mysql.fi
e5cc397f33 Fixed compiler warnings (for linux and win32 and win64)
Fixed a couple of usage of not initialized warnings (unlikely cases)
2007-02-22 16:59:57 +02:00
monty@mysql.com/narttu.mysql.fi
26aa385bc5 Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into  mysql.com:/home/my/mysql-5.0
2007-02-21 14:07:08 +02:00
stewart@willster.(none)
6f91941384 Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-work
into  willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-merge
2007-02-14 17:09:43 +11:00
stewart@willster.(none)
7ed1f6ac01 BUG#26358 remove unused and non-working SET_VAR_REQ/CONF signals
remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing

Remove the dead SET_VAR_REQ,REF,CONF signals.

They:
a) don't currently work
b) will cause confusion with future mgmd updates for
   signal interface to configuration things (e.g. port numbers)
2007-02-14 16:03:25 +11:00
stewart@willster.(none)
e1b75c1784 BUG#26357 remove unused GSN_STATISTICS_REQ and CONF
remove GSN_STATISTICS_REQ and CONF

These are unused and have been since BK import. not needed.
2007-02-14 15:55:08 +11:00
tomas@poseidon.mysql.com
0a4505199c Bug#26293 cluster mgmt node sometimes doesn't receive events from all nodes on restart
- signals where sometimes sent too early when setting up subscriptions
2007-02-14 11:05:38 +07:00
monty@mysql.com/narttu.mysql.fi
a04157fbb3 Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into  mysql.com:/home/my/mysql-5.0
2007-01-22 14:04:40 +02:00
jonas@perch.ndb.mysql.com
5dac4e99c7 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
2007-01-11 21:12:14 +01:00
jonas@perch.ndb.mysql.com
07ac8c853a Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
2007-01-11 21:10:18 +01:00
jonas@perch.ndb.mysql.com
d9fa993e07 ndb - bug#25364
on master node failure during qmgr-commitreq
    make sure to remove all committed failed nodes from failed/prepfailed arrays
2007-01-03 06:17:34 +01:00
kent@mysql.com/kent-amd64.(none)
6523aca729 my_strtoll10-x86.s:
Corrected spelling in copyright text
Makefile.am:
  Don't update the files from BitKeeper
Many files:
  Removed "MySQL Finland AB & TCX DataKonsult AB" from copyright header
  Adjusted year(s) in copyright header 
Many files:
  Added GPL copyright text
Removed files:
  Docs/Support/colspec-fix.pl
  Docs/Support/docbook-fixup.pl
  Docs/Support/docbook-prefix.pl
  Docs/Support/docbook-split
  Docs/Support/make-docbook
  Docs/Support/make-makefile
  Docs/Support/test-make-manual
  Docs/Support/test-make-manual-de
  Docs/Support/xwf
2006-12-31 01:02:27 +01:00
kent@mysql.com/kent-amd64.(none)
226a5c833f Many files:
Changed header to GPL version 2 only
2006-12-23 20:17:15 +01:00
monty@mysql.com/narttu.mysql.fi
88dd873de0 Fixed compiler warnings detected by option -Wshadow and -Wunused:
- Removed not used variables and functions
- Added #ifdef around code that is not used
- Renamed variables and functions to avoid conflicts
- Removed some not used arguments

Fixed some class/struct warnings in ndb
Added define IS_LONGDATA() to simplify code in libmysql.c

I did run gcov on the changes and added 'purecov' comments on almost all lines that was not just variable name changes
2006-12-15 00:51:37 +02:00
jonas@perch.ndb.mysql.com
61f87f5d3c Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
2006-10-25 08:31:30 +02:00
jonas@perch.ndb.mysql.com
822e638d57 Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into  perch.ndb.mysql.com:/home/jonas/src/50-work
2006-10-20 16:22:16 +02:00
jonas@perch.ndb.mysql.com
a03b282f17 ndb - bug#23499 and bug#23502
Fix some too small buffers in backup
2006-10-20 16:16:01 +02:00
jonas@perch.ndb.mysql.com
57dd1481ae Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb-bj
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
2006-10-04 10:19:08 +02:00
jonas@perch.ndb.mysql.com
9c87453bfa Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
2006-09-26 16:12:46 +02:00
jonas@perch.ndb.mysql.com
f10c61d76e ndb - bug#21535
send new fragdistkeys to all replicas during node recovery
  to make sure that not 3rd or 4th replicas fragDistKey becomes out of sync
2006-09-14 22:01:26 +02:00
dli@dev3-76.dev.cn.tlan
30251ea3bc Fix for Bug #20395 Cluster datanodes always assigned to nodegroup 0 during single user mode.
Data node is not allowed to get added in the cluster when it is in single user mode.
2006-09-11 11:03:14 +08:00
pekka@orca.ndb.mysql.com
1b6f2f1c32 ndb - bug#18781 bug#21017 bug#21050 : block index ops during NR + fix asserts 2006-08-18 09:56:52 +02:00
pekka@orca.ndb.mysql.com
72fa4883cf Merge orca.ndb.mysql.com:/space_old/pekka/ndb/version/my50
into  orca.ndb.mysql.com:/space_old/pekka/ndb/version/my50-1.2167.1.2
2006-07-10 14:12:02 +02:00
pekka@orca.ndb.mysql.com
7c83e6d201 ndb - bug#18781 : 5.0 : add NODE_START_REP from 5.1 (re-commit, try to by-pass merge jam) 2006-07-10 13:44:15 +02:00
tomas@poseidon.ndb.mysql.com
a0ab5ae09f Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-main
2006-07-05 16:34:34 +02:00
tomas@poseidon.ndb.mysql.com
04ae971576 Bug #18863 NDB node fails to restart, cluster stuck in state trying to restart it.
- remove some event code to get rid of some bugs
2006-07-05 16:26:08 +02:00
tomas@poseidon.ndb.mysql.com
6df1090e80 Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-main
2006-06-29 13:03:09 +02:00
tomas@poseidon.ndb.mysql.com
0822e24679 fixed too small requestInfo in signal
+ adopted signal to be as close as possible to 5.1...
2006-06-29 13:01:54 +02:00
tomas@poseidon.ndb.mysql.com
6283d8fd5a Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-main
2006-06-27 14:56:20 +02:00
tomas@poseidon.ndb.mysql.com
18e008a1ba Bug #19852 Restoring backup made from cluster with full data memory fails
- correction of previous patch
2006-06-27 11:26:00 +02:00
tomas@poseidon.ndb.mysql.com
95447f9d1a Bug #19852 Restoring backup made from cluster with full data memory fails
- make sure to allocate just enough pages in the fragments by using the actual
  row count from the backup, to avoid over allocation of pages to fragments, and
  thus avoid the bug
2006-06-27 10:02:58 +02:00
pekka@clam.ndb.mysql.com
ada3df7026 ndb - bug#18781 (5.0) handle rolling upgrade, minor fixes, logging, docs 2006-06-11 20:46:47 +02:00
pekka@clam.ndb.mysql.com
cdc421dcd4 ndb - bug#18781 lock DICT during node restart 2006-06-08 16:16:07 +02:00
pekka@mysql.com
ec42119233 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into  mysql.com:/space/pekka/ndb/version/my50
2006-05-03 23:17:16 +02:00
pekka@mysql.com
5c0012cb98 ndb - bug#19201 (4.1), see comment in NdbBlob.cpp 2006-05-02 14:33:55 +02:00
mskold@mysql.com
22d345bf5b Fix for bug#19196: Attempt to create index on usupported field type gives wrong error code 2006-04-20 12:06:22 +02:00
tomas@poseidon.ndb.mysql.com
7fd9d66cdc Support for ndb multi-node shutdown 2006-04-07 10:39:47 +02:00
jonas@perch.ndb.mysql.com
40d83bdf6e ndb - wl1760/bug#18216
add two new start options that will decrease likelyhood of bug#18612
  push cntr-sp2 logic down into qmgr-sp1 to decrease likelyhood of bug#18612
2006-04-06 11:43:31 +02:00
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
274e35c4d6 ndb -
Fix compile error...when compiling debug
2006-04-03 13:12:23 +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
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