Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29390 DB layer improvements 2.2 META
  3. MDL-29415

Post MDL-29322 : add some length tests and fix oracle get_columns()

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2
    • 2.2
    • Database SQL/XMLDB
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE
    • Hide

      0) Verify that MDL-29322 has been already integrated.

      1) Run DB functional tests against Oracle.

      2) Not unit test related with any max_length assertion happens. In fact, if Oracle is properly installed, only the "Concatenating NULL must return NULL - But in Oracle" failure should happen.

      Show
      0) Verify that MDL-29322 has been already integrated. 1) Run DB functional tests against Oracle. 2) Not unit test related with any max_length assertion happens. In fact, if Oracle is properly installed, only the "Concatenating NULL must return NULL - But in Oracle" failure should happen.

      The change of semantics from BYTE to CHAR @ MDL-29322, causes problems in oracle get_columns() because current implementation returns max_length always in BYTES.

      So we need to change how it work (to return length in CHARS) and add some tests to control it.

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Sam Hemelryk Sam Hemelryk
            Aparup Banerjee Aparup Banerjee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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