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

Remove enum Cast_target and use Type_handler to handle CAST

    XMLWordPrintable

    Details

      Description

      The code that handler CAST is not friendly to pluggable data types.
      We'll remove enum Cast_target and change the underlying code to use a new method in Type_handler instead:

      virtual Item *create_typecast_item(THD *thd, Item *item,
                                         const Type_cast_attributes &attr) const;
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: