Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-38574

Rename cloning functions of class Item and descendants

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.6.25
    • Server
    • None

    Description

      New names:

      do_build_clone  -> deep_copy
         build_clone  -> deep_copy_with_checks
       
      do_get_copy  -> shallow_copy
         get_copy  -> shallow_copy_with_checks
      

      Make deep_copy() and shallow_copy() protected if possible.

      And, with a separate commit:

      clone_item -> clone_constant
      

      Attachments

        Activity

          People

            oleg.smirnov Oleg Smirnov
            oleg.smirnov Oleg Smirnov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 2d 2.83h
                2d 2.83h

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.