mssql: fixing lastInsertId() implementation

remotes/origin/stable6
Thomas Mueller 12 years ago
parent d25c8b43e6
commit 5ecebe211b
  1. 6
      lib/private/db/adaptersqlsrv.php

@ -11,10 +11,8 @@ namespace OC\DB;
class AdapterSQLSrv extends Adapter {
public function lastInsertId($table) {
if($table !== null) {
$table = $this->conn->replaceTablePrefix( $table );
}
return $this->conn->lastInsertId($table);
return $this->conn->realLastInsertId($table);
}
public function fixupStatement($statement) {

Loading…
Cancel
Save