From 3b2908b51eb4099900f572776a592bd197e542f1 Mon Sep 17 00:00:00 2001 From: Federico Di Gregorio Date: Tue, 29 May 2007 08:14:58 +0000 Subject: [PATCH] Patchset copy_expert 2/5. --- ChangeLog | 5 ++++- psycopg/cursor_type.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6baf3863..735b0e02 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,9 @@ 2007-05-29 Federico Di Gregorio - * Applied whitespace normalization patch from David Rushby (copy_expert set.) + * 64 bit fix patch from David Rushby (copy_expert set 2/5.) + + * Applied whitespace normalization patch from David Rushby (copy_expert + set 1/5.) 2007-04-25 Federico Di Gregorio diff --git a/psycopg/cursor_type.c b/psycopg/cursor_type.c index e5c7e7ae..e77247f2 100644 --- a/psycopg/cursor_type.c +++ b/psycopg/cursor_type.c @@ -1083,7 +1083,7 @@ static int _psyco_curs_copy_columns(PyObject *columns, char *columnlist) PyObject *col, *coliter; Py_ssize_t collen; char* colname; - int offset = 1; + Py_ssize_t offset = 1; columnlist[0] = '\0'; if (columns == NULL || columns == Py_None) return 0;