Commit graph

1547 commits

Author SHA1 Message Date
tomas@poseidon.ndb.mysql.com
cd590a6a02 Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-release
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-new
2005-07-15 13:32:08 +02:00
tomas@poseidon.ndb.mysql.com
ca75369663 BUG#11898 ndb_mgmd not releasing resources, added "ping" on add_listener
+ added close of some fd's
      + debug prints
2005-07-15 12:40:20 +02:00
tomas@poseidon.ndb.mysql.com
c9e320019b Bug #11132, reverted bug-fix, it introduces another bug. Ndbd's may get the same nodeid
In 4.1 the connection to the management server _must_ stay, that is how we
ensure that the nodeids are reserved correctly
2005-07-15 12:35:26 +02:00
tomas@poseidon.ndb.mysql.com
da6d150453 BUG#11596 (partial fix), IP addresses not shown in ndb_mgm SHOW command on second ndb_mgmd (or on ndb_mgmd restart) 2005-07-15 10:44:54 +02:00
tomas@poseidon.ndb.mysql.com
ec52d680d2 misc (memleak) fixes:
added using ndb_end and showing mem allocation stat at exit
    added init of variable
    added destruction of LocalConfig to still memleak
    added delete of theFacade on exit
    stopSessions(true) on socket server to ensure destuction of threads
    added destruction of arbit manager thread
    added true option to stopSessions in transporter facade to ensure destructions of threads
2005-07-14 18:08:01 +02:00
tomas@poseidon.ndb.mysql.com
8afeb337f0 BUG#11898 ndb_mgmd not releasing resources, added "ping" on add_listener
+ added close of some fd's
    + debug prints
2005-07-14 18:04:44 +02:00
tomas@poseidon.ndb.mysql.com
9be420ee10 stilled mem leak in usage on getVersionString
added __LINE__ so systemErrorLab for better error printout
2005-07-14 18:02:33 +02:00
tomas@poseidon.ndb.mysql.com
96a80fd220 added debug prints 2005-07-14 18:02:32 +02:00
joreland@mysql.com
fa11c5bf10 ndb -
fix bug in MemoryChannel
2005-07-04 10:18:36 +02:00
joreland@mysql.com
5ec5cde271 bug#11133 - ndb write handling
fix handling of write's in lock queue
  add test case
  add support for pkWrite+async exec in HugoOperations
2005-07-01 09:57:48 +02:00
joreland@mysql.com
544a8acad2 ndb autotest - merge jebs fixes 2005-06-30 10:10:12 +02:00
msvensson@neptunus.(none)
e929e55fb6 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
2005-06-22 20:59:34 +02:00
mskold@mysql.com
c8398bcd2b Made upgrade compatibility in 4.1 range to latest build version 2005-06-22 11:18:40 +02:00
msvensson@neptunus.(none)
ddeaf342a7 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
2005-06-21 14:24:13 +02:00
msvensson@neptunus.(none)
73c1578f15 Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
into neptunus.(none):/home/msvensson/mysql/bug10365
2005-06-20 13:08:45 +02:00
stewart@mysql.com
c4066adafd BUG#11377 Building cluster in 4.1 BK tree fails with GCC4.0 2005-06-20 15:18:53 +10:00
stewart@mysql.com
ec9eae0834 Merge mysql.com:/home/stewart/Documents/MySQL/4.1/main
into mysql.com:/home/stewart/Documents/MySQL/4.1/bug11132
2005-06-16 21:19:40 +10:00
stewart@mysql.com
fda3561e16 BUG#11132 Connections stuck in CLOSE_WAIT
In 4.1 (it is different in 5.0), we do not use the mgm connection after fetching the
configuration (and if we did, we would have to have calls to check the connection and
reconnect if needed - in case the mgm server had restarted) so we can disconnect after
first use.

This means we won't have connections stuck in CLOSE_WAIT when the mgm server shuts down.
2005-06-15 14:58:53 +10:00
pekka@mysql.com
362a45fd34 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/export/space/pekka/ndb/version/my41
2005-06-14 04:00:37 +02:00
tulin@dl145c.mysql.com
57ddf5223f logging_ok:
Logging to logging@openlogging.org accepted
DbtcMain.cpp, testTimeout.cpp:
  Bug  #11290 TransactionInactiveTimeout = 0 does not result in infinite timeout
2005-06-13 19:45:15 +02:00
pekka@mysql.com
b5eddef181 ndb - valgrind fixes 2005-06-13 16:19:20 +02:00
joreland@mysql.com
2d64907d12 bug#10294 - ndb restore with #concurrent transactions < parallelism
Enable retry on startTransaction
2005-06-13 09:09:50 +02:00
joreland@mysql.com
77ef82cf55 ndb -
Fix mem leak in testBlobs
2005-06-10 15:13:44 +02:00
joreland@mysql.com
96789d5ecb ndb - autotest
Fix stack overflow in ndb_cpcd on amd64
2005-06-10 12:31:55 +02:00
joreland@mysql.com
decf8ed04e ndb - autotest
script fixes for solaris
2005-06-10 10:22:32 +02:00
joreland@mysql.com
a5a13ea8c8 ndb - autotest
small script fixes
  - Don't use hostname -s as it's linux specific
  - Don't remove result unless scp worked
2005-06-09 08:07:48 +02:00
joreland@mysql.com
3765bb2df9 ndb - uint overflow when running on 64-bit platform with more than 4Gb of mem
bug#10711
bug#10058
bug#9363
bug#9025
bug#8918
2005-06-09 07:49:48 +02:00
joreland@mysql.com
dc78a77206 bug#11166 - ndb
Fix potential inconsistency when running ndb_restore due to faulty parsing
    of backup log wrt inserts
2005-06-08 16:48:57 +02:00
msvensson@neptunus.(none)
8771c73258 BUG#10365 Cluster handler uses non-standard error codes
- Added better error messages when trying to open a table that can't be discovered or unpacked. The most likely cause of this is that it does not have any frm data, probably since it has been created from NdbApi or is a NDB system table.
 - Separated functionality that was in ha_create_table_from_engine into two functions. One that checks if the table exists and another one that tries to create the table from the engine.
2005-06-08 13:31:59 +02:00
joreland@mysql.com
e6dfe6aa36 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-06-07 15:25:21 +02:00
joreland@mysql.com
e697ec1c1c bug#11133 - ndb
incorrect handling of writeTuple with multi op transaction
2005-06-07 15:10:57 +02:00
stewart@mysql.com
61ff7d380a BUG#10948 NDB Replication: Race condition with ALTER/DROP table
BUG#9826  Server crash on schema change ("drop table", "alter table") with NDB

See note on 10948 for detailed explanation.

struct a { void* a; long long b[1]; };

on PPC32 (and 32bit pa risc): 16
on x86: 12

so a malloc(sizeof(void*)+extra_bits) is wrong.

Assuming that the long long is 64 bit aligned as non-aligned 64bit accesses
are rather expensive on ppc.

Thanks to paulus for doing the PPC port of valgrind.
Without which I would no doubt still be trying to find this.
2005-06-04 18:14:34 +10:00
tulin@dl145b.mysql.com
342f6d54a3 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into dl145b.mysql.com:/home/ndbdev/tomas/tmp
2005-06-02 21:25:37 +02:00
tulin@dl145b.mysql.com
72288df8fc CommandInterpreter.cpp:
Bug #11050  	ndb_mgm "show" prints incorrectly after master data node fails
2005-06-02 21:14:14 +02:00
joreland@mysql.com
61638019a3 ndb - fix broken ndb_alter_table
reinit AI len after preparing interpreted
2005-06-01 13:05:41 +02:00
joreland@mysql.com
48f5fae9ff bug#10956 - ndb - more than 7 NR --initial yields cluster failure
a node wo/ filesystem don't have any crashed replicas
  reset noCrashedReplicas in invalidate_node_lcp
2005-05-30 14:17:58 +02:00
joreland@mysql.com
9f499292b9 bug#10953 - ndb - scan read wo/ getvalue cause NF (during NR) 2005-05-30 11:55:47 +02:00
joreland@mysql.com
420ae9a452 ndb - add test case for bug ReadWithoutGetValue 2005-05-26 22:48:28 +02:00
joreland@mysql.com
bf811eb711 bug#10669 - ndb read wo/ get value
add dummy getvalue
2005-05-26 22:04:50 +02:00
msvensson@neptunus.(none)
6c00006d2c Fix icc compiler warning 2005-05-26 12:12:36 +02:00
joreland@mysql.com
9e188eaeb9 ndb - Testcase for bug#10669
--database option to hugo tools
2005-05-26 07:21:05 +02:00
joreland@mysql.com
60d3e60e27 ndb - Embryo of overload protection
Add method to query free send buffer size
2005-05-25 16:19:17 +02:00
joreland@mysql.com
5189e9dd91 ndb autotest - merge jonathans script changes 2005-05-25 11:53:58 +02:00
joreland@mysql.com
c448ab53d6 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-05-25 09:26:59 +02:00
joreland@mysql.com
cea14f253d ndb autotest
adopt to changes in auto*tools
2005-05-25 09:22:07 +02:00
stewart@mysql.com
119e500c80 BUG#10831 ndb mgmd LogDestination maxfiles does not rotate logs properly 2005-05-25 15:35:51 +10:00
joreland@mysql.com
6132b0a528 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-05-24 17:05:20 +02:00
msvensson@neptunus.(none)
548994aa7b Build fixes for icc, compile _without_ "-no-gnu" 2005-05-23 18:53:53 +02:00
pekka@mysql.com
6dbcd43224 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
2005-05-18 18:05:37 +02:00
pekka@mysql.com
c054f84ae3 ndb - allow upgrade 4.1.10->4.1.12 2005-05-18 17:47:43 +02:00
tulin@dl145c.mysql.com
13bbb3dbb3 ndberror.c:
updated error message for ndb
2005-05-18 10:22:27 +02:00
joreland@mysql.com
f2edd8069f bug#10471 - ndb - potential inconsistent backup
whith some multi update scenarios

  Make sure to init GCI on correct operation before firering operation
2005-05-09 14:59:49 +02:00
joreland@mysql.com
a36b2e3953 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-05-09 11:04:34 +02:00
joreland@mysql.com
28814b66f4 bug#10142 - ndb unique index resource shortage
honor abort_option as TC now abort on 288
2005-05-09 11:03:07 +02:00
mskold@mysql.com
4b06c68d83 Fixes to compile with icc 2005-05-08 22:16:24 +02:00
joreland@mysql.com
a91f302097 ndb - autotest
fix name of result tar ball
2005-05-08 20:23:05 +02:00
mskold@mysql.com
cb8d2905aa bug#9813: Post review fixes 2005-05-07 22:04:52 +02:00
joreland@mysql.com
749129487e ndb - autotest
fix configs and scripts
2005-05-07 18:20:29 +02:00
joreland@mysql.com
092eea3a7a ndb - autotest
fixes
2005-05-07 13:23:38 +02:00
joreland@mysql.com
129b3d4ab9 ndb - autotest
upgrades to shell script
2005-05-07 11:53:06 +02:00
pekka@mysql.com
8ccd11182f ndb - bug#8928 2005-05-07 10:56:03 +02:00
joreland@mysql.com
46265f9ad2 ndb - autotest
fix count of nodes needed in test
2005-05-06 19:20:32 +02:00
joreland@mysql.com
44fea2872d ndb - autotest
fix to ndb-autotest.sh
2005-05-06 18:58:46 +02:00
joreland@mysql.com
80c2d9574a ndb - autotest
Add shutdown options (so far only SIGKILL), so that there won't be any strace mysqld threads
2005-05-06 17:26:22 +02:00
joreland@mysql.com
df5eedb8aa ndb - autotest
put config files in bk
2005-05-06 16:41:46 +02:00
joreland@mysql.com
df80304435 ndb - autotest
use newly created script for faster handling of several configurations
2005-05-06 16:14:30 +02:00
joreland@mysql.com
9d0c542838 ndb - autotest
update make-config script
2005-05-06 15:37:51 +02:00
joreland@mysql.com
749a1f9a2b ndb - add support for mysql servers in autotest 2005-05-06 14:44:43 +02:00
stewart@mysql.com
a17bf3f465 Bug#10193
Invalid DataDir in config causes ndbd segfault
2005-05-06 10:43:29 +02:00
joreland@mysql.com
208e534acc ndb - testNodeRestart -n LateCommit
increase no of rows so that the node failure will "guaranteed" produce an aborted transaction
2005-05-05 11:09:00 +02:00
joreland@mysql.com
4238092864 bug#10142 - ndb unique index
post review fixes
2005-05-05 10:34:39 +02:00
joreland@mysql.com
0d17895910 bug#10358 - ndb
Cluster failure with non started nodes can result in timedout transactions
2005-05-04 18:40:54 +02:00
joreland@mysql.com
86c7c4d1e2 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-05-04 14:29:33 +02:00
tulin@dl145b.mysql.com
ccac26a27a logging_ok:
Logging to logging@openlogging.org accepted
NDBT_ResultRow.cpp, ndb_restore.test, ndb_restore.result:
  BUG#10287
2005-05-04 10:16:03 +02:00
joreland@mysql.com
7ebc32ee8b bug#10142 - ndb unhandle resource shortage in unique index code 2005-05-03 12:16:31 +02:00
mskold@mysql.com
5f9843aeee Fix for avoiding gettin Invalid schema object version when doing local changes 2005-04-27 18:17:41 +02:00
joreland@mysql.com
d6f80c436c Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-04-27 07:56:37 +02:00
joreland@mysql.com
280bef1845 bug#9749 - ndb lock upgrade
post review fix.
  don't init hash value on restart operations
  make sure that lock mode is correct in entire que.
2005-04-25 11:59:00 +02:00
joreland@mysql.com
12e0d4f588 ndb - autotest
add more tests to verify correctness of backups
2005-04-25 08:43:16 +02:00
joreland@mysql.com
763d835a3c bug#9924 - ndb backup
remove incorrect assertion
2005-04-25 08:35:18 +02:00
joreland@mysql.com
d9d1c933b0 bug#9924 - ndb backup - abort handling
uninit variable
2005-04-24 20:34:42 +02:00
pekka@mysql.com
6778b029e0 ndb - bug#10029 fix 2005-04-23 17:33:12 +02:00
joreland@mysql.com
cde3ff4d26 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-04-22 13:20:47 +02:00
joreland@mysql.com
0bfc924672 bug#9724 - ndb restart
if file already open occur print files...
2005-04-22 11:04:26 +02:00
joreland@mysql.com
bbd0aa6cc3 bug#9969 - ndb
missleading error message
2005-04-22 09:40:44 +02:00
joreland@mysql.com
e6142c477c bug#9924 - ndb backup abort handling
Redo abort handling according to descr. in Backup.txt
bug#9960 - ndb backup
      increase wait completed timeout to 48 hours
2005-04-22 09:07:25 +02:00
mskold@mysql.com
e0fe3e75c7 Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
2005-04-21 09:27:20 +02:00
pekka@mysql.com
737a866faa ndb - dbug aid for api signal log 2005-04-20 16:09:00 +02:00
mskold@mysql.com
c9e68705bb Removed forgotten abort() call, bug#10001 2005-04-20 11:08:53 +02:00
joreland@mysql.com
2df2c4b895 CSC5149 - ndb test programs
Fix src distributions for benchmark prg
2005-04-19 11:17:32 +02:00
joreland@mysql.com
f931466f36 bug#9892
Make BUILDINDX RF_LOCAL aware
2005-04-18 12:41:12 +02:00
joreland@mysql.com
27f7a6c41b BUG#9891 - ndb lcp
Crash if ACC_CONTOPREQ was sent while ACC_LCPCONF was in job buffer
  if ACC_LCPCONF would have arrived eariler (before TUP_LCPSTARTED)
  operations could lockup. 
  But would be restarted on next LCP

-- LQH
1) Better check for LCP started that will also return true
   if ACC or TUP already has completed
    
2) Remove incorrect if statement that prevented operations to
   be started if ACC has completed

-- ACC
Make sure all ACC_CONTOPCONF are sent before releasing lcp record
  i.e. use noOfLcpConf == 4 (2 ACC_LCPCONF + 2 ACC_CONTOPCONF)

Check for == 4 also when sending ACC_CONTOPCONF
2005-04-14 13:43:07 +02:00
pekka@mysql.com
768b1da09b Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/export/space/pekka/ndb/version/my41
2005-04-14 05:01:44 +02:00
mskold@mysql.com
e39ba63934 Merge 2005-04-13 14:08:54 +02:00
pekka@mysql.com
3c0a885fed ndb - bug#9865 fix error message 2005-04-13 13:40:53 +02:00
mskold@mysql.com
f5855f2d57 Fix for bug#9813: Test 'ndb_basic': Autoincrement fails in 64 bit 2005-04-13 12:42:23 +02:00
joreland@mysql.com
45a07db5c0 BUG#9749 - ndb lock upgrade - more fixes...
1) Make getNoParall into function instead of a procedure
2) Check for multiple transactions in "upgrade's" parallell queue
3) Set lock mode according to lock_owner's lockMode

NOTE: Does still not handle lock upgrade in case of aborts correctly
2005-04-13 09:54:40 +02:00
joreland@mysql.com
39e750d949 bug#9749 - ndb lock upgrade
handle more cases...
2005-04-12 17:54:34 +02:00
joreland@mysql.com
2e1e670b57 bug#9757 - ndb - post review
use DBUG_RETURN
2005-04-12 13:56:24 +02:00
joreland@mysql.com
8f0f041e64 bug#9757 - ndb
Impl. stupid mgm lock against shutting down 2 nodes simultaniously
  Add some more dump
2005-04-12 13:36:43 +02:00
joreland@mysql.com
d8a5305d0d Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-04-08 14:16:57 +02:00
joreland@mysql.com
72d89cc253 bug#9749 - ndb
test case for case 9749, ndb lock upgrade via NDBAPI
2005-04-08 14:15:37 +02:00
mskold@mysql.com
89b140340c Fix for Bug #9675 Auto-increment not working with INSERT..SELECT and NDB storage 2005-04-07 17:44:09 +02:00
mskold@mysql.com
934f458140 Added missing DBUG_RETURNs 2005-04-07 12:12:03 +02:00
bar@mysql.com
0134a2b286 Adding a new parameter for well_formed_length to
return error. We'll use it for better warnign reporting.
2005-04-06 11:53:15 +05:00
pekka@mysql.com
114b421c8b ndb - csc#4847 release scan op early to save memory 2005-04-05 13:14:03 +02:00
mskold@mysql.com
b5e57be56b Fixed so no merge conflict with 5.0 2005-03-31 19:18:50 +02:00
mskold@mysql.com
75a4dc9644 Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
2005-03-31 14:33:51 +02:00
mskold@mysql.com
9795e7eda9 Removed warnings 2005-03-31 14:31:06 +02:00
pekka@mysql.com
10a03ce6c8 ndb - CSC#4927: ordered index + long pk, second half 2005-03-30 22:17:11 +02:00
joreland@mysql.com
f83a426cf2 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-03-29 12:00:43 +02:00
pekka@mysql.com
a259bcebd7 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
2005-03-28 22:56:40 +02:00
pekka@mysql.com
5dea61b879 ndb - set up long key page vars in ACC_LOCKREQ (bug#????) 2005-03-28 22:55:32 +02:00
pekka@mysql.com
42a641ffde ndb - make printSchemaFile available (compile manually) 2005-03-28 11:51:31 +02:00
jimw@mysql.com
4f19826d80 Merge mysql.com:/home/jimw/my/mysql-4.1-9323
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-03-25 09:45:58 -08:00
joreland@mysql.com
e20ff10bd2 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-03-23 07:58:25 +01:00
jimw@mysql.com
0842efeab2 Fix calls to memset() with arguments out of order. (Bug #9323) 2005-03-22 16:00:02 -08:00
mskold@mysql.com
9347abfe8d Simplified rounding up to nearest 64-bit boundry 2005-03-22 22:12:24 +01:00
mskold@mysql.com
27dbed4384 Extra fix for perceived problem with fix for Bug #8753 Invalid schema object version after dropping index 2005-03-22 17:42:08 +01:00
joreland@mysql.com
edaf9d6177 ndb -
Fix uninit variable (potential segv) in Dbacc::sendNextScanConf
  discovered by magnus addition in "globals_list"
2005-03-20 20:07:12 +01:00
joerg@mysql.com
29a78e7e88 Merge mysql.com:/M41/mysql-4.1 into mysql.com:/M41/push-4.1 2005-03-16 16:44:31 +01:00
mskold@mysql.com
057d78650e Fix for bug#9166: Cluster compile failure on Solaris 10 2005-03-15 22:19:55 +01:00
joerg@mysql.com
281af2f9bc Proactive compile fix (in case we ever enable "EVENT_DEBUG" on IRIX). 2005-03-15 12:40:28 +01:00
joreland@mysql.com
87c93bc514 Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-4.1
2005-03-10 07:48:44 +01:00
joreland@mysql.com
364b3b7b9b bug#9089
ndb - Reenable MAX_OPEN_FILES to enable LCP in some situations
2005-03-10 07:45:17 +01:00
joreland@mysql.com
241c5e1046 bug#9052 - ndb - Use correct length during unique index build
(recommit as 4.1->5.0 merge is not possible)
2005-03-09 07:49:03 +01:00
joreland@mysql.com
c66c2a747f bug#9052 - ndb - Use correct length during unique index build 2005-03-08 15:26:34 +01:00
joreland@mysql.com
fcd7b0ebc6 Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-4.1
2005-03-08 10:27:37 +01:00
joreland@mysql.com
56bc9cfacb bug#8918 - ndb - improve error message when stopping due to StartFailureTimeout 2005-03-08 10:25:21 +01:00
pekka@mysql.com
59ffe5bdf8 ndb - bug#8876 third and final solution 2005-03-03 12:45:49 +01:00
pekka@mysql.com
e90c122891 ndb - bug#8876 2005-03-03 11:38:50 +01:00
joreland@mysql.com
0683340ec9 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-03-03 08:38:10 +01:00
pekka@mysql.com
20fe3934af ndb - bug#8876 2005-03-03 01:07:03 +01:00
joreland@mysql.com
e9feed9751 Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-4.1
2005-03-01 13:35:57 +01:00
joreland@mysql.com
afdbf9b4a4 bug#8853 - ndb - commit after nodefailure on not TC node
set exec_flag in execTC_COMMITREQ so that api will get rollbackrep
2005-03-01 13:32:11 +01:00
joreland@mysql.com
b52ed0d669 Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-4.1
2005-02-25 09:14:43 +01:00
joreland@mysql.com
72127b52b3 BUG#8786 - ndb_autodiscover, post review
More explicit naming of variables
2005-02-25 09:10:35 +01:00
joreland@mysql.com
c25ce0e362 Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-4.1
2005-02-24 18:59:56 +01:00
joreland@mysql.com
15de06f290 bug#8786 - ndb autodiscover, sometimes fails
remove dict forwarding
  add api retries on NotMaster
2005-02-24 18:58:56 +01:00
joreland@mysql.com
87402eb5bb Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-02-24 06:14:43 +01:00
tomas@poseidon.ndb.mysql.com
ce6ffc3dcc removed printout "- Repeated 1 times"
make sure transporter connections are close early in shutdown
2005-02-23 10:12:26 +01:00
joreland@mysql.com
c0f4bc1393 Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-4.1
2005-02-22 12:15:56 +01:00
joreland@mysql.com
06b4b99932 wl1292 - ndb autotest - fix html reporting bug 2005-02-22 12:15:27 +01:00
joreland@mysql.com
a17ace8104 Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-4.1
2005-02-22 10:20:35 +01:00
joreland@mysql.com
df22808b02 wl1292 - ndb autotest scripts
split into script/conf for easier deployment
2005-02-22 10:18:38 +01:00
joreland@mysql.com
d31fbe1747 bug#8645 - ndb - ndb_mgmd nodeid handling
(not to be merged as code has changed in 5.0)
2005-02-21 15:22:01 +01:00
joreland@mysql.com
e6ee6bb47b Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-02-21 06:54:29 +01:00
tomas@poseidon.ndb.mysql.com
33c297cfb0 bug #8556 corrupt ndb_mgm show printout for certain configurations 2005-02-16 21:54:35 +01:00
tomas@poseidon.ndb.mysql.com
334d92db03 reuse nodeid if ndbd is restarted 2005-02-16 20:46:34 +01:00
pekka@mysql.com
0d03304294 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41-1.2154.30.2
2005-02-16 12:48:38 +01:00
pekka@mysql.com
7c9a155c4a ndb - fix old decimal type mysql vs ndb 2005-02-16 12:45:59 +01:00
joreland@mysql.com
96c76529c5 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-02-16 11:48:18 +01:00
joreland@mysql.com
93a7878c15 wl1292 - ndb autotest
fix log reports
2005-02-14 08:28:47 +01:00
joreland@mysql.com
9b50ee3ada wl1292 - ndb autotest
Fix 4.1 memleak in Hugo
2005-02-12 15:12:53 +01:00
joreland@mysql.com
7a08f3cc8c wl1292 - ndb autotest
link to log if it exists, regardless of test result
2005-02-12 15:05:33 +01:00
joreland@mysql.com
8e0cf97a57 ndb - fix compiler warning (error using gcc-3.4.3) 2005-02-11 08:09:47 +01:00
joreland@mysql.com
6039a50e00 ndb - old bench rescue 2005-02-11 06:39:00 +01:00
joreland@mysql.com
e0cd99c298 ndb - add more tests to autotest 2005-02-10 18:15:15 +01:00
joreland@mysql.com
8bc5e21ed4 Merge mysql.com:/home/jonas/src/mysql-4.1-rel
into mysql.com:/home/jonas/src/mysql-4.1
2005-02-10 11:42:38 +01:00
joreland@mysql.com
216c44e4b9 ndb - Reenable old benchmark 2005-02-10 11:40:32 +01:00
tomas@poseidon.ndb.mysql.com
91a593adcb Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2005-02-09 15:36:57 +01:00
tomas@poseidon.ndb.mysql.com
75cc37a13c use EXTRA_DIST instead of noinst_HEADERS 2005-02-09 15:20:38 +01:00
joreland@mysql.com
9b77596587 ndb -
Fix bug in bug fix in FastScheduler
  remove possibility of endless loop
  resulting in APZJobBuffer overflow due to statistics reporting
2005-02-09 14:24:25 +01:00
tomas@poseidon.ndb.mysql.com
153e85afe7 Makefile.am:
added noinst_HEADERS to get all things for the src dist
2005-02-08 17:22:26 +01:00
joreland@mysql.com
2462bc628b bug8262 - ndb
crash if scan is poped from queue before all attrinfo has arrived
2005-02-06 10:00:29 +01:00
joreland@mysql.com
7fba2bf3aa Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-02-05 07:16:07 +01:00
tomas@poseidon.ndb.mysql.com
7fd685ffe8 added test to trigger drifferent fragmentations in ndb
corrected documentation on fragmentation
    set "fragmentation medium" to mean 2 fragments per node instead of 1
    set default fragmentation to small instead of medium
    bug#8284 adjust fragmentation to max_rows
2005-02-04 14:25:08 +01:00
joreland@mysql.com
58e336764a Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-02-04 06:09:43 +01:00
pekka@mysql.com
a802291474 ndb - sol9x86: cc -xO3: fix optimizer error. 2005-02-03 23:56:13 +01:00
mronstrom@mysql.com
ddd890f6e1 Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/mikron/mysql-4.1
2005-02-03 18:22:06 +01:00
joreland@mysql.com
40376788cc ndb - use hugo methods all the way in hugo
more test program fixes
  replace pNdb->closeTransaction with closeTransaction(pNdb)
2005-02-03 17:10:46 +01:00
joreland@mysql.com
a20e1b4104 ndb -
add abort to multi op test case
2005-02-02 21:03:46 +01:00
tulin@mysql.com
3bdb97343a Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/mysqldev/tulin/mysql-4.1
2005-02-02 11:13:35 +01:00
tulin@mysql.com
653c6fa1ad backported configure flag from 5.0
workaround for HPUX signal.h error, missing extern "C" 
    moved my_thread_end to NdbThreadExit
   more checks for shared memory transporter signum setup
2005-02-02 10:50:33 +01:00
joreland@mysql.com
fc80e0a44f Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-02-02 06:32:11 +01:00
pekka@mysql.com
ea5c1f324c ndb - backup fix, found on powermacg4 2005-02-02 03:58:43 +01:00
tulin@mysql.com
9ac631705a cleanup and streamlining of thread create/exit in ndb 2005-02-01 19:01:37 +01:00
joreland@mysql.com
ebfa526990 merge 2005-02-01 17:16:05 +01:00
joreland@mysql.com
2ce71d0aba ndb -
1) New testcase
   Check every combination of ins/upd/del of length 5
   Check reading savepoint's
2) Fix 1 liner in acc wrt committing read
2005-02-01 16:49:23 +01:00
mronstrom@mysql.com
0cae590072 Fixed a bug in the ndbd scheduler with send of packed signals.
Fixing this bugs improves performance by 40% for very small read
statements and with 12-13 % for very simple updating transactions
(flexBench -o 10000) in single threaded application. Removes a fixed
cost of around 100.000 cycles every time the ndbd process wakes up to
execute some queries.
2005-01-31 18:11:26 +01:00
tulin@mysql.com
bc317a19ce BUG#8208 don't fsync unless something has been written
+ ion shutdown - don't close files that are not open
+ abort in debug - if closing a fd == -1
2005-01-31 11:47:10 +01:00
pekka@mysql.com
bcf1cb0f23 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/export/space/pekka/ndb/version/my41
2005-01-28 10:52:31 +01:00
pekka@mysql.com
0cbd4970bf ndb - fix DATE printout 2005-01-28 10:51:30 +01:00
tomas@poseidon.ndb.mysql.com
e87bd60c12 NdbThread.c:
wrong order in c-file
2005-01-28 09:15:01 +01:00
tomas@poseidon.ndb.mysql.com
732d1a5e81 Bug#8167 signal usage clash between mysql server and ndb shared memory
added shared memory config parameter, signum for use in signalling
    added global variable for holdign signum to be used for shared memory connection
    only fiddle with signals if it is set
    simplified common ndb client option handling
2005-01-28 00:42:41 +01:00
pekka@mysql.com
5cbadf4358 ndb - make YEAR and TIMESTAMP into ndb types 2005-01-27 17:33:35 +01:00
joreland@mysql.com
fa4f07b81d Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-01-25 15:57:08 +01:00
joreland@mysql.com
5e1bea84c8 ndb - Move mysql-test-run & testBackup into "basic suite" 2005-01-25 15:56:20 +01:00
serg@serg.mylan
79240013b2 Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2005-01-24 15:50:13 +01:00
tomas@poseidon.ndb.mysql.com
241a18585b remmoved inline in NdbRecAttr methods including memcpy 2005-01-24 10:33:39 +01:00
tomas@poseidon.ndb.mysql.com
e38381f241 backported from 5.0 extra option to ndb_waiter 2005-01-23 12:12:50 +01:00
tomas@poseidon.ndb.mysql.com
e291e98d2d Bug#8070
corrected possible unalignment in NdbRecAttr access methods
2005-01-21 17:57:44 +01:00
joreland@mysql.com
e0df86cd35 bug#8051 - ndb, typo, more info on crash 2005-01-21 08:28:23 +01:00
joreland@mysql.com
6f8a1f03c0 Bug#8051 - ndb
Make sure to ship error code in system error signal
2005-01-21 07:53:02 +01:00
joreland@mysql.com
e49de25171 bug#8010 - ndb
release connections when last op was simple read
2005-01-20 12:19:48 +01:00
joreland@mysql.com
67b044cc47 ndb - make sure scan recevier pointers are aligned 2005-01-19 18:32:34 +01:00
joreland@mysql.com
9fa613b676 bug#7777 - ndb compile on qnx
remove usage of compiler supplied <new> and instead
  impl. own inlined placement new
2005-01-19 09:15:34 +01:00
joreland@mysql.com
b0b8f9115a bug#7693 - ndb
when using shm transporter, set sigmask on each thread using pthread_sigmask
2005-01-19 07:23:20 +01:00
serg@serg.mylan
b53757ba91 Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2005-01-18 11:45:41 +01:00
serg@serg.mylan
83ef8c58a7 make the code to look safe, not only be safe 2005-01-17 22:35:53 +01:00
tomas@poseidon.ndb.mysql.com
beffd06278 Bug#7937 2005-01-17 12:29:43 +01:00
tomas@poseidon.ndb.mysql.com
b34715555f Makefile.am:
Bug#7721
2005-01-16 21:39:19 +01:00
tomas@poseidon.ndb.mysql.com
8830ec9a1d bumped up ndb version
compatible with 4.1.9
2005-01-14 16:14:50 +01:00
joreland@mysql.com
ddf9bdab36 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-01-13 10:29:03 +01:00
joreland@mysql.com
6e35e34fdb bug#7864 - fix ndb limit 4.5G data memory due to truncation error 2005-01-13 10:28:26 +01:00
tulin@build.mysql.com
3f8d669873 fix shm key 2005-01-12 18:19:30 +01:00
joreland@mysql.com
a9dc068a43 ndb - fix 64-bit problem in autotest 2005-01-12 11:17:03 +01:00
tomas@poseidon.ndb.mysql.com
cecb618c62 bug fixed parsing with comments on same line 2005-01-11 16:00:11 +01:00
tomas@poseidon.ndb.mysql.com
20067ffdeb Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2005-01-11 14:56:49 +01:00
tomas@poseidon.ndb.mysql.com
b99c878c77 Suma.cpp:
same as prev fix, wrong read of 64 bit value
2005-01-11 14:54:58 +01:00
tomas@poseidon.ndb.mysql.com
dcfa02917f Backup.cpp:
bug#7660
2005-01-11 14:49:35 +01:00
joreland@mysql.com
6c69e3d2b3 bug#7798 - ndb - range scan with invalid table version could cause node failure 2005-01-11 13:30:11 +01:00
tomas@poseidon.ndb.mysql.com
87b15bd993 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2005-01-11 12:54:53 +01:00
tomas@poseidon.ndb.mysql.com
5a2dc1de6f can't use my_pread,my_pwrite since it uses mutexes on the files 2005-01-11 12:50:54 +01:00
joreland@mysql.com
28f5a019c1 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2005-01-11 10:34:37 +01:00
tomas@poseidon.ndb.mysql.com
e88b292738 Bug#7477 2005-01-11 10:34:36 +01:00
joreland@mysql.com
0cf3c1e5c1 bug#7765 - ndb startup on 64-bit, increase stack on 64-bit 2005-01-11 10:02:31 +01:00
pekka@mysql.com
50c3a883b2 ndb - wl-1442 fix Time ordering 2005-01-08 19:28:44 +01:00
pekka@mysql.com
0462ccfe3c ndb - wl-1442 fix Date ordering 2005-01-08 16:57:51 +01:00
pekka@mysql.com
3e37933c7f ndb - wl-1442 bug#7725 datetime ordering 2005-01-08 13:59:57 +01:00
joreland@mysql.com
7829053491 bug#7690 - ndb startup with shm, use sigaction to escape SA_RESETHAND 2005-01-07 11:47:01 +01:00
joreland@mysql.com
875af1330b Merge mysql.com:/home/jonas/src/mysql-4.1-fix
into mysql.com:/home/jonas/src/mysql-4.1
2005-01-03 20:12:42 +01:00
joreland@mysql.com
18920d4831 bug#7626 - post review version 2005-01-03 20:10:23 +01:00
joreland@mysql.com
b852147b5d Merge mysql.com:/home/jonas/src/mysql-4.1-fix
into mysql.com:/home/jonas/src/mysql-4.1
2005-01-03 19:42:38 +01:00
joreland@mysql.com
7d0d191999 bug#7626 - ndb UintPtr handling 2005-01-03 19:39:09 +01:00
mronstrom@mysql.com
c6491a6873 Checking size to no of free + 1 was not correct when
entry was released before check. Thus empty it is when
size == no of free
This caused a memory leak which inserted a hard limit of
max 64 unique indexes in the cluster.
2004-12-31 02:18:21 +01:00
tomas@poseidon.ndb.mysql.com
263832da65 fixed so that last repeats are printed first with correct time if another message comes
decided for fixed size buffers in LogHandler repeated messages
2004-12-22 22:47:56 +01:00
tomas@poseidon.ndb.mysql.com
e9c0a17cf2 added handling of repeated messages 2004-12-22 18:27:07 +01:00
tomas@poseidon.ndb.mysql.com
99622f3fa1 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2004-12-22 16:30:16 +01:00
tomas@poseidon.ndb.mysql.com
09dccee098 changed name of g_eventLogger so it can be used in TransporterRegistry and is the same as in the kernel 2004-12-22 16:29:01 +01:00
pekka@mysql.com
c104fe598e Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
2004-12-22 15:08:23 +01:00
pekka@mysql.com
542820d3f8 ndb: use Ndb_cluster_connection in test* 2004-12-22 15:08:22 +01:00
joreland@mysql.com
f22b3a75e8 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2004-12-22 14:59:27 +01:00
joreland@mysql.com
8aa60fdd01 ndb - Fix bug in backward compatility code (for our test programs) 2004-12-22 14:58:57 +01:00
pekka@mysql.com
60b79f2b7e Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
2004-12-22 13:38:16 +01:00
pekka@mysql.com
f57153fe81 ndb: bug#7340 fix 2004-12-22 13:38:15 +01:00
joreland@mysql.com
193310c884 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2004-12-22 10:09:08 +01:00
joreland@mysql.com
13916aa8dd wl1292 - ndb autotest - adapt to changes in Logger 2004-12-22 10:01:31 +01:00
tomas@poseidon.ndb.mysql.com
e28ad14429 added some debug printouts 2004-12-22 07:50:44 +01:00
tomas@poseidon.ndb.mysql.com
78ce178559 added configuration hostnames to SHM config struct
use configured hostnames for SHM transporter setup
2004-12-22 07:20:01 +01:00
tomas@poseidon.ndb.mysql.com
8f2579c6db main.cpp:
ifdef on version prior to 5.0
2004-12-21 18:33:41 +01:00
tomas@poseidon.ndb.mysql.com
6c9dcae992 NdbApi.hpp:
NdbApi.hpp to include ndb_inti.h and ndb_cluster_connecion.hpp
2004-12-21 15:57:36 +01:00
tomas@poseidon.ndb.mysql.com
490f2fbab1 added ndb_init.h to distribution
added missing copyright text
    moved ndb_init things to separate header file
    removed ndb_global include
    documented cluster connection class
    moved internal constants to NdbImpl.hpp class
    changed wait_until_ready behaviour somewhat
2004-12-21 10:37:12 +01:00
tomas@poseidon.ndb.mysql.com
7b47be8990 added config parameter Group on connection
moved NdbWaiter, m_ndb_cluster_connection, to impl class
    moved node selection things to cluster connection
    moved all private things to impl class
    added opts for shared memory and node selection
    changed opts handling somewhat; introduced enum for options and common handling of option variables
    added checks for transporter support
    automatic addition of shared mem transporters
    moved wait_until_ready code to cluster connection
    added control of usage of new node selection method
2004-12-20 12:36:14 +01:00
tomas@poseidon.ndb.mysql.com
9311c8f564 added TRACE to managemnt server
removed TRACE from management client
2004-12-17 12:27:08 +01:00
tomas@poseidon.ndb.mysql.com
7a502ebac0 removed more duplicated commands for management server 2004-12-17 12:03:08 +01:00
joreland@mysql.com
5712bc55dc merge 2004-12-17 11:11:04 +01:00
tomas@poseidon.ndb.mysql.com
e69cc6b27f enabled setting version for ndb 2004-12-17 10:55:00 +01:00
tomas@poseidon.ndb.mysql.com
7ffe3ce690 CommandInterpreter.hpp, CommandInterpreter.cpp:
removed methods that are duplicated in management client
2004-12-17 10:40:56 +01:00
joreland@mysql.com
cfa20fbaa6 merge 2004-12-17 10:36:14 +01:00