From 2a05fa6f9b65ceec277e13086fba3198f343eba2 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 26 Jan 2015 12:14:24 +0200 Subject: Apparently MYSQLI_OPT_READ_TIMEOUT doesn't work on PHP --- system/database/drivers/mysqli/mysqli_driver.php | 1 - 1 file changed, 1 deletion(-) (limited to 'system/database/drivers/mysqli/mysqli_driver.php') 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) -- cgit v1.2.3-24-g4f1b