mssql: fixing lastInsertId() implementation

This commit is contained in:
Thomas Mueller 2013-11-02 20:21:19 +01:00
parent d25c8b43e6
commit 5ecebe211b

View file

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