diff options
author | deva <deva> | 2009-11-11 11:38:29 +0000 |
---|---|---|
committer | deva <deva> | 2009-11-11 11:38:29 +0000 |
commit | 74a5e26ca92218e15bc4d4d74080ea0761618ff8 (patch) | |
tree | fbf0a91866b9edf6570f414c565021252fc0f4fc /server/src/database.cc | |
parent | cc585b00aece855f87b1b79b9414c559eb547c97 (diff) |
Made database noisy if unknown databse backend is requested.
Diffstat (limited to 'server/src/database.cc')
-rw-r--r-- | server/src/database.cc | 3 |
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() |