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
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.

AttachmentSize
legal_module_sql.patch2.13 KB

#1

catch - October 6, 2008 - 14:23
Status:needs review» reviewed & tested by the community

Patch looks great, and applies cleanly. RTBC.

#2

alexandreracine - March 6, 2009 - 02:55

Does this work? Should the patch be commited? Is it already fixed?

 
 

Drupal is a registered trademark of Dries Buytaert.