ZF-11364: Zend_Db_Adapter_Pdo_Mssql limit does not support queries with multiple ORDER BY clauses

Issue Type: Bug Created: 2011-05-11T15:17:04.000+0000 Last Updated: 2011-05-11T15:17:04.000+0000 Status: Open Fix version(s): Reporter: Przemys?aw Wróbel (wrobel) Assignee: Ralph Schindler (ralph) Tags: - Zend_Db

Related issues: Attachments:


When a query has a subquery with its own ORDER BY clause the stristr function extracts the first ORDER BY clause whilst it should extract the last one line 340: $orderby = stristr($sql, 'ORDER BY');

strripos() function should be used instead.


No comments to display

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.