diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-07-23 22:16:04 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-07-23 22:16:04 +0200 |
commit | 793ff0fec9d438bfdcf63e04f1d6897cadbf7a8a (patch) | |
tree | e78987f6880576a00403f1789b03b03408ddad23 /lib/db | |
parent | 3eb5fff02a477fbb3bd4080a4eb4e773e8db5d1f (diff) | |
download | nextcloud-server-793ff0fec9d438bfdcf63e04f1d6897cadbf7a8a.tar.gz nextcloud-server-793ff0fec9d438bfdcf63e04f1d6897cadbf7a8a.zip |
Fix lastInsertId for OCI8 adapter
Diffstat (limited to 'lib/db')
-rw-r--r-- | lib/db/adapteroci8.php | 3 |
1 files changed, 1 insertions, 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) { |