summaryrefslogtreecommitdiff
path: root/server/src/database.h
diff options
context:
space:
mode:
authordeva <deva>2008-08-04 10:31:45 +0000
committerdeva <deva>2008-08-04 10:31:45 +0000
commit98b90925d863531c3a6c75de15fb686b1fb1891f (patch)
tree9e6e54df55f4b7e30c4b9c9d447dcd4fe150ff35 /server/src/database.h
parentbd8221d2791718f02ab1d067c797c62b29da9106 (diff)
Made server able to run (compile-time) without postgres and the uploadserver. Fixed problems in the exclusion of pentominos support. Fixed bug in db query field iteration.
Diffstat (limited to 'server/src/database.h')
-rw-r--r--server/src/database.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/database.h b/server/src/database.h
index 85f8cd7..bd3139e 100644
--- a/server/src/database.h
+++ b/server/src/database.h
@@ -77,7 +77,9 @@ public:
void disconnect() {}
private:
+#ifndef WITHOUT_DB
pqxx::connection c;
+#endif/*WITHOUT_DB*/
};
#endif/*__PRACRO_DATABASE_H__*/