[eluser]Xeoncross[/eluser]
CodeIgniter 1.7.0 doesn't seem to be handling '*' right. I see it is still defined in the DB_driver file - but it is ignoring it.
Code:
var $_reserved_identifiers = array('*'); // Identifiers that should NOT be escaped
I get the following error
Code:
Unknown column 'ci_topics.*' in 'field list'
SELECT `ci_topics`.`*`, `ci_users`.`email`, `ci_users`.`username` FROM.........
As you can see - it is not skipping the star char when it adds the back ticks. When I remove the ticks around the star and run the query in PHPMyAdmin it works fine.
Code:
SELECT `ci_topics`.*, `ci_users`.`email`, `ci_users`.`username` FROM.........