On Apr 19, 2008, at 9:19 AM, Toby Roworth wrote:
>>
>> What value are you passing as the 4th argument to
>> sqlite3_open_v2()? (I assume you are using sqlite3_open_v2()
>> since that seems the mostly likely way to get this error.)
>>
> I'm passing a blank string - this would appear to be the problem!
> errorCode = sqlite3_open_v2("data/texts.db", &dataBase,
> SQLITE_OPEN_READONLY, "");
>
A null pointer (aka zero). 0. Very different from an
empty string.
D. Richard Hipp
[EMAIL PROTECTED]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users