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
8b2f705a
Commit
8b2f705a
authored
Sep 07, 2005
by
evgen@moonbone.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
item.cc:
Fix for fix bug#12922.
parent
f2d6282f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sql/item.cc
sql/item.cc
+3
-3
No files found.
sql/item.cc
View file @
8b2f705a
...
...
@@ -1037,13 +1037,13 @@ void Item::split_sum_func2(THD *thd, Item **ref_pointer_array,
Item_ref to allow fields from view being stored in tmp table.
*/
uint
el
=
fields
.
elements
;
Item
*
new_item
,
*
real_it
e
m
=
real_item
();
Item
*
new_item
,
*
real_itm
=
real_item
();
ref_pointer_array
[
el
]
=
real_it
e
m
;
ref_pointer_array
[
el
]
=
real_itm
;
if
(
!
(
new_item
=
new
Item_ref
(
&
thd
->
lex
->
current_select
->
context
,
ref_pointer_array
+
el
,
0
,
name
)))
return
;
// fatal_error is set
fields
.
push_front
(
real_it
e
m
);
fields
.
push_front
(
real_itm
);
thd
->
change_item_tree
(
ref
,
new_item
);
}
}
...
...
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