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

Split Item::update_null_value() into a new virtual method in Type_handler

    XMLWordPrintable

    Details

      Description

      The code in Item::update_null_value() has a switch on cmp_type(). This is not friendly for user defined data types.

      We'll introduce a new method in Type_handler:

        virtual void Item_update_null_value(Item *item) const= 0;
      

      and split this code into virtual implementations.

        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: