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
53a4949d
Commit
53a4949d
authored
Jan 15, 2007
by
evgen@moonbone.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_select.cc:
Fix for crashes on 64bit platforms after fixing bug#23417.
parent
fcf2b139
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
sql/sql_select.cc
sql/sql_select.cc
+5
-3
No files found.
sql/sql_select.cc
View file @
53a4949d
...
...
@@ -13416,10 +13416,12 @@ count_field_types(TMP_TABLE_PARAM *param, List<Item> &fields,
param
->
quick_group
=
1
;
while
((
field
=
li
++
))
{
Item
::
Type
type
=
field
->
real_item
()
->
type
();
if
(
type
==
Item
::
FIELD_ITEM
)
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
)))
param
->
field_count
++
;
else
if
(
type
==
Item
::
SUM_FUNC_ITEM
)
else
if
(
real_
type
==
Item
::
SUM_FUNC_ITEM
)
{
if
(
!
field
->
const_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