summaryrefslogtreecommitdiff
path: root/ndb/examples/select_all/select_all.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/examples/select_all/select_all.cpp')
-rw-r--r--ndb/examples/select_all/select_all.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/examples/select_all/select_all.cpp b/ndb/examples/select_all/select_all.cpp
index bd25fb60128..24bb1214bd2 100644
--- a/ndb/examples/select_all/select_all.cpp
+++ b/ndb/examples/select_all/select_all.cpp
@@ -98,7 +98,7 @@ void ResultSetContainer::init(NdbDictionary::Dictionary * dict,
// Store all attribute names for the table
for (int i = 0; i < m_cols; i++) {
m_names[i] = new char[255];
- snprintf(m_names[i], 255, "%s", tab->getColumn(i)->getName());
+ BaseString::snprintf(m_names[i], 255, "%s", tab->getColumn(i)->getName());
}
}