From 4a36e2d2a8b22624347e3f7946321a000dc29b7c Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Mon, 22 Mar 2010 11:45:42 +0100 Subject: [PATCH] Don't error-out when run-time libsqlite is older than build-time libsqlite 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/mozStorageService.cpp b/storage/mozStorageService.cpp index 5b3e6ed1aec..aafd5aa5b9e 100644 --- a/storage/mozStorageService.cpp +++ b/storage/mozStorageService.cpp @@ -184,6 +184,7 @@ already_AddRefed 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::getSingleton() { } MOZ_CRASH("SQLite Version Error"); } +#endif // The first reference to the storage service must be obtained on the // main thread. -- 2.30.2