summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
Diffstat (limited to 'ndb')
-rw-r--r--ndb/test/ndbapi/create_tab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/test/ndbapi/create_tab.cpp b/ndb/test/ndbapi/create_tab.cpp
index f3f18982ed0..283c83d30e0 100644
--- a/ndb/test/ndbapi/create_tab.cpp
+++ b/ndb/test/ndbapi/create_tab.cpp
@@ -77,8 +77,8 @@ int main(int argc, const char** argv){
*/
// Connect to Ndb
+ Ndb::setConnectString(_connectstr);
Ndb MyNdb( "TEST_DB" );
- MyNdb.setConnectString(_connectstr);
if(MyNdb.init() != 0){
ERR(MyNdb.getNdbError());