Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #156 Misleading error message in exception from Statement::exec
Fix #199 the problem is that tryExecuteStep returns SQLITE_MISUSE when it was not used properly. Since this is set manually this is not the error state of the statement, so when checking the error message of the statement there obviously is none, since there was no error. fixes this problem by checking whether the error code is the same as the error state of the statement
- Loading branch information