Permalink
Browse files

Remove forced database read connection

Oracle must write explain plan in PLAN_TABLE
  • Loading branch information...
ddalmais committed Mar 16, 2012
1 parent e4c3de1 commit d54388acba17eabd638e07baa0cfeee4e258a438
Showing with 1 addition and 1 deletion.
  1. +1 −1 runtime/lib/query/ModelCriteria.php
@@ -2174,7 +2174,7 @@ public function __clone()
public function explain($con = null)
{
if ($con === null) {
- $con = Propel::getConnection($this->getDbName(), Propel::CONNECTION_READ);
+ $con = Propel::getConnection($this->getDbName());
}
$this->basePreSelect($con);

0 comments on commit d54388a

Please sign in to comment.