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
f18c9bdb
Commit
f18c9bdb
authored
Feb 15, 2004
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed initialization to satisfy valgrind
parent
06410f41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/item_sum.h
sql/item_sum.h
+1
-1
No files found.
sql/item_sum.h
View file @
f18c9bdb
...
@@ -284,7 +284,7 @@ class Item_sum_avg :public Item_sum_num
...
@@ -284,7 +284,7 @@ class Item_sum_avg :public Item_sum_num
ulonglong
count
;
ulonglong
count
;
public:
public:
Item_sum_avg
(
Item
*
item_par
)
:
Item_sum_num
(
item_par
),
count
(
0
)
{}
Item_sum_avg
(
Item
*
item_par
)
:
Item_sum_num
(
item_par
),
sum
(
0.0
),
count
(
0
)
{}
Item_sum_avg
(
THD
*
thd
,
Item_sum_avg
*
item
)
Item_sum_avg
(
THD
*
thd
,
Item_sum_avg
*
item
)
:
Item_sum_num
(
thd
,
item
),
sum
(
item
->
sum
),
count
(
item
->
count
)
{}
:
Item_sum_num
(
thd
,
item
),
sum
(
item
->
sum
),
count
(
item
->
count
)
{}
enum
Sumfunctype
sum_func
()
const
{
return
AVG_FUNC
;}
enum
Sumfunctype
sum_func
()
const
{
return
AVG_FUNC
;}
...
...
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