Fix lastInsertId for OCI8 adapter
This commit is contained in:
parent
3eb5fff02a
commit
793ff0fec9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue