Commit graph

171 commits

Author SHA1 Message Date
unknown
16bd53d4b3 fixed return code for ndb_backup
added possibility to set number of accounts in createAndLoadBank
bumbed up number of threads in tastBackup BackupBank


ndb/src/kernel/blocks/backup/restore/main.cpp:
  fixed return code
ndb/test/ndbapi/bank/Bank.hpp:
  added possibility to set number of accounts in createAndLoadBank
ndb/test/ndbapi/bank/BankLoad.cpp:
  added possibility to set number of accounts in createAndLoadBank
ndb/test/ndbapi/testBackup.cpp:
  bumbed up number of threads in tastBackup BackupBank
ndb/test/src/NdbBackup.cpp:
  some small optimizations
2004-09-15 15:47:04 +00:00
unknown
48cce61988 fixed bug in bank 2004-09-15 10:46:20 +00:00
unknown
1d014ceb58 removed printout 2004-09-14 09:27:06 +02:00
unknown
0f72096668 Fix UtilTransaction::verifyIndex wrt to null handling 2004-09-14 09:08:03 +02:00
unknown
e933fe63af Fix command line options 2004-09-12 09:23:05 +02:00
unknown
6bbbccbe3a wl1292 -
Fix autotest of backups
Fix autotest with mysql-test-run


ndb/test/run-test/atrt-testBackup:
  Rename: ndb/test/ndbapi/atrt-testBackup -> ndb/test/run-test/atrt-testBackup
ndb/test/run-test/Makefile.am:
  Install atrt wrappers
ndb/test/run-test/atrt-mysql-test-run:
  Take args from caller
ndb/test/run-test/daily-devel-tests.txt:
  Use wrapper to test backup
ndb/test/run-test/main.cpp:
  Add MYSQL_BASE_DIR to environment of test programs
2004-09-09 08:40:20 +02:00
unknown
b306777f73 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-09-06 15:17:09 +02:00
unknown
ed04735543 testReadPerf fixes
ndb/test/ndbapi/testReadPerf.cpp:
  clear g_times if compiler don't do it for you
2004-09-06 15:15:35 +02:00
unknown
5cccb45385 -d default on ndb_mgmd and ndbd
-i depricated on ndbd
fixed bug in shutdown command in ndb_mgm


ndb/src/mgmsrv/main.cpp:
  added config.ini as default configuration file
  -d default on ndb_mgmd and ndbd
  -i depricated on ndbd
  fixed bug in shutdown command in ndb_mgm
2004-09-06 12:36:01 +00:00
unknown
d1f54f28d4 testReadPerf
Divide by loops aswell


ndb/test/ndbapi/testReadPerf.cpp:
  Divide by loops aswell
2004-09-06 13:29:49 +02:00
unknown
3d390679e4 removed faked do_work 2004-09-06 10:13:54 +02:00
unknown
f809e037e9 Added testReadPerf that compares different access methods
- pk read (batch and serial)
- unique index read (batch and serial)
- eq-bound ordered index
- range ordered index
- sorted range ordered index
- interpretered scan


ndb/test/ndbapi/Makefile.am:
  Added testReadPerf
ndb/test/ndbapi/testScanPerf.cpp:
  Removed old #ifdef'ed code
2004-09-06 07:08:40 +02:00
unknown
25086da570 Merge mysql.com:/home/jonas/src/mysql-4.1-ndb
into mysql.com:/home/jonas/src/wl2025


ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
  Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Auto merged
2004-09-01 04:52:50 +02:00
unknown
f34a7ff423 run in loop 2004-08-31 16:27:31 +02:00
unknown
dfad106cc3 Merge mysql.com:/home/jonas/src/mysql-4.1-ndb
into mysql.com:/home/jonas/src/wl2025


ndb/src/ndbapi/NdbOperationInt.cpp:
  Auto merged
ndb/src/ndbapi/NdbScanOperation.cpp:
  Auto merged
2004-08-31 15:07:43 +02:00
unknown
042d620948 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
2004-08-31 15:00:50 +02:00
unknown
54c1dc12f8 Update test prg
1) merge join
2) lookups
2004-08-31 14:53:59 +02:00
unknown
2bad0cee50 Interpreter fix + tets prg
ndb/src/ndbapi/NdbOperationInt.cpp:
  Fix so that interpreter is possible together with index scans
ndb/test/ndbapi/Makefile.am:
  New test prog
2004-08-31 10:14:36 +02:00
unknown
9ed92fea50 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/space/pekka/ndb/version/my41-tux


ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
  Auto merged
ndb/src/ndbapi/NdbScanOperation.cpp:
  Auto merged
2004-08-30 15:31:30 +02:00
unknown
629768d576 merge
BitKeeper/etc/logging_ok:
  auto-union
ndb/include/mgmapi/mgmapi_config_parameters.h:
  Auto merged
ndb/src/kernel/vm/Configuration.cpp:
  Auto merged
ndb/src/mgmsrv/ConfigInfo.cpp:
  Auto merged
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
  Auto merged
ndb/src/ndbapi/NdbScanOperation.cpp:
  Auto merged
ndb/src/ndbapi/TransporterFacade.hpp:
  Auto merged
2004-08-30 12:13:11 +02:00
unknown
0f194e61b4 added debug to ndb test 2004-08-27 13:37:00 +00:00
unknown
47eb0b464c tux optim 14 - use pointers to cmp functions
ndb/test/ndbapi/testOIBasic.cpp:
  null related options, not related to this changeset
2004-08-27 13:57:51 +02:00
unknown
987fc11395 see respective file
ndb/src/mgmsrv/InitConfigFileParser.hpp:
  Rename: ndb/src/common/mgmcommon/InitConfigFileParser.hpp -> ndb/src/mgmsrv/InitConfigFileParser.hpp
ndb/src/mgmsrv/InitConfigFileParser.cpp:
  Rename: ndb/src/common/mgmcommon/InitConfigFileParser.cpp -> ndb/src/mgmsrv/InitConfigFileParser.cpp
ndb/src/mgmsrv/ConfigInfo.hpp:
  Rename: ndb/src/common/mgmcommon/ConfigInfo.hpp -> ndb/src/mgmsrv/ConfigInfo.hpp
ndb/src/common/mgmcommon/Makefile.am:
  moved files to mgmsrv
ndb/src/mgmclient/CommandInterpreter.cpp:
  added shutdown command
ndb/src/mgmclient/CommandInterpreter.hpp:
  added shutdown command
ndb/src/mgmsrv/Config.cpp:
  .
ndb/src/mgmsrv/Config.hpp:
  .
ndb/src/mgmsrv/ConfigInfo.cpp:
  wait with this
ndb/src/mgmsrv/Makefile.am:
  moved files to mgmsrv
ndb/test/include/NdbBackup.hpp:
  backup not necessarily in file system path
ndb/test/ndbapi/testDict.cpp:
  compile error
ndb/test/src/NdbBackup.cpp:
  aligned with new config param
2004-08-27 11:48:27 +00:00
unknown
68750ccfda Fixed wrong number of fragment records in DIH
Fixed bug in failed create table
Fixed new test case for failed create table using new ERROR_INSERT


ndb/src/kernel/blocks/ERROR_codes.txt:
  Added new error insert for test of failed create table
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
  Added new error insert for test of failed create table
  Fixed bug in handling failed create table
  Moved some constants to pc.hpp
ndb/src/kernel/vm/Configuration.cpp:
  Added new error insert for test of failed create table
  Fixed bug in handling failed create table
  Moved some constants to pc.hpp
ndb/src/kernel/vm/pc.hpp:
  Constants moved here from DIH
ndb/test/ndbapi/testDict.cpp:
  New test case for failed create table
2004-08-26 18:25:48 +02:00
unknown
00ca62f046 merge count(*) optim with wl2025
BitKeeper/etc/logging_ok:
  auto-union
ndb/src/common/mgmcommon/ConfigInfo.cpp:
  Auto merged
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
  Auto merged
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
  Auto merged
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
  Auto merged
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
  Auto merged
ndb/src/ndbapi/TransporterFacade.hpp:
  Auto merged
2004-08-25 08:49:46 +02:00
unknown
1e91f015ca Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1-ndb


ndb/src/mgmsrv/Services.cpp:
  Auto merged
configure.in:
  Auto merged
acinclude.m4:
  Auto merged
2004-08-24 21:07:08 +02:00
unknown
dbd2625fd7 Compile fix sol9x86
ndb/src/kernel/blocks/grep/Grep.hpp:
  Remove own addRecSignal-methods
ndb/src/kernel/blocks/grep/GrepInit.cpp:
  Remove own addRecSignal-methods
ndb/src/mgmsrv/MgmtSrvr.cpp:
  #ifdef SUNPRO_CC 5.6
ndb/src/ndbapi/NdbEventOperation.cpp:
  Compile fix
ndb/src/ndbapi/NdbScanFilter.cpp:
  #ifdef SUNPRO_CC 5.6
ndb/src/ndbapi/TransporterFacade.hpp:
  Compile fix
ndb/test/ndbapi/testIndex.cpp:
  Compile fix
2004-08-24 14:48:07 +02:00
unknown
e8b2c2c3de added mysql libs to ndb for debug features primarily
ndb/src/mgmclient/CpcClient.cpp:
  small fix
2004-08-24 09:25:23 +00:00
unknown
3831c7a294 Merge build.mysql.com:/home/bk/mysql-4.1-ndb
into build.mysql.com:/users/mronstrom/wl2025


BitKeeper/etc/logging_ok:
  auto-union
ndb/src/common/mgmcommon/ConfigInfo.cpp:
  Auto merged
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
  Auto merged
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
  Auto merged
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
  Auto merged
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
  Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Auto merged
ndb/src/kernel/blocks/suma/Suma.cpp:
  Auto merged
ndb/src/kernel/vm/Configuration.cpp:
  Auto merged
ndb/src/ndbapi/NdbScanOperation.cpp:
  Auto merged
ndb/src/ndbapi/TransporterFacade.cpp:
  Auto merged
ndb/src/ndbapi/TransporterFacade.hpp:
  Auto merged
2004-08-21 15:17:10 +02:00
unknown
aa3e61d312 Compile fixes for Mac OS X 2004-08-20 14:43:23 +02:00
unknown
792c4c23b0 fixes for some compile problems on some platforms
ndb/src/mgmsrv/MgmtSrvr.cpp:
  atoll missing on some platforms
ndb/src/ndbapi/NdbScanOperation.cpp:
  compile error on some platforms
ndb/test/ndbapi/testIndex.cpp:
  Added some explicit templates
ndb/test/ndbapi/testNdbApi.cpp:
  Added some explicit templates
ndb/test/ndbapi/testRestartGci.cpp:
  Added some explicit templates
ndb/test/ndbapi/testScan.cpp:
  Added some explicit templates
ndb/test/run-test/main.cpp:
  Added some explicit templates
ndb/test/src/HugoOperations.cpp:
  Added some explicit templates
ndb/test/tools/cpcc.cpp:
  Added some explicit templates
2004-08-19 15:01:44 +00:00
unknown
3585e4a4f1 Don gather results for unallocated api's 2004-08-18 00:06:18 +02:00
unknown
cdc766a8e5 Limit testIndex CreateAll
Limit testBackup BackupOne
2004-08-17 09:29:00 +02:00
unknown
b95e2525b8 More testBackup fixes
ndb/test/ndbapi/testBackup.cpp:
  Drop table after testBackup
ndb/test/src/NdbBackup.cpp:
  Remove node id
2004-08-17 08:50:01 +02:00
unknown
cee499f1b5 Fix testBackup
ndb/src/ndbapi/TransporterFacade.cpp:
  Retry alloc of node id
2004-08-17 07:48:13 +02:00
unknown
f755cf9e08 1) Removed to hard require
2) Fix variable scope for irix compiler


ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
  Remove part of require
ndb/test/src/NDBT_Tables.cpp:
  old compiler fix
2004-08-15 21:15:40 +02:00
unknown
d9e3b38ffd Minor bugs
ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
  Init page state
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
  Init usr pointer for tcseize/releasereq
ndb/test/src/NDBT_Tables.cpp:
  More error printouts
2004-08-15 20:44:41 +02:00
unknown
db2db3c088 testScan -n ScanRandomTable
testDict -n FragmentType


ndb/test/ndbapi/testDict.cpp:
  Drop table before trying to create with special fragmentation
ndb/test/ndbapi/testScan.cpp:
  testScan -n ScanRandomTable
ndb/test/src/NDBT_Tables.cpp:
  testScan -n ScanRandomTable
2004-08-12 08:54:21 +02:00
unknown
5a9d28e33f Merge mronstrom@bk-internal.mysql.com:/users/mronstrom/wl2025
into mysql.com:/Users/mikron/wl2025


ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
  Auto merged
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
  Auto merged
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
  Auto merged
2004-08-11 17:40:57 +02:00
unknown
b689f4873e Fix of a nasty bug, small but hard to find
Some small printout fixes


ndb/include/kernel/signaldata/ScanFrag.hpp:
  Mixed up Hexadecimal and decimal notation, cost me 5 hours of
  debugging to find, grrr..
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
  Fixed some declaration so that new bigger info fits in variables
ndb/test/ndbapi/testScanPerf.cpp:
  Fix for printing int's instead of Uint64 which for some reason
  caused problems on my Mac.
  Also print performance in each loop.
2004-08-11 12:08:30 +02:00
unknown
ef0d6d35ea Add indexes to test toolkit
ndb/test/include/NDBT_Table.hpp:
  Remove unused parameter
ndb/test/include/NDBT_Tables.hpp:
  Add existsOk
ndb/test/src/NDBT_Tables.cpp:
  Rename C2_* tables to I{123}
  Add indexes to I{123}
ndb/test/src/NDBT_Test.cpp:
  Rename C2_* tables to I{123}
  Add indexes to I{123}
2004-08-11 10:03:43 +02:00
unknown
f4f8b0d873 print test tables
ndb/test/run-test/daily-basic-tests.txt:
  Use T13 (bigger) for testBasic -n Fill
2004-08-11 08:21:31 +02:00
unknown
183e7b6f86 ndb test fixes
ndb/test/ndbapi/testIndex.cpp:
  test fixes
ndb/test/ndbapi/testNodeRestart.cpp:
  test fixes
ndb/test/run-test/daily-devel-tests.txt:
  disable non function test
2004-08-10 15:16:48 +02:00
unknown
96587f58c8 Forgott to update testBackuo w.r.t to ConfigRetreiver 2004-08-09 14:10:50 +02:00
unknown
a95ad750b4 testBlobs take more than 5-minutes (but less than 10) 2004-08-09 13:57:01 +02:00
unknown
89b446969a testTransaction -n FRead*
testTransaction -n *Scan*
testTimeout -n *


ndb/include/kernel/signaldata/DumpStateOrd.hpp:
  Added DUMP for tc appl timeout
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Send tckey conf if m_exec_flags is set
  Added dump for appl timeout
ndb/test/include/HugoOperations.hpp:
  Add scanRead
ndb/test/ndbapi/testTimeout.cpp:
  Reenable
ndb/test/ndbapi/testTransactions.cpp:
  Fix scan test cases
ndb/test/run-test/daily-basic-tests.txt:
  reenable timeout-tests
  added testTransaction -n Scan* testcases
ndb/test/src/HugoOperations.cpp:
  Fix scan
ndb/test/src/NDBT_Test.cpp:
  Drop table before test...(if createTable==true)
2004-08-09 09:44:05 +02:00
unknown
e223c07eb1 Merge joreland@bk-internal.mysql.com:irix
into eel.hemma.oreland.se:/ndb/clone-mysql-4.1-ndb-daily-2004-08-04


BitKeeper/etc/logging_ok:
  auto-union
ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
  Auto merged
ndb/src/cw/cpcd/Process.cpp:
  Auto merged
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
  Auto merged
ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
  Auto merged
ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
  Auto merged
ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp:
  Auto merged
ndb/src/mgmsrv/MgmtSrvr.cpp:
  Auto merged
ndb/test/ndbapi/testBasic.cpp:
  Auto merged
ndb/test/run-test/main.cpp:
  Auto merged
ndb/test/src/HugoTransactions.cpp:
  Auto merged
sql/ha_ndbcluster.cc:
  Auto merged
2004-08-05 22:19:52 +02:00
unknown
22306d0590 wl1292
testInterpreter is no longer built
2004-08-05 13:00:32 +02:00
unknown
39496af4a5 Remove timeout test, as default timeout now is a year 2004-08-05 08:15:58 +02:00
unknown
8b45aa646e wl1292 - workaround for mgmsrv node id problems
ndb/src/cw/cpcd/Makefile.am:
  Put cpcd in libexec
ndb/src/cw/cpcd/Process.cpp:
  Fixed reverse check with ulimit
ndb/test/run-test/main.cpp:
  Restart mgm server aswell on test failure.
  Removes problems with nodeid
2004-08-04 20:48:48 +02:00