mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Replace prefix in executeUpdate
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
9d559d282e
commit
f49630f48c
1 changed files with 3 additions and 0 deletions
|
|
@ -219,6 +219,9 @@ class Connection extends ReconnectWrapper implements IDBConnection {
|
|||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue