diff options
author | deva <deva> | 2011-02-17 15:03:46 +0000 |
---|---|---|
committer | deva <deva> | 2011-02-17 15:03:46 +0000 |
commit | eab5027694025e34b9ed0ad44f22a2db3e89feda (patch) | |
tree | 8167c848ae0ee7d918c6b707750b645c0f75033c /server/src/database.cc | |
parent | bb8b75573bf891ebf0fa871cee1cd5d80cb2a02f (diff) |
Finished implementation of new database layout in testdb.
Diffstat (limited to 'server/src/database.cc')
-rw-r--r-- | server/src/database.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/database.cc b/server/src/database.cc index 81b495f..27e903f 100644 --- a/server/src/database.cc +++ b/server/src/database.cc @@ -34,7 +34,8 @@ #include "pracrodaopgsql.h" #include "pracrodaotest.h" -Database::Database(std::string _backend, std::string _host, std::string _port, std::string _user, std::string _passwd, std::string _dbname) +Database::Database(std::string _backend, std::string _host, std::string _port, + std::string _user, std::string _passwd, std::string _dbname) { dao = NULL; #ifndef WITHOUT_DB @@ -48,8 +49,7 @@ Database::Database(std::string _backend, std::string _host, std::string _port, s #endif/*WITHOUT_DB*/ if(_backend == "testdb") { DEBUG(db, "Running with 'testdb'\n"); - Data data; - dao = new PracroDAOTest(data, true); + dao = new PracroDAOTest(true); return; } |