Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
N/A
-
Resolution: Not an Issue
-
Affects Version/s: None
-
Fix Version/s: 1.9.3
-
Component/s: Zend_Db_Select
-
Labels:None
Description
I use table names with a dots, but on order the identifier is wrong quoted and i can't quote it manuelly.
// ... $tableAs = 'my.table.as'; $column = 'myColumn'; $select->order($tableAs . '.' . $column . ' ASC'); // -> ORDER BY `my`.`table`.`as`.`myColumn` ASC $qTableAs = $dbAdapter->quoteIdentifier(array($tableAs, $column)); // -> `my.table.as`.`myColumn` $select->order($qTableAs . ' ASC'); // -> ORDER BY ```my`.`table`.`as````.```myColumn``` ASC
Please categorize/fix as needed.