Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to fetch after a sql statement without a result should raise exception [PYFB35] #32

Closed
firebird-automations opened this issue May 7, 2013 · 5 comments

Comments

@firebird-automations
Copy link

Submitted by: @pcisar

According to DB API 2.0 spec:

An Error <http://www.python.org/dev/peps/pep-0249/#error> (or subclass) exception is raised if the previous call to .execute*() <http://www.python.org/dev/peps/pep-0249/#id14> 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.

Commits: 74637bc a336033 FirebirdSQL/fbt-repository@07c370d FirebirdSQL/fbt-repository@85ea220

@firebird-automations
Copy link
Author

Modified by: @pcisar

status: Open [ 1 ] => Closed [ 6 ]

resolution: Fixed [ 1 ]

Fix Version: 1.2 [ 10530 ]

@firebird-automations
Copy link
Author

Commented by: @pcisar

Reopenned to change fix version.

@firebird-automations
Copy link
Author

Modified by: @pcisar

status: Closed [ 6 ] => Reopened [ 4 ]

resolution: Fixed [ 1 ] =>

@firebird-automations
Copy link
Author

Commented by: @pcisar

Fix version changed.

@firebird-automations
Copy link
Author

Modified by: @pcisar

status: Reopened [ 4 ] => Closed [ 6 ]

resolution: Fixed [ 1 ]

Fix Version: 1.1.1 [ 10540 ]

Fix Version: 1.2 [ 10530 ] =>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants