On Jun 11, 2008, at 10:07 AM, Dennis Cote wrote:

> D. Richard Hipp wrote:
>>> i always get the error "unable to open database file", error number
>>> is 14
>>>
>>
>> Probably it is unable to open a temporary file in /tmp or /var/tmp or
>> wherever temporary files are suppose to live on your system.
>>
>
> This situation seems to come up fairly often. Perhaps it would be a  
> good
> idea to return a different error for this situation, something like
> "unable to create temporary file", which would give users a more
> explicit indication of what the real problem is. I think most users  
> jump
> to the conclusion that this error always refers to the main database
> file, and the existing error doesn't give any indication that there
> could be other causes.
>

Better error messages are always a good idea.  But implementing them,  
especially this one, can be much harder than you might expect.   
Suggested patches are welcomed.  ;-)

D. Richard Hipp
[EMAIL PROTECTED]



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

Reply via email to