summaryrefslogtreecommitdiff
path: root/ndb/test/ndbapi/testScanInterpreter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/test/ndbapi/testScanInterpreter.cpp')
-rw-r--r--ndb/test/ndbapi/testScanInterpreter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/test/ndbapi/testScanInterpreter.cpp b/ndb/test/ndbapi/testScanInterpreter.cpp
index 3b5baf954e0..5a7ca30cd2a 100644
--- a/ndb/test/ndbapi/testScanInterpreter.cpp
+++ b/ndb/test/ndbapi/testScanInterpreter.cpp
@@ -90,7 +90,7 @@ int runCreateResultTable(NDBT_Context* ctx, NDBT_Step* step){
const NdbDictionary::Table* pTab = ctx->getTab();
char newTabName[256];
- snprintf(newTabName, 256, "%s_RES", pTab->getName());
+ BaseString::snprintf(newTabName, 256, "%s_RES", pTab->getName());
ctx->setProperty("ResultTabName", newTabName);
NdbDictionary::Table resTab(* pTab);
@@ -273,6 +273,7 @@ TESTCASE("ScanLessThanLoop",
NDBT_TESTSUITE_END(testScanInterpreter);
int main(int argc, const char** argv){
+ ndb_init();
return testScanInterpreter.execute(argc, argv);
}