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
d319c8ff
Commit
d319c8ff
authored
Sep 07, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
item.cc:
Fix for fix bug#12922. sql/item.cc: Fix for fix bug#12922.
parent
dfc328e1
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 @
d319c8ff
...
@@ -1037,13 +1037,13 @@ void Item::split_sum_func2(THD *thd, Item **ref_pointer_array,
...
@@ -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.
Item_ref to allow fields from view being stored in tmp table.
*/
*/
uint
el
=
fields
.
elements
;
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
,
if
(
!
(
new_item
=
new
Item_ref
(
&
thd
->
lex
->
current_select
->
context
,
ref_pointer_array
+
el
,
0
,
name
)))
ref_pointer_array
+
el
,
0
,
name
)))
return
;
// fatal_error is set
return
;
// fatal_error is set
fields
.
push_front
(
real_it
e
m
);
fields
.
push_front
(
real_itm
);
thd
->
change_item_tree
(
ref
,
new_item
);
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