Date: 07/17/00
- Next message: Arslan Bahar: "[phplib-dev] :PLEASE HELP ABOUT ORACLE CONNECTION"
- Previous message: Kirill Maximov: "Re: [phplib-dev] affected_rows() with db_oracle.inc"
- Next in thread: ssilk: "[phplib-dev] cvs commit"
- Maybe reply: ssilk: "[phplib-dev] cvs commit"
- Maybe reply: ssilk: "[phplib-dev] cvs commit"
- Maybe reply: ssilk: "[phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: kir
Date: Mon Jul 17 16:56:41 2000
Modified files:
php-lib/CHANGES
php-lib/php/db/oracle/db_sql.inc
Log message:
- db_oracle.inc sets Error variables correctly after unsuccessful connect.
So now you can see the reason of failed connect. Works _only_
with the latest CVS of PHP3/4.
Index: php-lib/CHANGES
diff -u php-lib/CHANGES:1.182 php-lib/CHANGES:1.183
--- php-lib/CHANGES:1.182 Fri Jul 14 02:49:02 2000
+++ php-lib/CHANGES Mon Jul 17 16:56:10 2000
@@ -1,4 +1,9 @@
-$Id: CHANGES,v 1.182 2000/07/14 00:49:02 ssilk Exp $
+$Id: CHANGES,v 1.183 2000/07/17 14:56:10 kir Exp $
+
+17-Jul-2000 kir
+ - db_oracle.inc sets Error variables correctly after unsuccessful connect.
+ So now you can see the reason of failed connect. Works _only_
+ with the latest CVS of PHP3/4.
14-Jul-2000
- Forgot to mention, that the name of the class is not longer
Index: php-lib/php/db/oracle/db_sql.inc
diff -u php-lib/php/db/oracle/db_sql.inc:1.2 php-lib/php/db/oracle/db_sql.inc:1.3
--- php-lib/php/db/oracle/db_sql.inc:1.2 Sun Jul 2 00:08:34 2000
+++ php-lib/php/db/oracle/db_sql.inc Mon Jul 17 16:56:11 2000
@@ -4,7 +4,7 @@
*
* Copyright (c) 1998,1999 Luis Francisco Gonzalez Hernandez
*
- * $Id: db_sql.inc,v 1.2 2000/07/01 22:08:34 kir Exp $
+ * $Id: db_sql.inc,v 1.3 2000/07/17 14:56:11 kir Exp $
*
*/
@@ -108,8 +108,8 @@
}
if (!$this->Link_ID) {
- $this->Errno = <email protected>(0);
- $this->Error = <email protected>(0);
+ $this->Errno = <email protected>();
+ $this->Error = <email protected>();
$this->halt("connect() Link-ID == false " .
", ora_plogon failed");
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>
- Next message: Arslan Bahar: "[phplib-dev] :PLEASE HELP ABOUT ORACLE CONNECTION"
- Previous message: Kirill Maximov: "Re: [phplib-dev] affected_rows() with db_oracle.inc"
- Next in thread: ssilk: "[phplib-dev] cvs commit"
- Maybe reply: ssilk: "[phplib-dev] cvs commit"
- Maybe reply: ssilk: "[phplib-dev] cvs commit"
- Maybe reply: ssilk: "[phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

