[PHP-CVS] cvs: php4 /pear/DB STATUS

2001-01-14 Thread Stig Bakken

ssb Sun Jan 14 17:19:29 2001 EDT

  Modified files:  
/php4/pear/DB   STATUS 
  Log:
  * status update: odbc now supports errorNative
  
  
Index: php4/pear/DB/STATUS
diff -u php4/pear/DB/STATUS:1.13 php4/pear/DB/STATUS:1.14
--- php4/pear/DB/STATUS:1.13Sun Jan  7 18:45:28 2001
+++ php4/pear/DB/STATUS Sun Jan 14 17:19:28 2001
@@ -9,17 +9,15 @@
   "n" - returns "not capable"
   "-" - no implementation of this feature
 
-Each symbol is uppercased as tests are written for the feature.
-
 FEATURE ibase   msqlmssql   mysql   oci8odbcpgsql   sybase
 simpleQuery   x   x   x   T   x   x   T   x
 numCols   x   x   x   T   x   x   T   x
 numRows   n   x   x   T   n   n   T   n
-errorNative   n   n   n   T   x   n   T   n
+errorNative   n   n   n   T   x   x   T   n
 prepare/execute   x   e   e   E   x   e   E   e
 sequences n   n   n   E   n   n   T   n
 affectedRows  n   n   n   T   x   n   T   n
 fetch modes   x   x   x   T   x   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   -   x   E  -
+error mapping -   -   -   T   -   x   E   -



-- 
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]




[PHP-CVS] cvs: php4 /pear/DB STATUS

2001-03-25 Thread Stig Bakken

ssb Sun Mar 25 02:25:11 2001 EDT

  Modified files:  
/php4/pear/DB   STATUS 
  Log:
  wrapped to 80 columns, replaced a few "-" with "n" for ifx (some
  features are emulated through DB_common)
  
  
Index: php4/pear/DB/STATUS
diff -u php4/pear/DB/STATUS:1.17 php4/pear/DB/STATUS:1.18
--- php4/pear/DB/STATUS:1.17Sat Mar 24 10:56:24 2001
+++ php4/pear/DB/STATUS Sun Mar 25 02:25:10 2001
@@ -9,16 +9,16 @@
   "n" - returns "not capable"
   "-" - no implementation of this feature
 
-FEATURE ibase   msqlmssql   mysql   oci8odbcpgsql   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   -
+FEATURE ibase  ifx   msql   mssql  mysql  oci8   odbc   pgsql  sybase
+simpleQuery   x x  x  x  T  T  x  T  x
+numCols   x x  x  x  T  T  x  T  x
+numRows   n n  x  x  T  E  n  T  n
+errorNative   n x  n  n  T  x  x  T  n
+prepare/execute   x e  e  e  E  T  e  E  e
+sequences n n  n  n  E  T  n  T  n
+affectedRows  n x  n  n  T  T  n  T  n
+fetch modes   x x(t)   x  x  T  T  x  T  x
+transactions  x n  n  n  n  x  x  x  n
+auto-commit   x n  n  n  n  x  x  x  n
+error mapping - -  -  -  T  T  x  E  -
+tableInfo n n  n  n  T  n  n  n  n



-- 
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]




[PHP-CVS] cvs: php4 /pear/DB STATUS ifx.php

2001-03-24 Thread Thomas V.V.Cox

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.16Fri 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   msqlmssql   mysql   oci8odbcpgsql   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   msqlmssql   mysql   oci8odbcpgsql   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.1Fri Mar 23 11:26:55 2001
+++ php4/pear/DB/ifx.phpSat 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]