Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-51122

MSSQL driver - inconsistent behaviour with TOP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.9.1
    • Database SQL/XMLDB
    • MOODLE_29_STABLE

      The get_recordset_sql breaks when supplied with a query like this:

      SELECT TOP 1 * FROM...
      

      But when the code is like this:

      SELECT TOP (1) * FROM...
      

      It ignores the limit/offset arguments for the function.

      It probably should throw a coding error in both cases

            Unassigned Unassigned
            jkb Jakub Kania
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.