King Simon-NFHD78 wrote: > Hi, > > The ancient version of MySQL that I am connecting to (3.23.58) doesn't > support the syntax 'LIMIT <limit> OFFSET <offset>' syntax. Instead, it > uses LIMIT <offset>, <limit>. This is described in the docs, but it > doesn't say what version introduced the more standard syntax: > > http://dev.mysql.com/doc/refman/5.0/en/select.html#id3376456 > > I'm currently monkeypatching MySQLCompiler to use LIMIT <offset>, > <limit>. Would it make sense for MySQLCompiler to be changed to always > use that syntax, since it is supported in more MySQL versions than the > standard?
OFFSET was added after v3. If the <offset>,<limit> syntax doesn't generate any warnings on 5.1 or 6.0, sure that can go in. Could you post a patch (or your monkeypatch) to the trac? Cheers, Jason --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---