Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.8.0
-
Component/s: Zend_Db_Adapter_Oracle
-
Labels:None
-
Tags:
Description
It seems a bit inconsistent that oci_connect() errors are suppressed in _connect() when dbname is provided in config.ini, but are not supressed when dbname isn't present.
It caused me a bit of head scratching during a recent connection issue.
In this case, Zend_Db_Adapter_Abstract will throw an exception with _checkRequiredOptions():
Zend_Db_Adapter_Exception("Configuration array must have a key for 'dbname' that names the database instance")Since SVN5014, this part of code is unused.
Zend_Db_Adapter_Exception("Configuration array must have a key for 'dbname' that names the database instance")