Skip to content

Commit

Permalink
fix_begin_transaction_after_reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
k.kalinin committed Sep 20, 2019
1 parent de23082 commit 98c4e0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Doctrine/DBAL/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ public function connect()
$this->_params['password'] : null;

$this->_conn = $this->_driver->connect($this->_params, $user, $password, $driverOptions);

$this->_transactionNestingLevel = 0;
$this->_isConnected = true;

if (null === $this->platform) {
Expand Down

0 comments on commit 98c4e0c

Please sign in to comment.