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
b53bf231
Commit
b53bf231
authored
Apr 13, 2013
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler complains.
parent
0594dc66
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
sql/sql_statistics.h
sql/sql_statistics.h
+3
-0
No files found.
sql/sql_statistics.h
View file @
b53bf231
...
...
@@ -124,6 +124,7 @@ private:
case
DOUBLE_PREC_HB
:
return
((
uint
)
(
1
<<
16
)
-
1
);
}
return
1
;
}
public:
...
...
@@ -135,6 +136,7 @@ public:
case
DOUBLE_PREC_HB
:
return
size
/
2
;
}
return
0
;
}
private:
...
...
@@ -146,6 +148,7 @@ private:
case
DOUBLE_PREC_HB
:
return
(
uint
)
(((
uint16
*
)
values
)[
i
]);
}
return
0
;
}
uint
find_bucket
(
double
pos
,
bool
first
)
...
...
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