diff options
Diffstat (limited to 'src/shared/Database/DatabaseEnv.h')
-rw-r--r-- | src/shared/Database/DatabaseEnv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/Database/DatabaseEnv.h b/src/shared/Database/DatabaseEnv.h index 2e89d74e97c..d5d6867e82f 100644 --- a/src/shared/Database/DatabaseEnv.h +++ b/src/shared/Database/DatabaseEnv.h @@ -17,13 +17,17 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + #if !defined(DATABASEENV_H) #define DATABASEENV_H + #include "Common.h" #include "Log.h" #include "Errors.h" + #include "Database/Field.h" #include "Database/QueryResult.h" + #ifdef DO_POSTGRESQL #include "Database/QueryResultPostgre.h" #include "Database/Database.h" @@ -43,8 +47,10 @@ typedef DatabaseMysql DatabaseType; #define _CONCAT3_(A,B,C) "CONCAT( " A " , " B " , " C " )" #define _OFFSET_ "LIMIT %d,1" #endif + extern DatabaseType WorldDatabase; extern DatabaseType CharacterDatabase; extern DatabaseType loginDatabase; + #endif |