Skip to content

Commit

Permalink
Test commenting out the return false scenario in validateReconnectAtt…
Browse files Browse the repository at this point in the history
…empt
  • Loading branch information
jackdpeterson committed Jun 27, 2016
1 parent 68946b6 commit a84faf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DBAL/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,10 @@ public function prepareUnwrapped($sql)
*/
public function validateReconnectAttempt(DBALException $e, $attempt)
{
/** removing to test and see if this resolves the issue at hand
if (!$this->getTransactionNestingLevel()) {
return false;
}
}**/

if ($this->reconnectAttempts && $attempt < $this->reconnectAttempts) {
$reconnectExceptions = $this->_driver->getReconnectExceptions();
Expand Down

0 comments on commit a84faf4

Please sign in to comment.