diff options
author | click <none@none> | 2010-05-06 09:53:09 +0200 |
---|---|---|
committer | click <none@none> | 2010-05-06 09:53:09 +0200 |
commit | cb84d3e617975d172ec1be043810554bac09cb83 (patch) | |
tree | 4e2ed1445865704d8ac6959f240847942a7659f0 /src/shared/Database/DatabaseEnv.h | |
parent | 38061a6fa6dc661125175e82ff98104761acb70a (diff) |
Cleanup : Remove postgreSQL-support (not used and has also been broken for a long time)
--HG--
branch : trunk
Diffstat (limited to 'src/shared/Database/DatabaseEnv.h')
-rw-r--r-- | src/shared/Database/DatabaseEnv.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/shared/Database/DatabaseEnv.h b/src/shared/Database/DatabaseEnv.h index 67afe0b6162..6546fc217a7 100644 --- a/src/shared/Database/DatabaseEnv.h +++ b/src/shared/Database/DatabaseEnv.h @@ -28,16 +28,6 @@ #include "Database/Field.h" #include "Database/QueryResult.h" -#ifdef DO_POSTGRESQL -#include "Database/QueryResultPostgre.h" -#include "Database/Database.h" -#include "Database/DatabasePostgre.h" -typedef DatabasePostgre DatabaseType; -#define _LIKE_ "ILIKE" -#define _TABLE_SIM_ "\"" -#define _CONCAT3_(A,B,C) "( " A " || " B " || " C " )" -#define _OFFSET_ "LIMIT 1 OFFSET %d" -#else #include "Database/QueryResultMysql.h" #include "Database/Database.h" #include "Database/DatabaseMysql.h" @@ -46,7 +36,6 @@ typedef DatabaseMysql DatabaseType; #define _TABLE_SIM_ "`" #define _CONCAT3_(A,B,C) "CONCAT( " A " , " B " , " C " )" #define _OFFSET_ "LIMIT %d,1" -#endif extern DatabaseType WorldDatabase; extern DatabaseType CharacterDatabase; |