summaryrefslogtreecommitdiff
path: root/server/src/server.cc
diff options
context:
space:
mode:
authordeva <deva>2009-08-07 11:27:18 +0000
committerdeva <deva>2009-08-07 11:27:18 +0000
commitd35bafeec39b6688a8dd07c51ea304e348b10fa2 (patch)
treeb615a7e28f5927841feb92d0b3c2da7f6c9feafa /server/src/server.cc
parentfeed25360fe7b71d2ebdb523673d667e79123236 (diff)
Added new testdb, that can be activated through the cli (-d testdb) or through the config file (database_backend = testdb) .
Diffstat (limited to 'server/src/server.cc')
-rw-r--r--server/src/server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/server.cc b/server/src/server.cc
index d0e9524..a47eb28 100644
--- a/server/src/server.cc
+++ b/server/src/server.cc
@@ -299,7 +299,7 @@ static void handleConnection(TCPSocket *socket)
pentominos_socket.connect(Conf::pentominos_addr, Conf::pentominos_port);
#endif/*WITHOUT_PENTOMINOS*/
- Database db("pgsql", Conf::database_addr, "", Conf::database_user, Conf::database_passwd, "");
+ Database db(Conf::database_backend, Conf::database_addr, "", Conf::database_user, Conf::database_passwd, "");
JournalWriter journalwriter(Conf::journal_commit_addr.c_str(), Conf::journal_commit_port);