On Jan 12, 2010, at 6:58 AM, Ian Jackson wrote:

> Nikolaus Rath writes ("Re: [sqlite] Reasons for SQLITE_CANTOPEN"):
>> Edzard Pasma <pasm...@concepts.nl> 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
d...@hwaci.com



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

Reply via email to