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

Add sql_round dml function to prevent cross-platform problems

    XMLWordPrintable

Details

    Description

      The ROUND sql function has different results in MSSQL compared to MySQL and Postgres. This function allows platform specific implementations of the ROUND function to be made. The standard behaviour of ROUND in MySQL and Postgres is taken to be correct, and MSSQL specific code is provided to ensure it matches.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nathanl Nathan Lewis
              David Monllaó David Monllaó
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: