Date: 11/17/99
- Next message: ssilk: "[PHPLIB-DEV] cvs commit"
- Previous message: ssilk: "[PHPLIB-DEV] cvs commit"
- Next in thread: ssilk: "[PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: ssilk
Date: Thu Nov 18 01:33:15 1999
Modified files:
php-lib/php/db_oracle.inc
Log message:
Changed no_next_fetch to ora_no_next_fetch (because it is a speciality
of this lib and should be private, so I don't want to pollute my namespace)
Index: php-lib/php/db_oracle.inc
diff -u php-lib/php/db_oracle.inc:1.18 php-lib/php/db_oracle.inc:1.19
--- php-lib/php/db_oracle.inc:1.18 Thu Nov 18 01:26:02 1999
+++ php-lib/php/db_oracle.inc Thu Nov 18 01:32:44 1999
@@ -4,7 +4,7 @@
*
* Copyright (c) 1998,1999 Luis Francisco Gonzalez Hernandez
*
- * $Id: db_oracle.inc,v 1.18 1999/11/18 00:26:02 ssilk Exp $
+ * $Id: db_oracle.inc,v 1.19 1999/11/18 00:32:44 ssilk Exp $
*
*/
@@ -36,7 +36,7 @@
var $Errno = 0;
var $Error = "";
- var $no_next_fetch=false;
+ var $ora_no_next_fetch=false;
/* copied from db_mysql for completeness */
@@ -149,7 +149,7 @@
}
function next_record() {
- if (!$this->no_next_fetch &&
+ if (!$this->ora_no_next_fetch &&
0 == ora_fetch($this->Query_ID)) {
if ($this->Debug) {
printf("<br>next_record(): ID: %d Row: %d<br>\n",
@@ -177,7 +177,7 @@
$stat=0;
}
} else {
- $this->no_next_fetch=false;
+ $this->ora_no_next_fetch=false;
for($ix=0;$ix<ora_numcols($this->Query_ID);$ix++) {
$col=strtolower(ora_columnname($this->Query_ID,$ix));
$value=ora_getcolumn($this->Query_ID,$ix);
@@ -196,7 +196,7 @@
## opinion is, that this should be done by PHP3
function seek($pos) {
if ($this->Row - 1 == $pos) {
- $this->no_next_fetch=true;
+ $this->ora_no_next_fetch=true;
} elseif ($this->Row == $pos ) {
## do nothing
} else {
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.
- Next message: ssilk: "[PHPLIB-DEV] cvs commit"
- Previous message: ssilk: "[PHPLIB-DEV] cvs commit"
- Next in thread: ssilk: "[PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

