Merge pull request #23863 from nextcloud/bugfix/noid/db-update
Replace prefix in executeUpdate
This commit is contained in:
commit
2466902e2a
|
@ -219,6 +219,9 @@ class Connection extends ReconnectWrapper implements IDBConnection {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function executeUpdate($sql, array $params = [], array $types = []) {
|
public function executeUpdate($sql, array $params = [], array $types = []) {
|
||||||
|
$sql = $this->replaceTablePrefix($sql);
|
||||||
|
$sql = $this->adapter->fixupStatement($sql);
|
||||||
|
$this->queriesExecuted++;
|
||||||
return parent::executeUpdate($sql, $params, $types);
|
return parent::executeUpdate($sql, $params, $types);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue