Toby Peterson <t...@apple.com> writes:

> On Oct 10, 2011, at 5:10 PM, Bert Huijben wrote:
>
>> -----Original Message-----
>>> From: Philip Martin [mailto:philip.mar...@wandisco.com]
>>> Sent: maandag 10 oktober 2011 16:48
>>> To: Mark Phippard
>>> Cc: Barry Scott; Subversion Development
>>> Subject: Re: Problem with checkout for 1.7.0-rc4
>> 
>>>> This is the version that comes with OSX 10.7:
>>>> 
>>>> $ /usr/bin/sqlite3 -version
>>>> 3.7.5
>>> 
>>> Looking at sqlite.h I see this comment on sqlite3_enable_shared_cache:
>>> 
>>> ** ^Note: This method is deprecated on MacOS X 10.7 and iOS version 5.0
>>> ** and will always return SQLITE_MISUSE, instead of calling this function
>>> ** shared cache mode should be enabled per-database connection via
>>> ** sqlite3_open_v2 with SQLITE_OPEN_SHAREDCACHE instead.
>> 
>> I don't see this comment in the 3.7.5 version as downloaded from 
>> www.sqlite.org.
>> 
>> Is this from a patch that Apple applied?

I was looking at the source code repository on sqlite.org, but today I can't
identify which branch/tag I looked at yesterday :-(

> Apple ships a modified SQLite; its source is available. See 
> http://www.opensource.apple.com/source/SQLite/SQLite-117/ - specifically, 
> http://www.opensource.apple.com/source/SQLite/SQLite-117/derived_source/sqlite3.h

sqlite-3.6.18, our minimum version, has SQLITE_OPEN_SHAREDCACHE.  I
suppose we could start using that instead of sqlite3_enable_shared_cache.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com

Reply via email to