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:
parent
496a1979d2
commit
ce8152de2f
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue