From: | "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org> |
---|---|
To: | pygresql(at)vex(dot)net |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | PyGreSQL-3.0 bug + patch |
Date: | 2000-06-04 05:40:47 |
Message-ID: | 200006040540.BAA13726@bajor.mug.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
Attachment | Content-Type | Size |
---|---|---|
patch.20000604-1 | text/plain | 1.3 KB |
unknown_filename | text/plain | 223 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | moenk S | 2000-06-04 14:17:28 | jdbc, applet -> servlet;corba ?? |
Previous Message | Nissim | 2000-06-03 16:12:15 | JDBC setTimestamp/getTimestamp |