Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
database system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2009 at 00:45 UTC
Updated:
27 Dec 2009 at 18:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
damien tournoud commentedThe good news is that all our supported database engines actually support the same syntax
LIMIT $number OFFSET $offset. Let's simply use that. This patch does that, and adds an additional test for range on sub-queries.Comment #2
chx commentedWell, OK but I would love to see then the normal range queries use this construct too -- in another isuse of course.
Comment #3
Crell commentedMakes sense, especially since drivers that need to do it differently can just override that method if they need to build the string differently. (Oracle, MS SQL, etc.) Might we want to document that the LIMIT method is not standard SQL but happens to be the method supported by most OSS databases? Just for completeness? Should be a simple comment addition.
Comment #4
dries commentedCommitted to CVS HEAD. Thanks!
Comment #5
Crell commentedRe-opening to tweak the comment. (I should have set it CNW before, sorry.)
Comment #6
Crell commentedComment tweaks as mentioned.
Comment #7
ceardach commentedThe documentation in the patch is good and should be committed.
Comment #8
webchickCommitted to HEAD. Thanks!