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/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php index 78b1d70..7804dda 100644 --- a/system/database/drivers/mysql/mysql_driver.php +++ b/system/database/drivers/mysql/mysql_driver.php
@@ -208,6 +208,7 @@ if (mysql_select_db($database, $this->conn_id)) { $this->database = $database; + $this->data_cache = array(); return TRUE; }