commit | ed6f01077abb8946b54413d383fa1b7b46cd3d1f | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Wed Jun 08 11:06:59 2016 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Wed Jun 08 11:06:59 2016 +0300 |
tree | 96e2953ae40ab8e6161746ea9cd33566f02c4b56 | |
parent | 83630055ab671867b14f02d45370eb0bc41a0cb0 [diff] [blame] |
Make db_select() clear cached database metadata
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php index 06c3418..f52163c 100644 --- a/system/database/drivers/mysqli/mysqli_driver.php +++ b/system/database/drivers/mysqli/mysqli_driver.php
@@ -256,6 +256,7 @@ if ($this->conn_id->select_db($database)) { $this->database = $database; + $this->data_cache = array(); return TRUE; }