luislavena/sqlite3-ruby — pull request #54 by evgeny-myasishchev (2011-11-21 20:30:40+00:00)
Title: Prepared parametrized statement fails if previous execution has raised error.

Following scenario causes error:

* Suppose we have a table Employees with unique column "name"
* Prepare parametrized statement that inserts new employee with name as parameter
* Bind and execute statement with paramenter "employee-1"
* Do the same again. As expected constraint exception is raised which is correct
* Bind and execute statement with paramenter "employee-2". The statement fails with previous error!

Pull request includes test to reproduce the issue.