Providers enumeration should not be continued on most of errors taking place in 
the provider
--------------------------------------------------------------------------------------------

                 Key: CORE-4911
                 URL: http://tracker.firebirdsql.org/browse/CORE-4911
             Project: Firebird Core
          Issue Type: Improvement
    Affects Versions: 3.0 Beta 2, 3.0 Beta 1, 3.0 Alpha 2, 3.0 Alpha 1
            Reporter: Alexander Peshkov


Most of errors, taking place in providers, are fatal, and there is no use 
trying other providers when such errors take place.
For example, if remote redirector detected that format of database connection 
string matches some protocol, it's no use trying other providers if connection 
on that protocol failed. Or when engine reported some internal database error 
(except invalid ODS version) it's no use trying to open that database with 
loopback provider.

It seems that it's better to enumerate error codes after which trying other 
providers makes sense - that's first of all isc_unavailable and isc_no_priv, 
but due to historical reasons (content of status vector for known conditions 
should be kept as it was) adding some more error codes is needed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to