[libgda] Fixed compiler warning related to SQLite's sqlite3_module



commit a07ae412307cfe5bcfdda9cdabff9627c38ae723
Author: Vivien Malerba <malerba gnome-db org>
Date:   Thu Aug 16 19:22:11 2012 +0200

    Fixed compiler warning related to SQLite's sqlite3_module

 libgda/sqlite/virtual/gda-vprovider-data-model.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgda/sqlite/virtual/gda-vprovider-data-model.c b/libgda/sqlite/virtual/gda-vprovider-data-model.c
index 0a6f56e..ae978a4 100644
--- a/libgda/sqlite/virtual/gda-vprovider-data-model.c
+++ b/libgda/sqlite/virtual/gda-vprovider-data-model.c
@@ -334,9 +334,11 @@ static sqlite3_module Module = {
 	virtualRollback,              /* xRollback - rollback transaction */
 	NULL,                         /* xFindFunction - function overloading */
 	virtualRename,                /* Rename - Notification that the table will be given a new name */
+#if SQLITE_VERSION_NUMBER >= 3007007
 	NULL,                         /* xSavepoint */  
 	NULL,                         /* xRelease */
 	NULL                          /* xRollbackTo */
+#endif
 };
 
 static GdaConnection *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]