> On 4-10-2012 19:30, Vlad Khorsun wrote:
>>>    I don't know wether it has something to do with CORE-3940, but
>>
>> ...
>>>  gbak:    activating and creating deferred index IDX_RMGM_IMPORT_DNA
>>> gbak:cannot commit index IDX_RMGM_IMPORT_DNA
>>>  gbak: ERROR:operating system directive CreateFile failed
>>>  gbak: ERROR:    Das Gerät ist nicht bereit.
>>
>>
>>       i see no relation with CORE-3940
>>
>>  ...
>>>  Am I right that the CreateFile was when firebird tries to create temporary 
>>> files?
>>
>>       Sooner of all - yes

> Why does Firebird return such a low level OS-dependent(?) error message
> instead of returning a Firebird-specific message that explains what went
> wrong (eg creating temporary files), instead of why it failed (the
> low-level error message)?

- because it was written this way many years ago (before it became Firebird)
- because without original lowest-level error it is impossible to find a reason 
for failure
- because in most cases it is obvious what Firebird did at failure moment

    I agree that sometime more context from intermediate levels could help to 
better
understand what happens. For example, when transliterate error happens it is 
good
to know assignment destination (field or variable) name. I'm not sure it is 
easy to
implement. But in the case of "CreateFile failed" when index is built... - i 
see nothing
to add here, it is clear enough as for me...

Regards,
Vlad


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to