Permalink
Browse files

Added query logging to DboSource::insertMulti(). Closes #3354

  • Loading branch information...
1 parent ec3e85e commit 7360abb0fe7c2194817572766028bfa812f8b810 @ADmad ADmad committed Nov 9, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Cake/Model/Datasource/DboSource.php
@@ -2917,6 +2917,10 @@ public function insertMulti($table, $fields, $values) {
}
$statement->execute();
$statement->closeCursor();
+
+ if ($this->fullDebug) {
+ $this->logQuery($sql, $value);
+ }
}
return $this->commit();
}

0 comments on commit 7360abb

Please sign in to comment.