PyGreSQL-3.0 bug + patch

Поиск
Список
Период
Сортировка
Искать

PyGreSQL-3.0 bug + patch

От:
"Billy G. Allie" <Bill.Allie@mug.org>
Дата:
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    | 
FAQ