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
9e1a39aa
Commit
9e1a39aa
authored
Sep 17, 2018
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup: Removing unused double_to_datetime().
parent
4437b5bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
include/my_time.h
include/my_time.h
+0
-10
No files found.
include/my_time.h
View file @
9e1a39aa
...
...
@@ -117,16 +117,6 @@ my_bool str_to_datetime(const char *str, size_t length, MYSQL_TIME *l_time,
longlong
number_to_datetime
(
longlong
nr
,
ulong
sec_part
,
MYSQL_TIME
*
time_res
,
ulonglong
flags
,
int
*
was_cut
);
static
inline
longlong
double_to_datetime
(
double
nr
,
MYSQL_TIME
*
ltime
,
ulonglong
flags
,
int
*
cut
)
{
if
(
nr
<
0
||
nr
>
LONGLONG_MAX
)
nr
=
(
double
)
LONGLONG_MAX
;
return
number_to_datetime
((
longlong
)
floor
(
nr
),
(
ulong
)((
nr
-
floor
(
nr
))
*
TIME_SECOND_PART_FACTOR
),
ltime
,
flags
,
cut
);
}
int
number_to_time
(
my_bool
neg
,
ulonglong
nr
,
ulong
sec_part
,
MYSQL_TIME
*
ltime
,
int
*
was_cut
);
ulonglong
TIME_to_ulonglong_datetime
(
const
MYSQL_TIME
*
);
...
...
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