summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-06-06 13:32:33 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-06-06 13:32:33 +0100
commit9a9f67a3250aa0d3bcc26b79a8d43260ccab908b (patch)
treefd426a02b9b8e922dd09c4b08fbfec329ceb784a
parentMove to C++0y (diff)
downloadproject2-9a9f67a3250aa0d3bcc26b79a8d43260ccab908b.tar.bz2
project2-9a9f67a3250aa0d3bcc26b79a8d43260ccab908b.tar.xz
project2-9a9f67a3250aa0d3bcc26b79a8d43260ccab908b.zip
Correct log message when dropping mock DB
-rw-r--r--project2/sql/mockDatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/sql/mockDatabase.cpp b/project2/sql/mockDatabase.cpp
index 96b4ac9..b73001a 100644
--- a/project2/sql/mockDatabase.cpp
+++ b/project2/sql/mockDatabase.cpp
@@ -112,7 +112,7 @@ MockServerDatabase::CreateNewDatabase() const
void
MockServerDatabase::DropDatabase() const
{
- Logger()->messagebf(LOG_INFO, "Creating new database %s", testDbName);
+ Logger()->messagebf(LOG_INFO, "Droping database %s", testDbName);
master->execute("DROP DATABASE IF EXISTS " + testDbName);
MockConnectionLoader::mocks.erase(mockName);
}