mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10772] Fixed build for different PostgreSQL version at diff platforms.
* Fixed Problem in different place define OID enums. Enums hardcoded in mangos code now as done for many other projects using PostgreSQL * Other PostgreSQL detection fixes. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
1b1d5c1001
commit
06b382abb9
4 changed files with 110 additions and 12 deletions
|
|
@ -95,6 +95,7 @@ bool DatabasePostgre::Initialize(const char *infoString)
|
|||
sLog.outError( "Could not connect to Postgre database at %s: %s",
|
||||
host.c_str(), PQerrorMessage(mPGconn));
|
||||
PQfinish(mPGconn);
|
||||
mPGconn = NULL;
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue