aboutsummaryrefslogtreecommitdiff
path: root/common/query/test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/query/test.hxx')
-rw-r--r--common/query/test.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/query/test.hxx b/common/query/test.hxx
index d2d28d2..b69be3c 100644
--- a/common/query/test.hxx
+++ b/common/query/test.hxx
@@ -14,8 +14,6 @@
#include <odb/core.hxx>
#include <odb/nullable.hxx>
-#include <common/config.hxx> // DATABASE_XXX
-
typedef std::vector<char> buffer;
typedef odb::nullable<buffer> nullable_buffer;
@@ -56,7 +54,7 @@ struct person
unsigned short age_;
bool married_;
-#ifdef DATABASE_PGSQL
+#ifdef ODB_DATABASE_PGSQL
#pragma db column ("key") type ("BYTEA") null
#else
#pragma db column ("key") type ("BLOB") null