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: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
ef2cb2d6a1
commit
28be188fbc
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue