You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code in the tarball tries to catch SqliteExceptions but fails to do so even in release mode. This seems like a bug to me. I understand that some checking can be done at compile time but sometimes one wants to generate the SQL to be used at runtime and wants to catch any problems. prob1.tar.gz
The text was updated successfully, but these errors were encountered:
This is normal, because in -release mode asserts are removed, so you get the chance of catching the exception. assert is there to catch programming bugs.
@mark-summerfield The assert is triggered before throwing an exception in non-release mode. But in release mode, an SqliteException should be triggered. Actually it is, on my machine with your own code. Did I miss something?
The code in the tarball tries to catch SqliteExceptions but fails to do so even in release mode. This seems like a bug to me. I understand that some checking can be done at compile time but sometimes one wants to generate the SQL to be used at runtime and wants to catch any problems.
prob1.tar.gz
The text was updated successfully, but these errors were encountered: