Author: Don Armstrong <don@debian.org>
Last-Update: Fri, 25 Sep 2015 19:51:02 UTC
Bug-Debian: http://bugs.debian.org/800042
Forwarded: no-needed
Comment: We suppose that Upstream tightened dependency on purpose to reduce bug
 reports.
 ****************
 This patch was deactivated in RSQLite 1.1 since version checking is done differently now ... hopefully in the relaxed manner as needed
Description: Do not check unecessarily for strict version equivalence between
 compiled version and runtime version

--- a/src/driver.c
+++ b/src/driver.c
@@ -32,13 +32,6 @@ SQLiteDriver* rsqlite_driver() {
 void rsqlite_driver_init(SEXP records_, SEXP cache_) {
   if (dbManager) return; // Already allocated
 
-  const char* clientVersion = sqlite3_libversion();
-  if (strcmp(clientVersion, compiledVersion)) {
-    error("SQLite mismatch between compiled version %s and runtime version %s",
-        compiledVersion, clientVersion
-    );
-  }
-
   dbManager = malloc(sizeof(SQLiteDriver));
   if (!dbManager) {
     error("could not malloc the dbManger");
