diff options
author | unknown <joreland@mysql.com> | 2004-12-29 16:01:43 +0100 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2004-12-29 16:01:43 +0100 |
commit | d31dd70b5a99eb5268a065a8913a089639618401 (patch) | |
tree | 7b14a398656749dc0b62fbd40f965969b8b8ed82 /ndb/test/tools/hugoLoad.cpp | |
parent | 821e062b270995f9d15793843eeb574a76d97777 (diff) | |
download | mariadb-git-d31dd70b5a99eb5268a065a8913a089639618401.tar.gz |
ndb - Update test programs to use new Ndb constructor
ndb/test/include/NDBT_Test.hpp:
Update to use new Ndb constructor
ndb/test/ndbapi/bank/Bank.cpp:
Update to use new Ndb constructor
ndb/test/ndbapi/bank/Bank.hpp:
Update to use new Ndb constructor
ndb/test/ndbapi/bank/bankCreator.cpp:
Update to use new Ndb constructor
ndb/test/ndbapi/bank/bankMakeGL.cpp:
Update to use new Ndb constructor
ndb/test/ndbapi/bank/bankSumAccounts.cpp:
Update to use new Ndb constructor
ndb/test/ndbapi/bank/bankTimer.cpp:
Update to use new Ndb constructor
ndb/test/ndbapi/bank/bankTransactionMaker.cpp:
Update to use new Ndb constructor
ndb/test/ndbapi/bank/bankValidateAllGLs.cpp:
Update to use new Ndb constructor
ndb/test/ndbapi/bank/testBank.cpp:
Update to use new Ndb constructor
ndb/test/ndbapi/create_all_tabs.cpp:
Update to use new Ndb constructor
ndb/test/ndbapi/create_tab.cpp:
Update to use new Ndb constructor
ndb/test/ndbapi/drop_all_tabs.cpp:
Update to use new Ndb constructor
ndb/test/ndbapi/flexBench.cpp:
Update to use new Ndb constructor
ndb/test/src/NDBT_Test.cpp:
Update to use new Ndb constructor
ndb/test/tools/copy_tab.cpp:
Update to use new Ndb constructor
ndb/test/tools/create_index.cpp:
Update to use new Ndb constructor
ndb/test/tools/hugoFill.cpp:
Update to use new Ndb constructor
ndb/test/tools/hugoLoad.cpp:
Update to use new Ndb constructor
ndb/test/tools/hugoLockRecords.cpp:
Update to use new Ndb constructor
ndb/test/tools/hugoPkDelete.cpp:
Update to use new Ndb constructor
ndb/test/tools/hugoPkRead.cpp:
Update to use new Ndb constructor
ndb/test/tools/hugoPkReadRecord.cpp:
Update to use new Ndb constructor
ndb/test/tools/hugoPkUpdate.cpp:
Update to use new Ndb constructor
ndb/test/tools/hugoScanRead.cpp:
Update to use new Ndb constructor
ndb/test/tools/hugoScanUpdate.cpp:
Update to use new Ndb constructor
ndb/test/tools/verify_index.cpp:
Update to use new Ndb constructor
Diffstat (limited to 'ndb/test/tools/hugoLoad.cpp')
-rw-r--r-- | ndb/test/tools/hugoLoad.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ndb/test/tools/hugoLoad.cpp b/ndb/test/tools/hugoLoad.cpp index c697ad22aad..7d9d0dafaff 100644 --- a/ndb/test/tools/hugoLoad.cpp +++ b/ndb/test/tools/hugoLoad.cpp @@ -54,7 +54,12 @@ int main(int argc, const char** argv){ _tabname = argv[optind]; // Connect to Ndb - Ndb MyNdb( "TEST_DB" ); + Ndb_cluster_connection con; + if(con.connect(12, 5, 1) != 0) + { + return NDBT_ProgramExit(NDBT_FAILED); + } + Ndb MyNdb(&con, "TEST_DB" ); if(MyNdb.init() != 0){ ERR(MyNdb.getNdbError()); |