mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
Set the initial connection status to CONN_STATUS_SETUP.
Without it the changes in e79528f9aa1f7457573720fce5548302fefffd37 are never used.
This commit is contained in:
parent
6108e4dc92
commit
61f890c317
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user