Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a956260d
Commit
a956260d
authored
Nov 27, 2018
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-16715 Add accessors for Item_sum and Item_func_group_concat classes
parent
19a6a018
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
sql/item_sum.h
sql/item_sum.h
+11
-1
No files found.
sql/item_sum.h
View file @
a956260d
...
@@ -384,7 +384,9 @@ class Item_sum :public Item_func_or_sum
...
@@ -384,7 +384,9 @@ class Item_sum :public Item_func_or_sum
Item
**
orig_args
,
*
tmp_orig_args
[
2
];
Item
**
orig_args
,
*
tmp_orig_args
[
2
];
static
size_t
ram_limitation
(
THD
*
thd
);
static
size_t
ram_limitation
(
THD
*
thd
);
public:
// Methods used by ColumnStore
Item
**
get_orig_args
()
const
{
return
orig_args
;
}
public:
public:
void
mark_as_sum_func
();
void
mark_as_sum_func
();
...
@@ -1825,6 +1827,14 @@ class Item_func_group_concat : public Item_sum
...
@@ -1825,6 +1827,14 @@ class Item_func_group_concat : public Item_sum
friend
int
dump_leaf_key
(
void
*
key_arg
,
friend
int
dump_leaf_key
(
void
*
key_arg
,
element_count
count
__attribute__
((
unused
)),
element_count
count
__attribute__
((
unused
)),
void
*
item_arg
);
void
*
item_arg
);
public:
// Methods used by ColumnStore
bool
get_distinct
()
const
{
return
distinct
;
}
uint
get_count_field
()
const
{
return
arg_count_field
;
}
uint
get_order_field
()
const
{
return
arg_count_order
;
}
const
String
*
get_separator
()
const
{
return
separator
;
}
ORDER
**
get_order
()
const
{
return
order
;
}
public:
public:
Item_func_group_concat
(
THD
*
thd
,
Name_resolution_context
*
context_arg
,
Item_func_group_concat
(
THD
*
thd
,
Name_resolution_context
*
context_arg
,
bool
is_distinct
,
List
<
Item
>
*
is_select
,
bool
is_distinct
,
List
<
Item
>
*
is_select
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment