From 793ff0fec9d438bfdcf63e04f1d6897cadbf7a8a Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Tue, 23 Jul 2013 22:16:04 +0200 Subject: [PATCH] Fix lastInsertId for OCI8 adapter --- lib/db/adapteroci8.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/db/adapteroci8.php b/lib/db/adapteroci8.php index 6123007cb2f..3ff98af04fe 100644 --- a/lib/db/adapteroci8.php +++ b/lib/db/adapteroci8.php @@ -14,9 +14,8 @@ class AdapterOCI8 extends Adapter { if($table !== null) { $suffix = '_SEQ'; $table = '"'.$table.$suffix.'"'; - $table = $this->conn->replaceTablePrefix( $table ); } - return $this->conn->lastInsertId($table); + return $this->conn->realLastInsertId($table); } public function fixupStatement($statement) { -- 2.39.5