title: Weird backticks behaviour in Active Record in CodeIgniter 2.0.3
body: <p>Previously my all queries were running fine in CI version 2.0 but when I upgraded to <strong>2.0.3</strong> some of my SELECT queries were broken.</p>
  
  <p>CI is adding <strong>backticks (``)</strong> automatically, but in older version its running as it is.</p>
  
  <p>CI user manual have instructed to add second parameter in </p>
  
  <blockquote>
    <p>db->select</p>
  </blockquote>
  
  <p>as </p>
  
  <blockquote>
    <p>FALSE</p>
  </blockquote>
  
  <p>but still it's not working.</p>
  
  <p>Code is as following:</p>
  
  <pre><code>class Company_model extends MY_Model
  {
  
  ----------------
  
  $this-&gt;db-&gt;select(' count('.$fieldname. ') as num_stations');
  $this-&gt;db-&gt;select(" CONCAT_WS(',', clb_company.address1, clb_company.address2, clb_company.city, clb_company.state, clb_company.zipcode ) as companyAddress");
  $this-&gt;db-&gt;from($this-&gt;_table);
  $this-&gt;db-&gt;join($this-&gt;_table_device, $fieldname1. " = ".  $fieldname2, 'LEFT');
  $this-&gt;db-&gt;where($blablafield , '0');
  ----------------
  </code></pre>
  
  <p>The error is as follows:</p>
  
  <pre><code>Error Number: 1064
  
  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 
  'FROM (`clb_device`) JOIN `clb_company` ON `clb_company`.`id` = `clb_device`.`com' at line 2
  
  SELECT `clb_device`.`id` as deviceId, `clb_pricing_specifications`.`name` as pricingSpecName, `clb_company`.`name` as companyName, `clb_device`.`mac_address` as deviceMacAddress, 
  `clb_device`.`reseller_model_number` as deviceModelNumber, `clb_pricing_spec_grouping`.`pricing_master_spec_id` as pricingSpecId, `clb_device`.`address` as deviceAddress, 
  `clb_device`.`is_home` as deviceIsHomeCharger, CONCAT(clb_company.portal_line1, `'/'`, `clb_device`.`name)` as deviceDisplayName FROM (`clb_device`) JOIN `clb_company` 
  ON `clb_company`.`id` = `clb_device`.`company_id` LEFT JOIN `clb_pricing_group_devices` ON `clb_device`.`id` = `clb_pricing_group_devices`.`device_id` and clb_pricing_group_devices.is_active = 1 
  LEFT JOIN `clb_pricing_spec_grouping` ON `clb_pricing_group_devices`.`pricing_spec_id` = `clb_pricing_spec_grouping`.`pricing_master_spec_id` LEFT JOIN `clb_pricing_specifications` ON 
  `clb_pricing_spec_grouping`.`pricing_spec_id` = `clb_pricing_specifications`.`id` WHERE clb_company.vendor_id is not null AND cast(substr(clb_devi
  ce.software_version, 1, 3) as decimal(2,1)) &gt; 2.0 AND clb_device.device_state &gt; 0 GROUP BY `clb_device`.`id` ORDER BY CONCAT(trim(clb_company.portal_line1), `'/'`, trim(clb_device.name)) desc LIMIT 20
  </code></pre>
  
  <p>Have a look at <strong>CONCAT(trim(clb_company.portal_line1), `'/'`, trim(clb_device.name))</strong></p>
  
  <p>Please suggest the workaround.</p>