Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
MariaDB
Commits
23d7b773
Commit
23d7b773
authored
7 years ago
by
Vladislav Vaintroub
Browse files
Options
Download
Email Patches
Plain Diff
Fix truncation warning on Windows.
parent
144c7f8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/my_time.h
include/my_time.h
+1
-1
No files found.
include/my_time.h
View file @
23d7b773
...
...
@@ -118,7 +118,7 @@ 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
,
u
int
flags
,
int
*
cut
)
longlong
double_to_datetime
(
double
nr
,
MYSQL_TIME
*
ltime
,
u
longlong
flags
,
int
*
cut
)
{
if
(
nr
<
0
||
nr
>
LONGLONG_MAX
)
nr
=
(
double
)
LONGLONG_MAX
;
...
...
This diff is collapsed.
Click to expand it.
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