aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db/oracle.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-03-20 15:19:20 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-03-20 15:19:20 +0000
commit1fbbc382ccb6f0ffc081c7c1c8704bda6d643fb9 (patch)
tree55f56783ce5e1ad88d831091a67b2dadac52a17f /phpBB/db/oracle.php
parentbcf7d2b674297f96917095bc2b2b80b0a0571eac (diff)
downloadforums-1fbbc382ccb6f0ffc081c7c1c8704bda6d643fb9.tar
forums-1fbbc382ccb6f0ffc081c7c1c8704bda6d643fb9.tar.gz
forums-1fbbc382ccb6f0ffc081c7c1c8704bda6d643fb9.tar.bz2
forums-1fbbc382ccb6f0ffc081c7c1c8704bda6d643fb9.tar.xz
forums-1fbbc382ccb6f0ffc081c7c1c8704bda6d643fb9.zip
Removed set_db and added affectedrows
git-svn-id: file:///svn/phpbb/trunk@109 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/db/oracle.php')
-rw-r--r--phpBB/db/oracle.php21
1 files changed, 16 insertions, 5 deletions
diff --git a/phpBB/db/oracle.php b/phpBB/db/oracle.php
index 0c9f63d5f2..edfe3749c9 100644
--- a/phpBB/db/oracle.php
+++ b/phpBB/db/oracle.php
@@ -64,11 +64,6 @@ class sql_db
//
// Other base methods
//
- function sql_setdb($database)
- {
- // This method does not exist in Oracle.
- return true;
- }
function sql_close()
{
if($this->db_connect_id)
@@ -149,6 +144,22 @@ class sql_db
return false;
}
}
+ function sql_affectedrows($query_id = 0)
+ {
+ if(!$query_id)
+ {
+ $query_id = $this->query_result;
+ }
+ if($query_id)
+ {
+ $result = @OCIRowCount($query_id);
+ return $result;
+ }
+ else
+ {
+ return false;
+ }
+ }
function sql_numfields($query_id = 0)
{
if(!$query_id)