PyGreSQL-3.0 bug + patch - Mailing list pgsql-interfaces

From Billy G. Allie
Subject PyGreSQL-3.0 bug + patch
Date
Msg-id 200006040540.BAA13726@bajor.mug.org
Whole thread Raw
List pgsql-interfaces
The fetch() function in pgmodule.c contains an error where it does not return
the next row each time it is called.  It always returns the first row of the
result set.  The following patch corrects the problem.  It also replaces the
call to bzero() with a call to memset().  Both memset (twice) and bzero (once)
were used in pgmodule.c.  I changed bzero to memset to be consistant in usage.
Finally, a string with an embedded newline is fixed.
____       | Billy G. Allie    | Domain....: Bill.Allie@mug.org
|  /|      | 7436 Hartwell     | Compuserve: 76337,2061
|-/-|----- | Dearborn, MI 48126| MSN.......: B_G_Allie@email.msn.com
|/  |LLIE  | (313) 582-1540    |

Attachment

pgsql-interfaces by date:

Previous
From: Nissim
Date:
Subject: JDBC setTimestamp/getTimestamp
Next
From: moenk S
Date:
Subject: jdbc, applet -> servlet;corba ??