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
d22c8cae
Commit
d22c8cae
authored
Oct 25, 2021
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compilation fixes for sys-devel/gcc-11.2.0:11
parent
481aa0af
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
7 deletions
+19
-7
sql/item_timefunc.cc
sql/item_timefunc.cc
+0
-1
storage/innobase/include/univ.i
storage/innobase/include/univ.i
+6
-0
storage/innobase/include/ut0byte.ic
storage/innobase/include/ut0byte.ic
+3
-3
storage/innobase/pars/pars0grm.cc
storage/innobase/pars/pars0grm.cc
+4
-0
storage/innobase/pars/pars0grm.y
storage/innobase/pars/pars0grm.y
+4
-0
storage/maria/ma_loghandler.c
storage/maria/ma_loghandler.c
+2
-3
No files found.
sql/item_timefunc.cc
View file @
d22c8cae
...
...
@@ -2832,7 +2832,6 @@ bool Item_func_timediff::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
DBUG_ASSERT
(
fixed
==
1
);
int
l_sign
=
1
;
MYSQL_TIME
l_time1
,
l_time2
,
l_time3
;
ErrConvTime
str
(
&
l_time3
);
/* the following may be true in, for example, date_add(timediff(...), ... */
if
(
fuzzy_date
&
TIME_NO_ZERO_IN_DATE
)
...
...
storage/innobase/include/univ.i
View file @
d22c8cae
...
...
@@ -240,6 +240,12 @@ easy way to get it to work. See http://bugs.mysql.com/bug.php?id=52263. */
#
define
UNIV_INTERN
#
endif
#
if
defined
(
__GNUC__
)
&
&
(__GNUC__
>=
11
)
#
define
ATTRIBUTE_ACCESS
(
X
)
__attribute__
((
access
X
))
#
else
#
define
ATTRIBUTE_ACCESS
(
X
)
#
endif
#
ifndef
MY_ATTRIBUTE
#
if
defined
(
__GNUC__
)
#
define
MY_ATTRIBUTE
(
A
)
__attribute__
(
A
)
...
...
storage/innobase/include/ut0byte.ic
View file @
d22c8cae
...
...
@@ -77,7 +77,7 @@ ut_uint64_align_up(
/*********************************************************//**
The following function rounds up a pointer to the nearest aligned address.
@return aligned pointer */
UNIV_INLINE
UNIV_INLINE
ATTRIBUTE_ACCESS((none,1))
void*
ut_align(
/*=====*/
...
...
@@ -97,7 +97,7 @@ ut_align(
The following function rounds down a pointer to the nearest
aligned address.
@return aligned pointer */
UNIV_INLINE
UNIV_INLINE
ATTRIBUTE_ACCESS((none,1))
void*
ut_align_down(
/*==========*/
...
...
@@ -117,7 +117,7 @@ ut_align_down(
The following function computes the offset of a pointer from the nearest
aligned address.
@return distance from aligned pointer */
UNIV_INLINE
UNIV_INLINE
ATTRIBUTE_ACCESS((none,1))
ulint
ut_align_offset(
/*============*/
...
...
storage/innobase/pars/pars0grm.cc
View file @
d22c8cae
...
...
@@ -79,6 +79,10 @@ que_node_t */
#include "que0que.h"
#include "row0sel.h"
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wfree-nonheap-object"
#endif
#define YYSTYPE que_node_t*
/* #define __STDC__ */
...
...
storage/innobase/pars/pars0grm.y
View file @
d22c8cae
...
...
@@ -38,6 +38,10 @@ que_node_t */
#include "que0que.h"
#include "row0sel.h"
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wfree-nonheap-object"
#endif
#define YYSTYPE que_node_t*
/* #define __STDC__ */
...
...
storage/maria/ma_loghandler.c
View file @
d22c8cae
...
...
@@ -3395,10 +3395,9 @@ static uint16 translog_get_chunk_header_length(uchar *chunk)
DBUG_PRINT
(
"info"
,
(
"TRANSLOG_CHUNK_LNGTH = 3"
));
DBUG_RETURN
(
3
);
break
;
default:
}
DBUG_ASSERT
(
0
);
DBUG_RETURN
(
0
);
/* Keep compiler happy */
}
}
...
...
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