mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-15 05:26:37 +03:00
Fixed farto in error checking assigning description values
Unnoticed since Feb 2011 \o/
This commit is contained in:
parent
d251d51b34
commit
74fd0ec063
|
@ -1294,7 +1294,7 @@ _pq_fetch_tuples(cursorObject *curs)
|
|||
PyTuple_SET_ITEM(dtitem, 4, tmp);
|
||||
|
||||
if (!(tmp = PyInt_FromLong(fmod & 0xFFFF))) {
|
||||
PyTuple_SET_ITEM(dtitem, 5, tmp);
|
||||
goto err_for;
|
||||
}
|
||||
PyTuple_SET_ITEM(dtitem, 5, tmp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user