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

Deprecate guess_antolope_row_size function

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.4, 2.8
    • Fix Version/s: 2.9
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide
      1. Open the admin/cli/mysql_compressed_rows.php search for guess_antelope_row_size and change it to guess_antolope_row_size.
      2. Run the CLI tool (MySQL only):

        php admin/cli/mysql_compressed_rows.php -l

        and make sure you get the following debug message:

        guess_antolope_row_size() is deprecated, please use guess_antelope_row_size() instead. (master only)

      3. Change the method name to guess_antelope_row_size run the same command, make sure you don't get any errors.
      Show
      Open the admin/cli/mysql_compressed_rows.php search for guess_antelope_row_size and change it to guess_antolope_row_size. Run the CLI tool (MySQL only): php admin/cli/mysql_compressed_rows.php -l and make sure you get the following debug message: guess_antolope_row_size() is deprecated, please use guess_antelope_row_size() instead. ( master only ) Change the method name to guess_antelope_row_size run the same command, make sure you don't get any errors.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49723-master
    • Sprint:
      Team '; drop tables Sprint 5
    • Issue size:
      Small

      Description

      While working on the MDL-46963 I've noticed a typo on the mysql_compressed_rows CLI tool. All the functions are using antolope whereas the correct is antelope. The guess_antolope_row_size must be deprecated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              lameze Simey Lameze
              Peer reviewer:
              Marina Glancy Marina Glancy
              Integrator:
              Dan Poltawski Dan Poltawski
              Tester:
              Frédéric Massart Frédéric Massart
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/15