Issue Details (XML | Word | Printable)

Key: PYFB-35
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Pavel Cisar
Reporter: Pavel Cisar
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird driver for Python

Call to fetch after a sql statement without a result should raise exception

Created: 07/May/13 10:52 AM   Updated: 14/May/13 11:32 AM
Component/s: None
Affects Version/s: 1.1
Fix Version/s: 1.1.1

 Description  « Hide
According to DB API 2.0 spec:

An Error <> (or subclass) exception is raised if the previous call to .execute*() <> did not produce any result set or no call was issued yet.

Instead reporting correct error, FDB response to fetch on executed statement that doesn't return any result ends with memory access violation error.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Cisar added a comment - 14/May/13 11:32 AM
Reopenned to change fix version.

Pavel Cisar added a comment - 14/May/13 11:32 AM
Fix version changed.