mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-03-04 08:05:45 +03:00
replication_connection_type: mark state setting to help cpychecker
This commit is contained in:
parent
c123439e66
commit
86d460e80b
|
@ -107,7 +107,7 @@ replicationConnection_init(replicationConnectionObject *self,
|
||||||
|
|
||||||
self->conn.autocommit = 1;
|
self->conn.autocommit = 1;
|
||||||
Py_INCREF(cursor);
|
Py_INCREF(cursor);
|
||||||
self->conn.cursor_factory = cursor;
|
self->conn.cursor_factory = TO_STATE(cursor);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
Py_XDECREF(item);
|
Py_XDECREF(item);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user