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-issue-importer opened this issue May 7, 2013 · 5 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented May 7, 2013

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 7, 2013

Modified by: @pcisar

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

resolution: Fixed [ 1 ]

Fix Version: 1.2 [ 10530 ]

Loading

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 14, 2013

Commented by: @pcisar

Reopenned to change fix version.

Loading

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 14, 2013

Modified by: @pcisar

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

resolution: Fixed [ 1 ] =>

Loading

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 14, 2013

Commented by: @pcisar

Fix version changed.

Loading

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 14, 2013

Modified by: @pcisar

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

resolution: Fixed [ 1 ]

Fix Version: 1.1.1 [ 10540 ]

Fix Version: 1.2 [ 10530 ] =>

Loading

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

Successfully merging a pull request may close this issue.

None yet
2 participants