Commit graph

326 commits

Author SHA1 Message Date
unknown
64c81b9dfd fixed compile of shm transporter
ndb/src/mgmsrv/Services.cpp:
  changed getsockname to getpeername
2004-06-29 14:56:02 +00:00
unknown
a1ef616c32 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/space/pekka/ndb/version/my41
2004-06-29 14:57:31 +02:00
unknown
ac5a2ead92 wl1822: verify locks are flushed 2004-06-29 14:53:15 +02:00
unknown
c43445e197 adopting mysql-test-run to new ndb config
+ added option to ndb_waiter to wait for NO CONTACT


mysql-test/mysql-test-run.sh:
  adopting mysql-test-run to new ndb config
mysql-test/ndb/ndbcluster.sh:
  adopting mysql-test-run to new ndb config
ndb/tools/waiter.cpp:
  added option to wait for NO CONTACT
2004-06-28 19:53:55 +00:00
unknown
700e94e19b Merge
mysql-test/ndb/ndb_config_2_node.ini:
  SCCS merged
mysql-test/ndb/ndbcluster.sh:
  SCCS merged
2004-06-28 18:27:31 +00:00
unknown
e2d3f7b079 several config fixes for ndb, see respective file
ndb/include/debugger/EventLogger.hpp:
  removed unused method
ndb/include/mgmcommon/ConfigRetriever.hpp:
  put NdbMgmHandle in ConfigRetriever to enable holding connection open until setup complete
ndb/include/mgmcommon/NdbConfig.h:
  moved naming of all "ndb" file into NdbConfig.c
ndb/include/ndb_global.h:
  introduced define NDB_BASE_PORT to control default port for ndb
ndb/src/common/debugger/EventLogger.cpp:
  removed unused method
ndb/src/common/mgmcommon/ConfigInfo.cpp:
  introduced define NDB_BASE_PORT to control default port for ndb
  + added setting default Id's on nodes
ndb/src/common/mgmcommon/ConfigRetriever.cpp:
  put NdbMgmHandle in ConfigRetriever to enable holding connection open until setup complete
ndb/src/common/mgmcommon/IPCConfig.cpp:
  changed error message
ndb/src/common/mgmcommon/LocalConfig.cpp:
  introduced define NDB_BASE_PORT to control default port for ndb
ndb/src/common/mgmcommon/NdbConfig.c:
  moved naming of all "ndb" file into NdbConfig.c
ndb/src/common/transporter/TransporterRegistry.cpp:
  spelling errors
ndb/src/kernel/error/ErrorReporter.cpp:
  moved naming of all "ndb" file into NdbConfig.c
ndb/src/kernel/error/ErrorReporter.hpp:
  moved naming of all "ndb" file into NdbConfig.c
ndb/src/kernel/main.cpp:
  moved naming of all "ndb" file into NdbConfig.c
ndb/src/kernel/vm/Configuration.cpp:
  moved allocation of ConfigRetriever object to Configuration to enable holing "config" open until setup finished
ndb/src/kernel/vm/Configuration.hpp:
  moved allocation of ConfigRetriever object to Configuration to enable holing "config" open until setup finished
ndb/src/mgmclient/main.cpp:
  fix default port number
ndb/src/mgmsrv/MgmtSrvr.cpp:
  fix default port
ndb/src/mgmsrv/Services.cpp:
  added spec of transporter in get_nodeid
ndb/src/mgmsrv/main.cpp:
  moved naming of all "ndb" file into NdbConfig.c
ndb/src/ndbapi/TransporterFacade.cpp:
  moved allocation of ConfigRetriever object to TransporterFacade to enable holing "config" open until setup finished
ndb/src/ndbapi/TransporterFacade.hpp:
  moved allocation of ConfigRetriever object to TransporterFacade to enable holing "config" open until setup finished
2004-06-28 17:29:58 +00:00
unknown
3d5c2d1d31 Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1-ndb


ndb/src/ndbapi/Ndb.cpp:
  Auto merged
ndb/src/ndbapi/Ndbinit.cpp:
  Auto merged
sql/ha_ndbcluster.cc:
  Auto merged
sql/ha_ndbcluster.h:
  Auto merged
2004-06-27 16:00:48 +02:00
unknown
1addcc2ffd wl 1748 2004-06-24 12:18:40 +00:00
unknown
0eef1ae3f3 fixes for solaris build issues with ndb
(the previous commit was in "non" fresh clone :-()


ndb/src/kernel/SimBlockList.cpp:
  fixes for solaris build issues
ndb/src/ndbapi/Ndb.cpp:
  fixes for solaris build issues
ndb/src/ndbapi/Ndbinit.cpp:
  fixes for solaris build issues
2004-06-24 11:42:44 +02:00
unknown
8aac8515fb bug fixes
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  rollback sets exec_flag
ndb/test/ndbapi/testScan.cpp:
  none relavant test cases
2004-06-24 08:34:21 +02:00
unknown
9db10b1383 Merge tulin@bk-internal.mysql.com:/users/tulin/wl1748
into poseidon.bredbandsbolaget.se:/home/tomas/mysql-4.1-ndb
2004-06-23 23:55:59 +00:00
unknown
1cb0e84ae3 wl 1748
ndb/include/kernel/NodeInfo.hpp:
  alligning node numbering
ndb/include/kernel/NodeState.hpp:
  added connected nodes to NodeState
ndb/include/kernel/signaldata/ApiRegSignalData.hpp:
  moved to NodeState
ndb/include/mgmapi/mgmapi.h:
  alligning node numbering
ndb/include/mgmapi/mgmapi_config_parameters.h:
  new config port_base param on system
ndb/include/util/Bitmask.hpp:
  POD Bitmask
ndb/include/util/SocketAuthenticator.hpp:
  SocketAut fix
ndb/src/common/mgmcommon/ConfigInfo.cpp:
  added new config param
ndb/src/common/transporter/Transporter.cpp:
  alligning node numbering
ndb/src/common/transporter/TransporterRegistry.cpp:
  alligning node numbering
ndb/src/common/util/SocketAuthenticator.cpp:
  alligning node numbering
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
  moved connected nodes to NodeState
ndb/src/mgmsrv/MgmtSrvr.cpp:
  allocation and delallocation of resources in mgmsrvr
  connected bitmask on each node status together with reserved nodes
  that are reserved as long as session is active
  + check that hostname is same as client name
ndb/src/mgmsrv/MgmtSrvr.hpp:
  allocation and delallocation of resources in mgmsrvr
  connected bitmask on each node status together with reserved nodes
  that are reserved as long as session is active
ndb/src/mgmsrv/Services.cpp:
  added destuctor for apisession
ndb/src/mgmsrv/Services.hpp:
  ..
ndb/src/mgmsrv/main.cpp:
  print node id
ndb/src/ndbapi/ClusterMgr.cpp:
  ..
ndb/src/ndbapi/ClusterMgr.hpp:
  ..
2004-06-23 23:53:48 +00:00
unknown
21b6aa5c2d Fixes for gcc-3.4.0 2004-06-23 23:33:28 +02:00
unknown
fb235b7466 Reset exec_flag when contacting API 2004-06-23 21:33:47 +02:00
unknown
7b862bea93 testcases for BUG#4230
ndb/test/run-test/daily-basic-tests.txt:
  add testTimeout -n TimeoutRandTransaction for BUG#4230
  add scan tests
2004-06-23 21:13:41 +02:00
unknown
6fa3bc4800 wl1292
Move atrt install-path to mysql-test/ndb


ndb/test/run-test/Makefile.am:
  Move atrt install-path to mysql-test/ndb
2004-06-23 15:34:18 +02:00
unknown
37b2535ece Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-06-23 14:31:34 +02:00
unknown
4e17ed4529 Bug fixes, related to wl1671 & BUG#4230
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
  BUG#4230
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Only send TCROLLBACKREP when recevied TCKEYREQ with exec_flag set
ndb/src/ndbapi/NdbApiSignal.cpp:
  Fix length of TCROLLBACKREQ
ndb/src/ndbapi/NdbScanOperation.cpp:
  Wait for all TRANSID_AI before sending close scan req
ndb/test/include/HugoOperations.hpp:
  Remove hugo impl. of scan interface
ndb/test/ndbapi/testScan.cpp:
  Removed "non relevant" scan tests
ndb/test/ndbapi/testTimeout.cpp:
  Update to new scan api
ndb/test/ndbapi/testTransactions.cpp:
  tmp remove scan (not in autotest yet anyway) from testTransaction
ndb/test/src/HugoOperations.cpp:
  Remove hugo impl. of scan interface
2004-06-23 14:11:35 +02:00
unknown
18e10f8f26 testOIBasic.cpp:
quick fix to new scan


ndb/test/ndbapi/testOIBasic.cpp:
  quick fix to new scan
2004-06-23 11:49:38 +02:00
unknown
f44c3ee911 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.bredbandsbolaget.se:/home/tomas/mysql-4.1-ndb


ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
  Auto merged
ndb/src/kernel/main.cpp:
  Auto merged
ndb/src/mgmsrv/MgmtSrvr.cpp:
  Auto merged
ndb/src/ndbapi/ClusterMgr.cpp:
  Auto merged
ndb/src/ndbapi/TransporterFacade.cpp:
  Auto merged
ndb/src/ndbapi/TransporterFacade.hpp:
  Auto merged
2004-06-23 00:59:08 +00:00
unknown
190d9e72cb Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.bredbandsbolaget.se:/home/tomas/mysql-4.1-ndb-merge
2004-06-23 00:56:29 +00:00
unknown
dc2544fdee WL 1748
ndb/include/kernel/signaldata/ApiRegSignalData.hpp:
  Added info about connected nodes to ApiRegConf
ndb/include/mgmapi/mgmapi.h:
  New mgmapi command to get nodeid dynamically
ndb/include/mgmapi/mgmapi_config_parameters.h:
  New config param to specify port on for transporter setup
ndb/include/mgmcommon/ConfigRetriever.hpp:
  added notetype to getConfig
ndb/include/portlib/NdbTCP.h:
  small detail
ndb/include/transporter/TransporterRegistry.hpp:
  changed performstates and interface to connect/disconnect transporters
  added TransporterService for transporter setup
  changed model for setting up transporters
ndb/src/common/mgmcommon/ConfigInfo.cpp:
  removed some config params as mandatory
ndb/src/common/mgmcommon/ConfigRetriever.cpp:
  added dynamic alloc of nodeid
ndb/src/common/mgmcommon/LocalConfig.cpp:
  added default localhost:2200 and dynamic id
ndb/src/common/transporter/TCP_Transporter.cpp:
  moved TCP hostname stuff from TCP_Transporter to parent class Transporter
  changed TCP connection setup to use just one port for all transporters
ndb/src/common/transporter/TCP_Transporter.hpp:
  moved TCP hostname stuff from TCP_Transporter to parent class Transporter
  changed TCP connection setup to use just one port for all transporters
ndb/src/common/transporter/Transporter.cpp:
  moved TCP hostname stuff from TCP_Transporter to parent class Transporter
  changed TCP connection setup to use just one port for all transporters
ndb/src/common/transporter/Transporter.hpp:
  moved TCP hostname stuff from TCP_Transporter to parent class Transporter
  changed TCP connection setup to use just one port for all transporters
ndb/src/common/transporter/TransporterRegistry.cpp:
  changed performstates and interface to connect/disconnect transporters
  added TransporterService for transporter setup
  changed model for setting up transporters
ndb/src/common/util/Makefile.am:
  New SocketAuthenticator
ndb/src/common/util/SocketServer.cpp:
  small detail
ndb/src/kernel/Makefile.am:
  small detail
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
  new interface to performstates + cleanup
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
  changed signal ApiRegConf
ndb/src/kernel/vm/ThreadConfig.cpp:
  changed naming
ndb/src/mgmapi/mgmapi.cpp:
  Use new Socket client
  New methid for allocating dynamic id
ndb/src/mgmsrv/MgmtSrvr.cpp:
  moved port setup from main.cpp to MgmtSrvr
  new method getNextFreeNodeId
ndb/src/mgmsrv/MgmtSrvr.hpp:
  ..
ndb/src/mgmsrv/Services.cpp:
  allocate new nodeid
ndb/src/mgmsrv/Services.hpp:
  ..
ndb/src/mgmsrv/main.cpp:
  moved setup port to MgmtSrvr.cpp
  Rearranged setup order
ndb/src/ndbapi/ClusterMgr.cpp:
  new API_REGCONF
ndb/src/ndbapi/ClusterMgr.hpp:
  bitmask to hold connected nodes
ndb/src/ndbapi/TransporterFacade.cpp:
  New transporter connect
ndb/src/ndbapi/TransporterFacade.hpp:
  removed function not used
ndb/src/kernel/main.cpp:
  new transporter setup
2004-06-23 00:48:07 +00:00
unknown
df226fab2b wl1671 - bug fixes for negative tests
ndb/src/ndbapi/NdbScanOperation.cpp:
  Extra printout if DEBUG_NEXT_RESULT
  Set theError.code so one can't call nextResult after it has once returned 1
ndb/test/ndbapi/ScanFunctions.hpp:
  Update testcases
ndb/test/ndbapi/testScan.cpp:
  ScanWitoutOpenScan isn't really relevent anymore
2004-06-22 17:53:09 +02:00
unknown
854fe53021 wl1671 - bug fix
ndb/src/common/debugger/signaldata/ScanTab.cpp:
  Improved printer
ndb/src/ndbapi/NdbScanOperation.cpp:
  Don't fetch if we have result
2004-06-22 11:47:58 +02:00
unknown
d675df02cd Fix testDict -n InvalidTables 2004-06-21 22:44:14 +02:00
unknown
f5b3f9228b Fix testBasicAsynch
Fix debug require in TC


ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Remove debug assert
ndb/test/src/HugoAsynchTransactions.cpp:
  Fix testBasicAsynch
2004-06-21 22:37:05 +02:00
unknown
b3d8ec935d BUG#4230 - fixed
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  BUG#4230
  Solution: always reply when exeute bit is set
ndb/test/ndbapi/testTimeout.cpp:
  test for BUG#4230
2004-06-21 21:59:27 +02:00
unknown
f5f599b5ea ndb file missing in src dist
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-06-21 11:24:08 +00:00
unknown
8358e07a2e Merge mysql.com:/home/jonas/src/wl1671
into mysql.com:/home/jonas/src/mysql-4.1-ndb


ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
  Auto merged
2004-06-21 01:35:30 +02:00
unknown
e490fc4164 tux optim 11 - use TUP method to read min/max prefixes 2004-06-19 13:32:15 +02:00
unknown
6fcaa7d5ac wl1873 impl + test prg
ndb/include/ndbapi/NdbResultSet.hpp:
  NdbResultSet::restart
ndb/include/ndbapi/NdbScanOperation.hpp:
  NdbResultSet::restart
ndb/src/ndbapi/NdbResultSet.cpp:
  NdbResultSet::restart
ndb/src/ndbapi/NdbScanOperation.cpp:
  NdbResultSet::restart
ndb/test/ndbapi/testScan.cpp:
  Test case for scan restart
2004-06-18 23:20:58 +02:00
unknown
9065a73d27 tux optim 10 - use TUP method to read entry keys 2004-06-18 14:42:35 +02:00
unknown
0695325c69 tux optim 9 - use TUP method to read search key 2004-06-18 13:46:46 +02:00
unknown
28dc842f06 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/space/pekka/ndb/version/my41
2004-06-18 10:08:12 +02:00
unknown
506a7bdd28 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into ndbmaster.mysql.com:/ndb/clone-mysql-4.1-ndb-daily-2004-06-14
2004-06-18 08:49:03 +02:00
unknown
fb89fac462 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into mc05.(none):/space2/tomas/mysql-4.1-ndb-test
2004-06-18 02:16:08 +02:00
unknown
25749c9686 cannot include my_config.h directly, breaks some makes 2004-06-18 00:16:07 +00:00
unknown
99cf349115 mgmapi.cpp:
hpux make fix


ndb/src/mgmapi/mgmapi.cpp:
  hpux make fix
2004-06-17 22:32:49 +00:00
unknown
67b7c20172 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.bredbandsbolaget.se:/home/tomas/mysql-4.1


ndb/src/common/mgmcommon/InitConfigFileParser.cpp:
  Auto merged
2004-06-17 22:19:26 +00:00
unknown
79359964b8 removed need for specifying TCP connections in MySQL Cluster configuration 2004-06-17 22:18:05 +00:00
unknown
366296e5c3 Reset null indicator 2004-06-17 23:56:39 +02:00
unknown
6331fd7654 Merge blobs 2004-06-17 23:42:17 +02:00
unknown
41b0444ca8 hpux compile fixes 2004-06-17 21:06:21 +00:00
unknown
6c2e161479 Tru64 fixes 2004-06-17 17:38:05 +00:00
unknown
8979db4182 removed warnings on Tru64 2004-06-17 17:32:03 +00:00
unknown
29987cd0b7 FsReadWriteReq.cpp:
compile error on hpux


ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp:
  compile error on hpux
2004-06-17 17:12:45 +00:00
unknown
57ccc47bfb 2004-06-17 13:25:38 +00:00
unknown
df6a7758b2 merge blob code
ndb/include/kernel/signaldata/DictTabInfo.hpp:
  Auto merged
ndb/include/ndbapi/NdbApi.hpp:
  Auto merged
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  Auto merged
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
  Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Auto merged
ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
  Auto merged
ndb/src/ndbapi/Makefile.am:
  Auto merged
ndb/src/ndbapi/Ndb.cpp:
  Auto merged
ndb/src/ndbapi/NdbConnection.cpp:
  Auto merged
ndb/src/ndbapi/NdbDictionaryImpl.hpp:
  Auto merged
ndb/src/ndbapi/NdbIndexOperation.cpp:
  Auto merged
ndb/src/ndbapi/Ndbinit.cpp:
  Auto merged
ndb/src/ndbapi/Ndblist.cpp:
  Auto merged
ndb/test/ndbapi/Makefile.am:
  Auto merged
ndb/test/ndbapi/Makefile_old:
  Auto merged
ndb/test/ndbapi/testOIBasic.cpp:
  Auto merged
2004-06-17 14:03:21 +02:00
unknown
baee0670da tux optim 8 - store complete AttributeDescriptor (prepare for next step) 2004-06-17 10:51:25 +02:00
unknown
41c3dc082c tux optim 7 - use physical TUP address for index entries 2004-06-17 10:03:08 +02:00