diff Core/SQLite/Statement.h @ 137:0e97abc7b950

fix of a bug in older versions of sqlite
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Oct 2012 13:13:14 +0200
parents 6212bf978584
children f333c0398f6e
line wrap: on
line diff
--- a/Core/SQLite/Statement.h	Tue Oct 09 18:21:01 2012 +0200
+++ b/Core/SQLite/Statement.h	Wed Oct 10 13:13:14 2012 +0200
@@ -95,6 +95,11 @@
                 const StatementId& id,
                 const char* sql);
 
+      ~Statement()
+      {
+        Reset();
+      }
+
       bool Run();
 
       bool Step();