summaryrefslogtreecommitdiff
path: root/libdbpp/mockDatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libdbpp/mockDatabase.cpp')
-rw-r--r--libdbpp/mockDatabase.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libdbpp/mockDatabase.cpp b/libdbpp/mockDatabase.cpp
index 9cb916f..db192bd 100644
--- a/libdbpp/mockDatabase.cpp
+++ b/libdbpp/mockDatabase.cpp
@@ -117,6 +117,12 @@ MockServerDatabase::~MockServerDatabase()
delete master;
}
+const std::string &
+MockServerDatabase::databaseName() const
+{
+ return testDbName;
+}
+
void
MockServerDatabase::CreateNewDatabase() const
{