On Jan 12, 2010, at 6:58 AM, Ian Jackson wrote:
> Nikolaus Rath writes ("Re: [sqlite] Reasons for SQLITE_CANTOPEN"):
>> Edzard Pasma <[email protected]> writes:
>>> Hope strace (see Roger Binns' post) will help you further. Also lsof
>>> may help.
>>
>> The problem was indeed that I reached the maximum number of fds.
>> Thanks
>> for the help!
>
> If SQLite had reported the errno value from the failed system call,
> the cause would have been obvious and this entire investigation would
> have been unnecessary.
sqlite3_file_control(db, "main", SQLITE_LAST_ERRNO, &errno_value);
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users