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

Split Item_equal::add_const() into a virtual method in type_handler()

Details

    Description

      The method Item_equal::add_const() has this code:

      switch (Item_equal::compare_type_handler()->cmp_type()) {
      

      This is not friendly for user data type plugins, because user data types will need their own value comparison implementation, different from the ones for the built-in data types.

      This task is to split this swith into a new virtual method in Type_handler with approximately this API:

      virtual bool Item_eq_value(THD *thd, Item *a, Item *b) const;
      

      Attachments

        Issue Links

          Activity

            bar Alexander Barkov created issue -
            bar Alexander Barkov made changes -
            Field Original Value New Value
            bar Alexander Barkov made changes -
            issue.field.resolutiondate 2018-06-09 09:41:11.0 2018-06-09 09:41:11.152
            bar Alexander Barkov made changes -
            Fix Version/s 10.4.0 [ 23115 ]
            Fix Version/s 10.4 [ 22408 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 87771 ] MariaDB v4 [ 133599 ]

            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.