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

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1, 2.2
    • 2.3
    • Database SQL/XMLDB
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_23_STABLE
    • w12_MDL-29515_m23_deprdb
    • 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

    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

              skodak Petr Skoda
              skodak Petr Skoda
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Jun/12