Ngugi1 / sqlite-net

Automatically exported from code.google.com/p/sqlite-net
0 stars 0 forks source link

Reset does not clear bindings in ExecuteNonQuery #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
http://www.sqlite.org/c3ref/clear_bindings.html

public class PreparedSqlLiteInsertCommand : IDisposable

Changes lines to this

            r = SQLite3.Step(Statement);
            //clear the binding so they do not get saved.
            SQLite3.ClearBindings(Statement);

I found this and fixed it locally before sending you a copy.

Original issue reported on code.google.com by joseph.f...@gmail.com on 4 Dec 2010 at 4:57