Output Memgraph version to stdout on startup

Reviewers: teon.banek, mferencevic

Reviewed By: teon.banek

Differential Revision: https://phabricator.memgraph.io/D2627
This commit is contained in:
Ivan Paljak 2020-01-17 13:02:50 +01:00
parent cc2160d397
commit 3a88668ace

View File

@ -423,6 +423,9 @@ class AuthQueryHandler final : public query::AuthQueryHandler {
};
void SingleNodeMain() {
std::cout << "You are running Memgraph v" << gflags::VersionString()
<< std::endl;
// All enterprise features should be constructed before the main database
// storage. This will cause them to be destructed *after* the main database
// storage. That way any errors that happen during enterprise features