Fix for 'LIMIT' sql keyword usage in conjuction with db_query()
hailu - October 2, 2008 - 19:28
| Project: | Legal |
| Version: | HEAD |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Jump to:
Description
For Drupal 6, db_query_range() should be used in place of db_query() where the LIMIT clause is needed. This patch fixes 4 errors found there.
| Attachment | Size |
|---|---|
| legal_module_sql.patch | 2.13 KB |

#1
Patch looks great, and applies cleanly. RTBC.
#2
Does this work? Should the patch be commited? Is it already fixed?