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
884713fb
Commit
884713fb
authored
Jan 22, 2007
by
evgen@moonbone.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_select.cc:
Code cleanup after fix for bug#23417.
parent
4e076006
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
sql/sql_select.cc
sql/sql_select.cc
+2
-3
No files found.
sql/sql_select.cc
View file @
884713fb
...
...
@@ -8766,8 +8766,7 @@ Field *create_tmp_field(THD *thd, TABLE *table,Item *item, Item::Type type,
if
(
type
!=
Item
::
FIELD_ITEM
&&
item
->
real_item
()
->
type
()
==
Item
::
FIELD_ITEM
&&
(
item
->
type
()
!=
Item
::
REF_ITEM
||
!
((
Item_ref
*
)
item
)
->
depended_from
))
!
((
Item_ref
*
)
item
)
->
depended_from
)
{
orig_item
=
item
;
item
=
item
->
real_item
();
...
...
@@ -13423,7 +13422,7 @@ count_field_types(TMP_TABLE_PARAM *param, List<Item> &fields,
Item
::
Type
type
=
field
->
type
();
Item
::
Type
real_type
=
field
->
real_item
()
->
type
();
if
(
type
==
Item
::
FIELD_ITEM
||
(
real_type
==
Item
::
FIELD_ITEM
&&
(
type
!=
Item
::
REF_ITEM
||
!
((
Item_ref
*
)
field
)
->
depended_from
)
))
!
((
Item_ref
*
)
field
)
->
depended_from
))
param
->
field_count
++
;
else
if
(
real_type
==
Item
::
SUM_FUNC_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