Skip to content
Browse files

Remove forced database read connection

Oracle must write explain plan in PLAN_TABLE
  • Loading branch information...
1 parent e4c3de1 commit d54388acba17eabd638e07baa0cfeee4e258a438 @ddalmais ddalmais committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 runtime/lib/query/ModelCriteria.php
View
2 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.
Something went wrong with that request. Please try again.