Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29516 DB layer improvements 2.3 META
  3. MDL-29515

remove deprecated DDL+DML methods and functions

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2
    • Fix Version/s: 2.3
    • Component/s: Database SQL/XMLDB
    • Labels:
    • Testing Instructions:
      Hide

      Git grep for the following tokens in codebase and ensure deprecated functions not being used:

      table_exists
      field_exists
      find_index_name
      index_exists
      find_key_name
      drop_table
      install_from_xmldb_file
      create_table
      create_temp_table
      rename_table
      add_field
      drop_field
      change_field_type
      change_field_precision
      change_field_unsigned
      change_field_notnull
      change_field_default
      rename_field
      add_key
      drop_key
      rename_key
      add_index
      drop_index
      rename_index
      sql_ilike

      XMLDBField
      setAttributes
      XMLDBIndex
      XMLDBKey
      addFieldInfo
      addKeyInfo
      addIndexInfo
      XMLDBTable

      Show
      Git grep for the following tokens in codebase and ensure deprecated functions not being used: table_exists field_exists find_index_name index_exists find_key_name drop_table install_from_xmldb_file create_table create_temp_table rename_table add_field drop_field change_field_type change_field_precision change_field_unsigned change_field_notnull change_field_default rename_field add_key drop_key rename_key add_index drop_index rename_index sql_ilike XMLDBField setAttributes XMLDBIndex XMLDBKey addFieldInfo addKeyInfo addIndexInfo XMLDBTable
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w12_MDL-29515_m23_deprdb

      Description

      This was already planned for 2.1, we should do that before 2.2 - devs had enough time to update the db/upgrade.php files...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skodak Petr Skoda
                Reporter:
                skodak Petr Skoda
                Integrator:
                Dan Poltawski
                Tester:
                Dan Poltawski
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  25/Jun/12