[MDEV-16725] Add accessor methods for classes in item_timefunc.h Created: 2018-07-10  Updated: 2018-11-27  Resolved: 2018-11-27

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Fix Version/s: 10.4.1

Type: Task Priority: Critical
Reporter: Roman Assignee: Alexander Barkov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MCOL-1532 Run ColumnStore with vanilla MariaDB ... Closed

 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; };


Generated at Thu Feb 08 08:31:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.