cox Sat Mar 24 10:56:25 2001 EDT Modified files: /php4/pear/DB STATUS ifx.php Log: Minor fixes Index: php4/pear/DB/STATUS diff -u php4/pear/DB/STATUS:1.16 php4/pear/DB/STATUS:1.17 --- php4/pear/DB/STATUS:1.16 Fri Mar 23 23:00:45 2001 +++ php4/pear/DB/STATUS Sat Mar 24 10:56:24 2001 @@ -9,16 +9,16 @@ "n" - returns "not capable" "-" - no implementation of this feature -FEATURE ibase msql mssql mysql oci8 odbc pgsql sybase -simpleQuery x x x T T x T x -numCols x x x T T x T x -numRows n x x T E n T n -errorNative n n n T x x T n -prepare/execute x e e E T e E e -sequences n n n E T n T n -affectedRows n n n T T n T n -fetch modes x x x T T x T x -transactions x n n n x x x n -auto-commit x n n n x x x n -error mapping - - - T T x E - -tableInfo n n n T n n n n +FEATURE ibase msql mssql mysql oci8 odbc pgsql sybase ifx +simpleQuery x x x T T x T x x +numCols x x x T T x T x x +numRows n x x T E n T n n +errorNative n n n T x x T n x +prepare/execute x e e E T e E e - +sequences n n n E T n T n - +affectedRows n n n T T n T n x +fetch modes x x x T T x T x x +transactions x n n n x x x n - +auto-commit x n n n x x x n - +error mapping - - - T T x E - x +tableInfo n n n T n n n n - Index: php4/pear/DB/ifx.php diff -u php4/pear/DB/ifx.php:1.1 php4/pear/DB/ifx.php:1.2 --- php4/pear/DB/ifx.php:1.1 Fri Mar 23 11:26:55 2001 +++ php4/pear/DB/ifx.php Sat Mar 24 10:56:24 2001 @@ -67,7 +67,7 @@ $connect_function = $persistent ? 'ifx_pconnect' : 'ifx_connect'; $this->connection = @$connect_function($dbname, $user, $pw); if ($this->connection == false) { - return $this->ifxraiseError(); + return $this->ifxraiseError(DB_ERROR_CONNECT_FAILED); } return DB_OK; } @@ -201,7 +201,7 @@ $errno = $this->errorCode(); } - return $this->raiseError($errno, false, false, false, + return $this->raiseError($errno, null, null, null, $this->errorNative()); } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]