diff options
author | unknown <tomas@whalegate.ndb.mysql.com> | 2007-07-11 14:36:44 +0200 |
---|---|---|
committer | unknown <tomas@whalegate.ndb.mysql.com> | 2007-07-11 14:36:44 +0200 |
commit | 49bb7e206b2b04f36f461b59ce7e86d692c7b654 (patch) | |
tree | 72c76087d472791c7e7926cb7fa57f0b466426ba /storage/ndb/tools | |
parent | cd6f2f6b6189b9d2ccb0c45cdfd240eee555b16d (diff) | |
download | mariadb-git-49bb7e206b2b04f36f461b59ce7e86d692c7b654.tar.gz |
fix ndb_version.h so that it is usable and make some functions public to handle ndb version
Diffstat (limited to 'storage/ndb/tools')
-rw-r--r-- | storage/ndb/tools/restore/restore_main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/ndb/tools/restore/restore_main.cpp b/storage/ndb/tools/restore/restore_main.cpp index 79aebbaac45..30ecc695eba 100644 --- a/storage/ndb/tools/restore/restore_main.cpp +++ b/storage/ndb/tools/restore/restore_main.cpp @@ -684,7 +684,7 @@ main(int argc, char** argv) char buf[NDB_VERSION_STRING_BUF_SZ]; info.setLevel(254); info << "Ndb version in backup files: " - << getVersionString(version, 0, buf, sizeof(buf)) << endl; + << ndbGetVersionString(version, 0, buf, sizeof(buf)) << endl; /** * check wheater we can restore the backup (right version). @@ -694,9 +694,9 @@ main(int argc, char** argv) if (version >= MAKE_VERSION(5,1,3) && version <= MAKE_VERSION(5,1,9)) { err << "Restore program incompatible with backup versions between " - << getVersionString(MAKE_VERSION(5,1,3), 0, buf, sizeof(buf)) + << ndbGetVersionString(MAKE_VERSION(5,1,3), 0, buf, sizeof(buf)) << " and " - << getVersionString(MAKE_VERSION(5,1,9), 0, buf, sizeof(buf)) + << ndbGetVersionString(MAKE_VERSION(5,1,9), 0, buf, sizeof(buf)) << endl; exitHandler(NDBT_FAILED); } |