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
4e5c5695
Commit
4e5c5695
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
37e561be
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 @
4e5c5695
...
...
@@ -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