Welcome Guest, Not a member yet? Register   Sign In
globally disabling protect identifiers
#2

[eluser]pocketmax[/eluser]
omg, it happened AGAIN in another piece of code but when I specify NOT to do it...it STILL does it!

Code:
$this->db->where('id',$log_id,false);
$data=$this->db->get('mylog',false)->result_array();

SELECT * FROM "mylog" WHERE id =8882c77d

I told it not to back tick the table name but it did it anyway. This is such an obnoxious feature. It would have been better to disable it by default then this. These are complex queries with sub queries, stored procedure calls or formulas, this is just grabbing 3 fields from a table, come on.


Messages In This Thread
globally disabling protect identifiers - by El Forum - 01-14-2010, 11:00 AM
globally disabling protect identifiers - by El Forum - 01-14-2010, 11:20 AM
globally disabling protect identifiers - by El Forum - 01-14-2010, 11:25 AM
globally disabling protect identifiers - by El Forum - 01-14-2010, 11:27 AM
globally disabling protect identifiers - by El Forum - 01-14-2010, 11:44 AM
globally disabling protect identifiers - by El Forum - 01-14-2010, 12:04 PM
globally disabling protect identifiers - by El Forum - 01-14-2010, 01:38 PM
globally disabling protect identifiers - by El Forum - 01-14-2010, 02:05 PM
globally disabling protect identifiers - by El Forum - 01-14-2010, 02:17 PM
globally disabling protect identifiers - by El Forum - 01-14-2010, 02:28 PM
globally disabling protect identifiers - by El Forum - 01-14-2010, 02:46 PM
globally disabling protect identifiers - by El Forum - 09-12-2012, 12:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB