On Wed, Sep 5, 2012 at 9:34 AM, Chris Angelico <ros...@gmail.com> wrote:
> On Thu, Sep 6, 2012 at 1:22 AM, Ian Kelly <ian.g.ke...@gmail.com> wrote:
>> The lack of an ORDER BY is the least of the problems with that SQL.
>> He's also using LIMIT without OFFSET, so the only thing that the
>> 'item' argument changes is how many rows are returned (all but one of
>> which are ignored), not which one is actually fetched.
>
> No, he's using the two-arg form of LIMIT.

My mistake.  I didn't even know there was a two-arg form of LIMIT.
Must be a MySQL thing. :-)

Cheers,
Ian
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to