Permalink
Browse files

Format DBMysql code

  • Loading branch information...
1 parent 460b90f commit 0469a2ca7aed6aa83a226009bf585a8839addf64 @ddalmais ddalmais committed Mar 16, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 runtime/lib/adapter/DBMySQL.php
@@ -261,12 +261,12 @@ public function prepareParams($params)
*/
public function doExplainPlan(PropelPDO $con, $query) {
if ($query instanceof ModelCriteria) {
- $params = array();
- $dbMap = Propel::getDatabaseMap($query->getDbName());
- $sql = BasePeer::createSelectSql($query, $params);
- $sql = 'EXPLAIN ' . $sql;
+ $params = array();
+ $dbMap = Propel::getDatabaseMap($query->getDbName());
+ $sql = BasePeer::createSelectSql($query, $params);
+ $sql = 'EXPLAIN ' . $sql;
} else {
- $sql = 'EXPLAIN ' . $query;
+ $sql = 'EXPLAIN ' . $query;
}
$stmt = $con->prepare($sql);

0 comments on commit 0469a2c

Please sign in to comment.