Skip to content

Commit

Permalink
Connection: reconnectWithConfig() recreates SqlProcessor [closes #13]
Browse files Browse the repository at this point in the history
  • Loading branch information
JanTvrdik committed Jul 28, 2015
1 parent 1f4f6d7 commit 4c7f499
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public function reconnectWithConfig(array $config)
$this->disconnect();
$this->config = $this->processConfig($config);
$this->driver = $this->createDriver($this->config);
$this->sqlPreprocessor = new SqlProcessor($this->driver);
$this->connect();
}

Expand Down

0 comments on commit 4c7f499

Please sign in to comment.