mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 01:19:45 +03:00
Fix segmentation fault
This commit is contained in:
parent
bc79abace1
commit
1f6ec4d3c3
|
@ -111,7 +111,7 @@ column_init(columnObject *self, PyObject *args, PyObject *kwargs)
|
|||
"name", "type_code", "display_size", "internal_size",
|
||||
"precision", "scale", "null_ok", "table_oid", "table_column", NULL};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOOOOOOO", kwlist,
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|UOOOOOOOO", kwlist,
|
||||
&name, &type_code, &display_size, &internal_size, &precision,
|
||||
&scale, &null_ok, &table_oid, &table_column)) {
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user