Skip to content

Commit

Permalink
Added query logging to DboSource::insertMulti(). Closes #3354
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Nov 9, 2012
1 parent ec3e85e commit 7360abb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Cake/Model/Datasource/DboSource.php
Expand Up @@ -2917,6 +2917,10 @@ public function insertMulti($table, $fields, $values) {
}
$statement->execute();
$statement->closeCursor();

if ($this->fullDebug) {
$this->logQuery($sql, $value);
}
}
return $this->commit();
}
Expand Down

0 comments on commit 7360abb

Please sign in to comment.