Don't error-out when run-time libsqlite is older than build-time libsqlite
authorMike Hommey <mh@glandium.org>
Mon, 22 Mar 2010 10:45:42 +0000 (11:45 +0100)
committerMike Hommey <glandium@debian.org>
Wed, 8 Jan 2020 21:40:28 +0000 (21:40 +0000)
In Debian, we have shlibs to handle this.

Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Don-t-error-out-when-run-time-libsqlite-is-older-tha.patch

storage/mozStorageService.cpp

index 5b3e6ed1aec95200a935a7ace52e6c69ceff6c24..aafd5aa5b9ed2f2412b45e677d5fc58585f7a305 100644 (file)
@@ -184,6 +184,7 @@ already_AddRefed<Service> Service::getSingleton() {
     return do_AddRef(gService);
   }
 
+#if 0
   // Ensure that we are using the same version of SQLite that we compiled with
   // or newer.  Our configure check ensures we are using a new enough version
   // at compile time.
@@ -208,6 +209,7 @@ already_AddRefed<Service> Service::getSingleton() {
     }
     MOZ_CRASH("SQLite Version Error");
   }
+#endif
 
   // The first reference to the storage service must be obtained on the
   // main thread.