diff options
author | Andrey Andreev <narf@devilix.net> | 2016-06-08 10:06:59 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-06-08 10:06:59 +0200 |
commit | ed6f01077abb8946b54413d383fa1b7b46cd3d1f (patch) | |
tree | 96e2953ae40ab8e6161746ea9cd33566f02c4b56 /system/database/drivers/mssql | |
parent | 83630055ab671867b14f02d45370eb0bc41a0cb0 (diff) |
Make db_select() clear cached database metadata
Diffstat (limited to 'system/database/drivers/mssql')
-rw-r--r-- | system/database/drivers/mssql/mssql_driver.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/drivers/mssql/mssql_driver.php b/system/database/drivers/mssql/mssql_driver.php index d40d67a0b..66d7572e4 100644 --- a/system/database/drivers/mssql/mssql_driver.php +++ b/system/database/drivers/mssql/mssql_driver.php @@ -158,6 +158,7 @@ class CI_DB_mssql_driver extends CI_DB { if (mssql_select_db('['.$database.']', $this->conn_id)) { $this->database = $database; + $this->data_cache = array(); return TRUE; } |