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

Class Binary_string

    XMLWordPrintable

Details

    Description

      During a review for MDEV-13995 Sanja suggested to have a separate class as an output parameter for val_raw_xxx(), e.g.:

      bool val_raw_native(THD *thd, Raw *to);
      

      instead of:

      bool val_raw_native(THD *thd, String *to);
      

      Passing a String looks redundant, as val_raw_xxx() does not need a character set.

      Under terms of this task we'll:

      • Extract the character-set-unaware part of String into a new class Binary_string
      • Derive String from Binary_string and Charset

      Then, while cleaning up the patch for MDEV-13995, we'll introduce a new class Raw and also derive it from Binary_string.

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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