Re: [sqlite] Error in the Doc

2010-11-21 Thread Igor Tandetnik
Vander Clock Stephane  wrote:
> just to say you that the doc probably want to say :
> 
> If the 3rd parameter to sqlite3_open_v2() is not one of the combinations
> shown above or *NOT* one of the combinations
> shown above combined with the SQLITE_OPEN_NOMUTEX,
> SQLITE_OPEN_FULLMUTEX, SQLITE_OPEN_SHAREDCACHE and/or
> SQLITE_OPEN_PRIVATECACHE flags, then the behavior is undefined.
> 
> it's forget the word "*NOT*" :)

The current sentence structure of "not A or B" clearly means "not (A or B)" - 
in other words, "neither A nor B". I don't see how anyone could reasonably 
interpret it to mean "(not A) or B".

In any case, if you really want to clarify it, make it say "not A and not B". 
The phrase "not A or not B" changes the meaning.
-- 
Igor Tandetnik

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


[sqlite] Error in the Doc

2010-11-21 Thread Vander Clock Stephane
Hello,

just to say you that the doc probably want to say :

If the 3rd parameter to sqlite3_open_v2() is not one of the combinations 
shown above or *NOT* one of the combinations
shown above combined with the SQLITE_OPEN_NOMUTEX, 
SQLITE_OPEN_FULLMUTEX, SQLITE_OPEN_SHAREDCACHE and/or
SQLITE_OPEN_PRIVATECACHE flags, then the behavior is undefined.

it's forget the word "*NOT*" :)

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