native error handling in PEAR::DB drivers

From: Date: Mon, 09 Jun 2003 11:12:53 +0000
Subject: native error handling in PEAR::DB drivers
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17196@lists.php.net to get a copy of this message
these are the bases of errorNative() methods of individual drivers: DB/fbsql.php : fbsql_errno() DB/ibase.php : - DB/ifx.php : ifx_error() . ' ' . ifx_errormsg() DB/msql.php : - DB/mssql.php : - DB/mysql.php : mysql_errno() DB/mysql4.php : mysql_errno() DB/oci8.php : OCIError()['code'] DB/odbc.php : odbc_error() . ' ' . odbc_errormsg() DB/pgsql.php : pg_errormessage() DB/sybase.php : sybase_get_last_message() shouldnn't they all behave the same, returning either the number or the text? I'd like to push some of the code up to the parent (DB::common), but these trivial differences make it problematic. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html

« previous php.pear.dev (#17196) next »