mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
Some cleanup
git-svn-id: file:///svn/phpbb/trunk@104 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -110,13 +110,12 @@ class sql_db
|
||||
$row_offset = 0;
|
||||
$num_rows = $limits[2];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$this->query_result = OCIParse($this->db_connect_id, $query);
|
||||
OCIExecute($this->query_result);
|
||||
$success = OCIExecute($this->query_result);
|
||||
}
|
||||
}
|
||||
if($this->query_result)
|
||||
if($success)
|
||||
{
|
||||
unset($this->row[$this->query_result]);
|
||||
unset($this->rowset[$this->query_result]);
|
||||
@@ -177,7 +176,7 @@ class sql_db
|
||||
}
|
||||
if($query_id)
|
||||
{
|
||||
$result = OCIColumnName($query_id, $offset);
|
||||
$result = strtolower(OCIColumnName($query_id, $offset));
|
||||
return $result;
|
||||
}
|
||||
else
|
||||
@@ -339,7 +338,11 @@ class sql_db
|
||||
}
|
||||
function sql_error($query_id = 0)
|
||||
{
|
||||
$result = OCIError($this->db_connect_id);
|
||||
if(!$query_id)
|
||||
{
|
||||
$query_id = $this->query_result;
|
||||
}
|
||||
$result = OCIError($query_id);
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user