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

Fix Item_func_set_collation to pass the collation using CHARSET_INFO instead of Item

    XMLWordPrintable

Details

    Description

      We'll be replacing data type specific constants STRING_ITEM, INT_ITEM, REAL_ITEM, DECIMAL_ITEM, DATE_ITEM to LITERAL_ITEM soon (see MDEV-14630).

      Under terms of this task we'll remove usage of STRING_ITEM in Item_func_set_collation.

      We'll change the constructor from:

        Item_func_set_collation(THD *thd, Item *a, Item *b):
      

      to:

        Item_func_set_collation(THD *thd, Item *a, CHARSET_INFO *set_collation):
      

      and update sql_yacc.yy accordingly.

      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.