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
7e4535e2
Commit
7e4535e2
authored
Mar 30, 2006
by
evgen@sunlight.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
item_sum.cc, sql_select.cc:
After merge fix for bug#15560 item_sum.h: After merge fix for bug#15560
parent
eb075f22
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
sql/item_sum.cc
sql/item_sum.cc
+3
-3
sql/item_sum.h
sql/item_sum.h
+2
-2
sql/sql_select.cc
sql/sql_select.cc
+3
-2
No files found.
sql/item_sum.cc
View file @
7e4535e2
...
@@ -3024,14 +3024,14 @@ Item_func_group_concat(Name_resolution_context *context_arg,
...
@@ -3024,14 +3024,14 @@ Item_func_group_concat(Name_resolution_context *context_arg,
bool
distinct_arg
,
List
<
Item
>
*
select_list
,
bool
distinct_arg
,
List
<
Item
>
*
select_list
,
SQL_LIST
*
order_list
,
String
*
separator_arg
)
SQL_LIST
*
order_list
,
String
*
separator_arg
)
:
tmp_table_param
(
0
),
warning
(
0
),
:
tmp_table_param
(
0
),
warning
(
0
),
force_copy_fields
(
0
),
separator
(
separator_arg
),
tree
(
0
),
table
(
0
),
separator
(
separator_arg
),
tree
(
0
),
table
(
0
),
order
(
0
),
context
(
context_arg
),
order
(
0
),
context
(
context_arg
),
arg_count_order
(
order_list
?
order_list
->
elements
:
0
),
arg_count_order
(
order_list
?
order_list
->
elements
:
0
),
arg_count_field
(
select_list
->
elements
),
arg_count_field
(
select_list
->
elements
),
count_cut_values
(
0
),
count_cut_values
(
0
),
distinct
(
distinct_arg
),
distinct
(
distinct_arg
),
warning_for_row
(
FALSE
),
warning_for_row
(
FALSE
),
original
(
0
)
force_copy_fields
(
0
),
original
(
0
)
{
{
Item
*
item_select
;
Item
*
item_select
;
Item
**
arg_ptr
;
Item
**
arg_ptr
;
...
@@ -3077,7 +3077,6 @@ Item_func_group_concat::Item_func_group_concat(THD *thd,
...
@@ -3077,7 +3077,6 @@ Item_func_group_concat::Item_func_group_concat(THD *thd,
:
Item_sum
(
thd
,
item
),
:
Item_sum
(
thd
,
item
),
tmp_table_param
(
item
->
tmp_table_param
),
tmp_table_param
(
item
->
tmp_table_param
),
warning
(
item
->
warning
),
warning
(
item
->
warning
),
force_copy_fields
(
item
->
force_copy_fields
),
separator
(
item
->
separator
),
separator
(
item
->
separator
),
tree
(
item
->
tree
),
tree
(
item
->
tree
),
table
(
item
->
table
),
table
(
item
->
table
),
...
@@ -3089,6 +3088,7 @@ Item_func_group_concat::Item_func_group_concat(THD *thd,
...
@@ -3089,6 +3088,7 @@ Item_func_group_concat::Item_func_group_concat(THD *thd,
distinct
(
item
->
distinct
),
distinct
(
item
->
distinct
),
warning_for_row
(
item
->
warning_for_row
),
warning_for_row
(
item
->
warning_for_row
),
always_null
(
item
->
always_null
),
always_null
(
item
->
always_null
),
force_copy_fields
(
item
->
force_copy_fields
),
original
(
item
)
original
(
item
)
{
{
quick_group
=
item
->
quick_group
;
quick_group
=
item
->
quick_group
;
...
...
sql/item_sum.h
View file @
7e4535e2
...
@@ -525,13 +525,13 @@ class Item_sum_count_distinct :public Item_sum_int
...
@@ -525,13 +525,13 @@ class Item_sum_count_distinct :public Item_sum_int
public:
public:
Item_sum_count_distinct
(
List
<
Item
>
&
list
)
Item_sum_count_distinct
(
List
<
Item
>
&
list
)
:
Item_sum_int
(
list
),
table
(
0
),
field_lengths
(
0
),
tmp_table_param
(
0
),
:
Item_sum_int
(
list
),
table
(
0
),
field_lengths
(
0
),
tmp_table_param
(
0
),
tree
(
0
),
force_copy_fields
(
0
),
original
(
0
),
always_null
(
FALSE
)
force_copy_fields
(
0
),
tree
(
0
),
original
(
0
),
always_null
(
FALSE
)
{
quick_group
=
0
;
}
{
quick_group
=
0
;
}
Item_sum_count_distinct
(
THD
*
thd
,
Item_sum_count_distinct
*
item
)
Item_sum_count_distinct
(
THD
*
thd
,
Item_sum_count_distinct
*
item
)
:
Item_sum_int
(
thd
,
item
),
table
(
item
->
table
),
:
Item_sum_int
(
thd
,
item
),
table
(
item
->
table
),
field_lengths
(
item
->
field_lengths
),
field_lengths
(
item
->
field_lengths
),
tmp_table_param
(
item
->
tmp_table_param
),
tmp_table_param
(
item
->
tmp_table_param
),
tree
(
item
->
tree
),
force_copy_fields
(
0
),
original
(
item
),
force_copy_fields
(
0
),
tree
(
item
->
tree
),
original
(
item
),
tree_key_length
(
item
->
tree_key_length
),
tree_key_length
(
item
->
tree_key_length
),
always_null
(
item
->
always_null
)
always_null
(
item
->
always_null
)
{}
{}
...
...
sql/sql_select.cc
View file @
7e4535e2
...
@@ -8669,8 +8669,9 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
...
@@ -8669,8 +8669,9 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
create_tmp_field_for_schema
(
thd
,
item
,
table
)
:
create_tmp_field_for_schema
(
thd
,
item
,
table
)
:
create_tmp_field
(
thd
,
table
,
item
,
type
,
&
copy_func
,
create_tmp_field
(
thd
,
table
,
item
,
type
,
&
copy_func
,
tmp_from_field
,
group
!=
0
,
tmp_from_field
,
group
!=
0
,
not_all_columns
||
group
!=
0
,
!
force_copy_fields
&&
item
->
marker
==
4
,
0
,
(
not_all_columns
||
group
!=
0
),
item
->
marker
==
4
,
force_copy_fields
,
param
->
convert_blob_length
);
param
->
convert_blob_length
);
if
(
!
new_field
)
if
(
!
new_field
)
...
...
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