Skip to content
Snippets Groups Projects
Unverified Commit 28be188f authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Update internal connection class


executeUpdate is deprecated in favor of executeStatement.
We overwrote the old one hence the prefix was no longer replaced.

Signed-off-by: default avatarRoeland Jago Douma <roeland@famdouma.nl>
parent ef2cb2d6
No related branches found
No related tags found
No related merge requests found
......@@ -232,11 +232,11 @@ class Connection extends ReconnectWrapper implements IDBConnection {
*
* @throws \Doctrine\DBAL\DBALException
*/
public function executeUpdate($query, array $params = [], array $types = []) {
public function executeStatement($query, array $params = [], array $types = []) {
$query = $this->replaceTablePrefix($query);
$query = $this->adapter->fixupStatement($query);
$this->queriesExecuted++;
return parent::executeUpdate($query, $params, $types);
return parent::executeStatement($query, $params, $types);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment