1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

DB stuff, nothing cool at all unless you use Oracle.

git-svn-id: file:///svn/phpbb/trunk@6006 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2006-06-03 20:34:40 +00:00
parent d198979747
commit 9aa9cb4bb6
4 changed files with 170 additions and 169 deletions

View File

@@ -314,12 +314,12 @@ class dbal_oracle extends dbal
$stmt = @ociparse($this->db_connect_id, $query);
@ociexecute($stmt, OCI_DEFAULT );
$temp_result = @ocifetchinto($stmt, $temp_result, OCI_ASSOC + OCI_RETURN_NULLS);
$temp_result = @ocifetchinto($stmt, $temp_array, OCI_ASSOC + OCI_RETURN_NULLS);
@ocifreestatement($stmt);
if ($temp_result)
{
return $temp_result['CURRVAL'];
return $temp_array['CURRVAL'];
}
else
{