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
1c5fd80a
Commit
1c5fd80a
authored
Oct 16, 2018
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a test failure on 32bit platforms in the new MDEV-17434 code
parent
22e75434
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/item_timefunc.cc
sql/item_timefunc.cc
+1
-1
No files found.
sql/item_timefunc.cc
View file @
1c5fd80a
...
@@ -2148,7 +2148,7 @@ longlong Item_extract::val_int()
...
@@ -2148,7 +2148,7 @@ longlong Item_extract::val_int()
week_format
=
current_thd
->
variables
.
default_week_format
;
week_format
=
current_thd
->
variables
.
default_week_format
;
return
calc_week
(
&
ltime
,
week_mode
(
week_format
),
&
year
);
return
calc_week
(
&
ltime
,
week_mode
(
week_format
),
&
year
);
}
}
case
INTERVAL_DAY
:
return
ltime
.
day
*
neg
;
case
INTERVAL_DAY
:
return
(
long
)
ltime
.
day
*
neg
;
case
INTERVAL_DAY_HOUR
:
return
(
long
)
(
ltime
.
day
*
100L
+
ltime
.
hour
)
*
neg
;
case
INTERVAL_DAY_HOUR
:
return
(
long
)
(
ltime
.
day
*
100L
+
ltime
.
hour
)
*
neg
;
case
INTERVAL_DAY_MINUTE
:
return
(
long
)
(
ltime
.
day
*
10000L
+
case
INTERVAL_DAY_MINUTE
:
return
(
long
)
(
ltime
.
day
*
10000L
+
ltime
.
hour
*
100L
+
ltime
.
hour
*
100L
+
...
...
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