changed: added 'logsave' when we are waiting for the database to be ready

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@913 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2013-01-19 10:10:17 +00:00
parent 496a1979d2
commit ce8152de2f
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ void DbConn::WaitForConnection()
{ {
if( !pg_conn || PQstatus(pg_conn) != CONNECTION_OK ) if( !pg_conn || PQstatus(pg_conn) != CONNECTION_OK )
{ {
log << log3 << "Db: waiting for the db to be ready...." << logend; log << log3 << "Db: waiting for the db to be ready...." << logend << logsave;
while( !AssertConnection(false, false) ) while( !AssertConnection(false, false) )
sleep(5); sleep(5);