Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36920 SQLite support for 3.9+
  3. MDL-36921

SQLite unit test failure: returns null for column max_length

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.3.3
    • Database SQL/XMLDB
    • MOODLE_23_STABLE

      The unit tests expect -1 (or a very large number) but SQLite is returning null instead.

      Not sure why, -1 and null are both widely used sentinels, so maybe the test needs to look for both, or the values need harmonised at some point before it gets to this stage, or maybe it's just a bug somewhere.

      relevant test is test_add_field in line 639 of lib/ddl/tests/ddl_test.php

            dobedobedoh Andrew Lyons
            bawjaws David Scotson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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