[11049] Fix mangos and SD2 compilation after commits [11045] and [11047].

Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
Ambal 2011-01-19 23:50:27 +02:00
parent 0941a3f851
commit 4ddedf0804
7 changed files with 15 additions and 5 deletions

View file

@ -67,6 +67,11 @@ SqlConnection * DatabasePostgre::CreateConnection()
return new PostgreSQLConnection();
}
PostgreSQLConnection::~PostgreSQLConnection()
{
PQfinish(mPGconn);
}
bool PostgreSQLConnection::Initialize(const char *infoString)
{
Tokens tokens = StrSplit(infoString, ";");