-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mysql (PDO) Driver Limit Error #6232
Comments
Update info for error. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6232. |
$db->setQuery() limit has no affect under the PDO driver but works on mysqli |
This comment was marked as abuse.
This comment was marked as abuse.
From what I could tell without actually testing, it's because of the handling in |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
Closed as we have a Pr - thanks This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6232. |
Steps to reproduce the issue
When trying to set the limit on setQuery($items, 0, 5) no effect.
Expected result
Results should be limited to 5
Actual result
Unlimited results
System information (as much as possible)
Setting Value
PHP Built On Linux ps20763 3.1.9-vs2.3.2.5vs2.3.2.5+ #3 SMP Wed Feb 12 13:51:29 PST 2014 x86_64
Database Version 5.1.56-log
Database Collation utf8_general_ci
PHP Version 5.4.37
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.4.0 Stable [ Ember ] 24-February-2015 23:00 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.74 Safari/537.36
Additional comments
The text was updated successfully, but these errors were encountered: