summaryrefslogtreecommitdiff
path: root/server/src/database.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/database.cc')
-rw-r--r--server/src/database.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/database.cc b/server/src/database.cc
index 3ec12cb..47cd877 100644
--- a/server/src/database.cc
+++ b/server/src/database.cc
@@ -45,12 +45,13 @@ Database::Database(std::string _backend, std::string _host, std::string _port, s
}
#endif/*WITHOUT_DB*/
if(_backend == "testdb") {
+ PRACRO_DEBUG(db, "Running with 'testdb'\n");
Data data;
dao = new PracroDAOTest(data, true);
return;
}
- PRACRO_ERR(database, "Cannot find database backend \"%s\"", _backend.c_str());
+ PRACRO_ERR(db, "Cannot find database backend \"%s\"", _backend.c_str());
}
Database::~Database()