Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Writing to database does not throw an error if not successful #5

Closed
GoogleCodeExporter opened this issue Aug 18, 2015 · 2 comments
Closed

Comments

@GoogleCodeExporter
Copy link
Contributor

This can happen if e.g. a double value is nan, writing to the database fails, 
but no error is thrown. This leads to a broken database without the user 
realiying it.

Check how to notice the error in sqlite commands.

Original issue reported on code.google.com by victor.r...@gmail.com on 22 Sep 2011 at 2:25

@GoogleCodeExporter
Copy link
Contributor Author

I did not manage to reproduce the error yet. I could insert an inf into 
database without any problems.

We need a testcase which reproduces this bug.

Original comment by victor.r...@gmail.com on 23 Sep 2011 at 9:04

@GoogleCodeExporter
Copy link
Contributor Author

Added an additional error check. If this doesn't solve the issue, reopen again.

Original comment by victor.r...@gmail.com on 23 Sep 2011 at 10:28

  • Changed state: Fixed

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

No branches or pull requests

1 participant