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

Misleading error message in exception from Statement::exec #156

Closed
alanbirtles opened this issue Mar 26, 2018 · 3 comments
Closed

Misleading error message in exception from Statement::exec #156

alanbirtles opened this issue Mar 26, 2018 · 3 comments
Assignees
Labels

Comments

@alanbirtles
Copy link

alanbirtles commented Mar 26, 2018

If Statement::exec is executed with mbDone set to true then an exception is thrown with the correct error code SQLITE_MISUSE returned from tryExec but the error message is "not an error"

@SRombauts
Copy link
Owner

Good catch, thanks for reporting it!

@SRombauts SRombauts self-assigned this Mar 26, 2018
@SRombauts SRombauts added the bug label Mar 26, 2018
@tiendq
Copy link

tiendq commented Nov 23, 2018

@alanbirtles How does it happen? Did you mention this function?

@alanbirtles
Copy link
Author

just execute a statement twice without resetting it

This was referenced May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants