Skip to content

Commit 067ed23

Browse files
author
Jan Lindström
committed
MDEV-8774: Test innodb.innodb_bug53290 failures on buildbot
Problem was -O2 and __attribute__((nonnull)) when it should have been __attribute__((nonnull(1,2,3,4,5)))
1 parent bbb238c commit 067ed23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

storage/innobase/include/row0merge.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ row_merge_sort(
395395
fil_space_crypt_t* crypt_data,/*!< in: table crypt data */
396396
row_merge_block_t* crypt_block, /*!< in: crypt buf or NULL */
397397
ulint space) /*!< in: space id */
398-
__attribute__((nonnull));
398+
__attribute__((nonnull(1,2,3,4,5)));
399399
/*********************************************************************//**
400400
Allocate a sort buffer.
401401
@return own: sort buffer */

storage/xtradb/include/row0merge.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ row_merge_sort(
395395
fil_space_crypt_t* crypt_data,/*!< in: table crypt data */
396396
row_merge_block_t* crypt_block, /*!< in: crypt buf or NULL */
397397
ulint space) /*!< in: space id */
398-
__attribute__((nonnull));
398+
__attribute__((nonnull(1,2,3,4,5)));
399399
/*********************************************************************//**
400400
Allocate a sort buffer.
401401
@return own: sort buffer */

0 commit comments

Comments
 (0)