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

Add accessor methods for classes in item_timefunc.h

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Fix Version/s: 10.4.1
    • Component/s: OTHER
    • Labels:
      None

      Description

      ColumnStore`s semantic parser uses various private attributes from classes in sql/item_timefunc.h. We need accessors to that attributes or make them public if it suitable.

      class Item_char_typecast :public Item_str_func
      ...
      uint get_cast_length() { return cast_length; }
       
      class Item_func_add_time :public Item_temporal_hybrid_func
      ...
      int get_sign() { return sign; }
       
      class Item_func_timestamp_diff :public Item_int_func
      ...
      const interval_type get_int_type() { return int_type; };
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bar Alexander Barkov
              Reporter:
              drrtuy Roman
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.