Bugs item #1953896, was opened at 2008-04-28 22:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1953896&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: SQLObject release (specify)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: RicMoo (ricmoo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Limit doesn't work in sqlbuilder
Initial Comment:
There is a name error in the sqlbuilder for the Select class.
Line 674 of sqlbuilder (0.10.0) reads:
end = start + limit
And no variable is named limit. Instead, it should be:
end = start + self.ops['limit']
If you try to use limit in a Select() constructor, you receive a NameError when you request the SQL be generated.
I have made this change locally to my version, and it works wonderfully, however I am not sure how to create patches. Hopefully somemone will pick this up as low hanging fruit.
Thanks,
RicMoo
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1953896&group_id=74338
|