I just wonder, why the $query->list_fields() method throws an empty array if i enable the DB query caching.This is actually a Codeigniter Method to get query fields names.
But at the same time, It works fine if i do not enable db query caching. This issue is also in Windows server, so i believe Environment doesn't matter at all.
Also, i have checked with MySQL native function "mysqli_fetch_field" to get field name in both server (Linux and Windows). It works fine. So i believe the issue only with Db query caching.
For your information, I am using Codeigniter Version 3.
Ref: Codeigniter $this->list_fields
Any help would be appreciated.