title: Sql SELECT returns rows while selecting from mysql table via toad but returns zero rows while selecting from code igniter
body: <p>I'm working on an application that uses codeigniter and oracle database. I also need to get data from a separate mysql database. So I created a DBLINK and connected to mysql database via oracle database. And when I query mysql database from TOAD, it returns the rows. But when I select query from codeignitor, it returns zero rows.</p>
  
  <p>And also, I can insert and update data in mysql table. Just the select query returns zero rows.</p>
  
  <p>Here is the select query</p>
  
  <p><code>select * from "table_name"@dblink;</code></p>
  
  <p>This query works fine with TOAD. But returns zero rows in codeigniter.
  "table_name" is mysql table name</p>
  
  <p>And here is the CI code.</p>
  
  <pre><code>$sql = "select * from \"table_name\"@dblink";
  $result = $this-&gt;db-&gt;query($sql);
  print_r($result);
  </code></pre>