Commit 4b74a50f authored by Guilherme Blanco's avatar Guilherme Blanco

Merge pull request #432 from deeky666/fix-mysqli-driver-options

Fix mysqli driver options
parents 439e33a9 e878cd74
......@@ -48,6 +48,8 @@ class MysqliConnection implements Connection, PingableConnection
$this->_conn = mysqli_init();
$this->setDriverOptions($driverOptions);
$previousHandler = set_error_handler(function () {
});
......@@ -62,8 +64,6 @@ class MysqliConnection implements Connection, PingableConnection
if (isset($params['charset'])) {
$this->_conn->set_charset($params['charset']);
}
$this->setDriverOptions($driverOptions);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment