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

Add Type_handler::Item_save_in_value

    Details

      Description

      We'll add a new method:

      virtual bool Item_save_in_value(Item *item, st_value *value) const= 0;
      

      and replace the switch in Item::store:

      bool store(struct st_value *value, ulonglong fuzzydate)
      {
        switch (cmp_type()) {
        ...
        }
      }
      

      to a call of the new method.

        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: