Set the initial connection status to CONN_STATUS_SETUP.

Without it the changes in e79528f9aa1f7457573720fce5548302fefffd37 are
never used.
This commit is contained in:
Jan Urbański 2010-04-10 20:52:55 +02:00 committed by Federico Di Gregorio
parent 6108e4dc92
commit 61f890c317

View File

@ -353,7 +353,7 @@ conn_async_connect(connectionObject *self)
PQsetNoticeProcessor(pgconn, conn_notice_callback, (void*)self);
self->status = CONN_STATUS_ASYNC;
self->status = CONN_STATUS_SETUP;
return 0;
}