[Subversion] / PEAK / CHANGES.txt  

Revision 1834


Jump to revision:
Previous Next
Author: tsarna
Date: Fri Oct 8 15:51:29 2004 UTC (19 years, 7 months ago)

Log Message:

The Sybase DB-API driver doesn't like it if you try to fetch
nonexistsant results.  For a long time we've had hacks in various places
that check to see if cursor has a description and if not, avoids doing
anything with it.

This hack has been multiplying all over the place, which is bad, and was
forgotten in other places causing errors, which is worse. Instead,
centralize this hack in SQLCursor.__iter__, so that a nonexistant result
set can safely be iterated over as an empty set.

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/src/peak/storage/SQL.py modified X   (diff to previous)
PEAK/src/peak/storage/connections.py modified X   (diff to previous)
PEAK/src/peak/storage/cursor_formatters.py modified X   (diff to previous)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help