mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 09:29:46 +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",
|
"name", "type_code", "display_size", "internal_size",
|
||||||
"precision", "scale", "null_ok", "table_oid", "table_column", NULL};
|
"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,
|
&name, &type_code, &display_size, &internal_size, &precision,
|
||||||
&scale, &null_ok, &table_oid, &table_column)) {
|
&scale, &null_ok, &table_oid, &table_column)) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user