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
4a22056c
Commit
4a22056c
authored
Nov 25, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup: Remove redundant nonnull attributes
parent
6479006e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
storage/innobase/include/os0file.h
storage/innobase/include/os0file.h
+1
-2
storage/innobase/include/trx0undo.h
storage/innobase/include/trx0undo.h
+1
-2
storage/innobase/srv/srv0start.cc
storage/innobase/srv/srv0start.cc
+1
-1
No files found.
storage/innobase/include/os0file.h
View file @
4a22056c
...
@@ -237,8 +237,7 @@ class IORequest
...
@@ -237,8 +237,7 @@ class IORequest
@param off byte offset from the start (SEEK_SET)
@param off byte offset from the start (SEEK_SET)
@param len size of the hole in bytes
@param len size of the hole in bytes
@return DB_SUCCESS or error code */
@return DB_SUCCESS or error code */
dberr_t
punch_hole
(
os_offset_t
off
,
ulint
len
)
const
dberr_t
punch_hole
(
os_offset_t
off
,
ulint
len
)
const
;
MY_ATTRIBUTE
((
nonnull
));
public:
public:
/** Page to be written on write operation */
/** Page to be written on write operation */
...
...
storage/innobase/include/trx0undo.h
View file @
4a22056c
...
@@ -160,8 +160,7 @@ trx_undo_get_first_rec(const fil_space_t &space, uint32_t page_no,
...
@@ -160,8 +160,7 @@ trx_undo_get_first_rec(const fil_space_t &space, uint32_t page_no,
NOTE: This corresponds to a redo log record and must not be changed!
NOTE: This corresponds to a redo log record and must not be changed!
@see mtr_t::undo_create()
@see mtr_t::undo_create()
@param[in,out] block undo log page */
@param[in,out] block undo log page */
void
trx_undo_page_init
(
const
buf_block_t
&
block
)
void
trx_undo_page_init
(
const
buf_block_t
&
block
);
MY_ATTRIBUTE
((
nonnull
));
/** Allocate an undo log page.
/** Allocate an undo log page.
@param[in,out] undo undo log
@param[in,out] undo undo log
...
...
storage/innobase/srv/srv0start.cc
View file @
4a22056c
...
@@ -341,7 +341,7 @@ static dberr_t create_log_file(bool create_new_db, lsn_t lsn,
...
@@ -341,7 +341,7 @@ static dberr_t create_log_file(bool create_new_db, lsn_t lsn,
@param[in,out] logfile0 name of the first log file
@param[in,out] logfile0 name of the first log file
@return error code
@return error code
@retval DB_SUCCESS on successful operation */
@retval DB_SUCCESS on successful operation */
MY_ATTRIBUTE
((
warn_unused_result
,
nonnull
))
MY_ATTRIBUTE
((
warn_unused_result
))
static
dberr_t
create_log_file_rename
(
lsn_t
lsn
,
std
::
string
&
logfile0
)
static
dberr_t
create_log_file_rename
(
lsn_t
lsn
,
std
::
string
&
logfile0
)
{
{
ut_ad
(
!
srv_log_file_created
);
ut_ad
(
!
srv_log_file_created
);
...
...
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