#496500 follow-up by Damien Tournoud: Fixed PostgreSQL and SQLite.

merge-requests/26/head
Angie Byron 2009-08-31 17:07:21 +00:00
parent b4786ff0ee
commit 7d1a9b8d3d
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ class UpdateQuery_pgsql extends UpdateQuery {
}
if (count($this->condition)) {
$this->condition->compile($this->connection);
$this->condition->compile($this->connection, $this);
$arguments = $this->condition->arguments();
foreach ($arguments as $placeholder => &$value) {

View File

@ -107,7 +107,7 @@ class UpdateQuery_sqlite extends UpdateQuery {
}
}
if (count($condition)) {
$condition->compile($this->connection);
$condition->compile($this->connection, $this);
$this->condition->where((string) $condition, $condition->arguments());
}
return parent::execute();