diff Core/SQLite/Connection.cpp @ 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 c996319e90bc
children 2dece1526c06
line wrap: on
line diff
--- a/Core/SQLite/Connection.cpp	Tue Oct 09 18:21:01 2012 +0200
+++ b/Core/SQLite/Connection.cpp	Wed Oct 10 13:13:14 2012 +0200
@@ -41,6 +41,7 @@
 #include <sqlite3.h>
 #include <string.h>
 
+#include <glog/logging.h>
 
 
 namespace Orthanc
@@ -149,6 +150,7 @@
 
     bool Connection::Execute(const char* sql) 
     {
+      VLOG(1) << "SQLite::Connection::Execute " << sql;
       CheckIsOpen();
 
       int error = sqlite3_exec(db_, sql, NULL, NULL, NULL);