#74 Bug in limited selects

Next_Version
closed-accepted
5
2007-01-21
2007-01-21
Daniel
No

sqlite_driver.inc:244 should be

$offsetStr = ($offset>=0) ? " OFFSET " . $offset : '';

Notice the removal of the comma. I don't know if there are other drivers biased by this error

Discussion

  • Daniel
    Daniel
    2007-01-21

    Logged In: YES
    user_id=799761
    Originator: YES

    An hint: use $limitStr.$offsetStr instead of "$limitStr$offsetStr", it's (a bit) faster

     
  • Mark Dickenson
    Mark Dickenson
    2007-01-21

    • milestone: --> Next_Version
    • status: open --> closed-accepted