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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
deb62b6c
Commit
deb62b6c
authored
Oct 14, 2007
by
gkodinov/kgeorge@magare.gmz
Browse files
Options
Browse Files
Download
Plain Diff
Merge magare.gmz:/home/kgeorge/mysql/autopush/B31156-5.0-opt
into magare.gmz:/home/kgeorge/mysql/autopush/B31156-5.1-opt
parents
3c0ca825
f0d5ed81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sql/item_sum.cc
sql/item_sum.cc
+3
-3
No files found.
sql/item_sum.cc
View file @
deb62b6c
...
...
@@ -917,7 +917,7 @@ bool Item_sum_distinct::setup(THD *thd)
DBUG_ENTER
(
"Item_sum_distinct::setup"
);
/* It's legal to call setup() more than once when in a subquery */
if
(
tree
)
return
FALSE
;
DBUG_RETURN
(
FALSE
)
;
/*
Virtual table and the tree are created anew on each re-execution of
...
...
@@ -925,7 +925,7 @@ bool Item_sum_distinct::setup(THD *thd)
mem_root.
*/
if
(
field_list
.
push_back
(
&
field_def
))
return
TRUE
;
DBUG_RETURN
(
TRUE
)
;
null_value
=
maybe_null
=
1
;
quick_group
=
0
;
...
...
@@ -937,7 +937,7 @@ bool Item_sum_distinct::setup(THD *thd)
args
[
0
]
->
unsigned_flag
);
if
(
!
(
table
=
create_virtual_tmp_table
(
thd
,
field_list
)))
return
TRUE
;
DBUG_RETURN
(
TRUE
)
;
/* XXX: check that the case of CHAR(0) works OK */
tree_key_length
=
table
->
s
->
reclength
-
table
->
s
->
null_bytes
;
...
...
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