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

Add Type_handler::Item_val_bool()

    XMLWordPrintable

Details

    Description

      The code in this method:

      bool Item::val_bool();
      

      is not friendly to pluggable data types, as it tests for result_type().
      Pluggable data types may want to implement a different way for boolean conversion.

      Under terms of this task will add new methods in Type_handler:

      virtual bool Item_val_bool(Item *item) const;
      

      and split the mentioned code into virtual implementations for relevant Type_handler_xxx classes.

      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:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.25d
                  0.25d
                  Remaining:
                  Remaining Estimate - 0.25d
                  0.25d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.