Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 7360abb0fe7c2194817572766028bfa812f8b810 1 parent ec3e85e
@ADmad ADmad authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Cake/Model/Datasource/DboSource.php
View
4 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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.