Re: [sqlite] [sqlite-announce] SQLite version 3.6.7

2008-12-21 Thread William Kyngesburye
On Dec 21, 2008, at 9:09 PM, Dan wrote:

> I found I also needed:
>
>   -DSQLITE_ENABLE_LOCKING_STYLE -D__DARWIN__
>
> Dan.


Huh, __DARWIN__ doesn't seem to be an OSX system macro.  I wonder why  
__APPLE__ isn't used, I figured __DARWIN__ was set.  And I missed  
SQLITE_ENABLE_LOCKING_STYLE in the compile options.  Time to review  
the compile options ;)

-
William Kyngesburye 
http://www.kyngchaos.com/

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin


___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] [sqlite-announce] SQLite version 3.6.7

2008-12-21 Thread Dan

On Dec 22, 2008, at 12:44 AM, William Kyngesburye wrote:

> On Dec 16, 2008, at 12:35 PM, D. Richard Hipp wrote:
>
>> Version 3.6.7 includes a major cleanup of the Unix driver in
>> os_unix.c.  Also included is the new "Proxy Locking" locking module
>> for OSX.  Proxy Locking provides greatly enhanced performance for
>> databases located on AFP filesystems.  The Proxy Locking module is
>> turned off by default.
>>
> Finally got a chance to try this.  When enabling the proxy locking (-
> DSQLITE_PREFER_PROXY_LOCKING) I get a compile error:
>
> sqlite3.c: In function 'unixOpen':
> sqlite3.c:25244: error: storage size of 'fsInfo' isn't known
> sqlite3.c:25252: error: 'MNT_LOCAL' undeclared (first use in this
> function)
> sqlite3.c:25252: error: (Each undeclared identifier is reported only
> once
> sqlite3.c:25252: error: for each function it appears in.)


I found I also needed:

   -DSQLITE_ENABLE_LOCKING_STYLE -D__DARWIN__

Dan.


___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] [sqlite-announce] SQLite version 3.6.7

2008-12-21 Thread William Kyngesburye
On Dec 16, 2008, at 12:35 PM, D. Richard Hipp wrote:

> Version 3.6.7 includes a major cleanup of the Unix driver in
> os_unix.c.  Also included is the new "Proxy Locking" locking module
> for OSX.  Proxy Locking provides greatly enhanced performance for
> databases located on AFP filesystems.  The Proxy Locking module is
> turned off by default.
>
Finally got a chance to try this.  When enabling the proxy locking (- 
DSQLITE_PREFER_PROXY_LOCKING) I get a compile error:

sqlite3.c: In function 'unixOpen':
sqlite3.c:25244: error: storage size of 'fsInfo' isn't known
sqlite3.c:25252: error: 'MNT_LOCAL' undeclared (first use in this  
function)
sqlite3.c:25252: error: (Each undeclared identifier is reported only  
once
sqlite3.c:25252: error: for each function it appears in.)


OSX 10.5.6, Xcode 3.1.2

-
William Kyngesburye 
http://www.kyngchaos.com/

"Those people who most want to rule people are, ipso-facto, those  
least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy


___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users