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

Make all xmldb numerical types to support same max integer value

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.5
    • Database SQL/XMLDB
    • None
    • MOODLE_35_STABLE

      This is a followup of the validation changes performed @ MDL-32113.

      Right now, no matter it's not used often... we allow integers (or whole parts in decimals/floats) up to 20 digits.

      It's allowed by database engines, but php runs out of max int value (64 bits PHP_INT_MAX 9223372036854775807 which is 19 digits).

      So this is about to discuss id we should be reducing from 20 down to 19 (or 18 in fact) the max number of digits allowed for all xmldb numerical types (integer, number, float).

      Ciao

            Unassigned Unassigned
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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