summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysqli
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-01-26 11:14:24 +0100
committerAndrey Andreev <narf@devilix.net>2015-01-26 11:14:24 +0100
commit2a05fa6f9b65ceec277e13086fba3198f343eba2 (patch)
tree95d39d880f73c4ab5e701739cac70adab72227af /system/database/drivers/mysqli
parentb56de6537e9d9a6156dbeaa325f52d3b6e3792a4 (diff)
Apparently MYSQLI_OPT_READ_TIMEOUT doesn't work on PHP
Diffstat (limited to 'system/database/drivers/mysqli')
-rw-r--r--system/database/drivers/mysqli/mysqli_driver.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php
index d16c98a68..5541eef66 100644
--- a/system/database/drivers/mysqli/mysqli_driver.php
+++ b/system/database/drivers/mysqli/mysqli_driver.php
@@ -126,7 +126,6 @@ class CI_DB_mysqli_driver extends CI_DB {
$mysqli = mysqli_init();
$mysqli->options(MYSQLI_OPT_CONNECT_TIMEOUT, 10);
- $mysqli->options(MYSQLI_OPT_READ_TIMEOUT, 5);
$mysqli->options(MYSQLI_OPT_RECONNECT, 1);
if ($this->stricton)