Skip to content

Commit

Permalink
innodb/xtradb: update nonnull attributes to match the new semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Feb 17, 2015
1 parent 4da7aa5 commit a0e93bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions storage/innobase/include/btr0btr.h
Expand Up @@ -448,7 +448,7 @@ btr_root_raise_and_insert(
const dtuple_t* tuple, /*!< in: tuple to insert */
ulint n_ext, /*!< in: number of externally stored columns */
mtr_t* mtr) /*!< in: mtr */
__attribute__((nonnull, warn_unused_result));
__attribute__((nonnull(2,3,4,7), warn_unused_result));
/*************************************************************//**
Reorganizes an index page.
Expand Down Expand Up @@ -543,7 +543,7 @@ btr_page_split_and_insert(
const dtuple_t* tuple, /*!< in: tuple to insert */
ulint n_ext, /*!< in: number of externally stored columns */
mtr_t* mtr) /*!< in: mtr */
__attribute__((nonnull, warn_unused_result));
__attribute__((nonnull(2,3,4,7), warn_unused_result));
/*******************************************************//**
Inserts a data tuple to a tree on a non-leaf level. It is assumed
that mtr holds an x-latch on the tree. */
Expand Down
4 changes: 2 additions & 2 deletions storage/xtradb/include/btr0btr.h
Expand Up @@ -451,7 +451,7 @@ btr_root_raise_and_insert(
const dtuple_t* tuple, /*!< in: tuple to insert */
ulint n_ext, /*!< in: number of externally stored columns */
mtr_t* mtr) /*!< in: mtr */
__attribute__((nonnull, warn_unused_result));
__attribute__((nonnull(2,3,4,7), warn_unused_result));
/*************************************************************//**
Reorganizes an index page.
Expand Down Expand Up @@ -546,7 +546,7 @@ btr_page_split_and_insert(
const dtuple_t* tuple, /*!< in: tuple to insert */
ulint n_ext, /*!< in: number of externally stored columns */
mtr_t* mtr) /*!< in: mtr */
__attribute__((nonnull, warn_unused_result));
__attribute__((nonnull(2,3,4,7), warn_unused_result));
/*******************************************************//**
Inserts a data tuple to a tree on a non-leaf level. It is assumed
that mtr holds an x-latch on the tree. */
Expand Down

0 comments on commit a0e93bc

Please sign in to comment.