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
ec9eb5ea
Commit
ec9eb5ea
authored
Jul 16, 2004
by
dlenev@brandersnatch.localdomain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings in sql/item_timefunc.cc which popped up during windows builds.
parent
e857822a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/item_timefunc.cc
sql/item_timefunc.cc
+2
-2
No files found.
sql/item_timefunc.cc
View file @
ec9eb5ea
...
@@ -987,13 +987,13 @@ static bool get_interval_value(Item *args,interval_type int_type,
...
@@ -987,13 +987,13 @@ static bool get_interval_value(Item *args,interval_type int_type,
interval
->
year
=
(
ulong
)
value
;
interval
->
year
=
(
ulong
)
value
;
break
;
break
;
case
INTERVAL_QUARTER
:
case
INTERVAL_QUARTER
:
interval
->
month
=
value
*
3
;
interval
->
month
=
(
ulong
)(
value
*
3
)
;
break
;
break
;
case
INTERVAL_MONTH
:
case
INTERVAL_MONTH
:
interval
->
month
=
(
ulong
)
value
;
interval
->
month
=
(
ulong
)
value
;
break
;
break
;
case
INTERVAL_WEEK
:
case
INTERVAL_WEEK
:
interval
->
day
=
value
*
7
;
interval
->
day
=
(
ulong
)(
value
*
7
)
;
break
;
break
;
case
INTERVAL_DAY
:
case
INTERVAL_DAY
:
interval
->
day
=
(
ulong
)
value
;
interval
->
day
=
(
ulong
)
value
;
...
...
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