Fix lastInsertId for OCI8 adapter

This commit is contained in:
Bart Visscher 2013-07-23 22:16:04 +02:00
parent 3eb5fff02a
commit 793ff0fec9
1 changed files with 1 additions and 2 deletions

View File

@ -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) {