summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-09-07 11:58:21 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-09-07 11:58:21 +0300
commit3ec8268b4a328dd755414adce5cf14ebdac5677e (patch)
treecf79ee761ebfd5e07b09224ec3b2ce24f78857f9
parent6b45355e6bd70e77fcd4dd4d0ef74608bafc9b02 (diff)
downloadmariadb-git-3ec8268b4a328dd755414adce5cf14ebdac5677e.tar.gz
Follow-up to MDEV-13103: Do not add __attribute__((nonnull))
In XtraDB, buf_block_get_frame() can return NULL, and this value can be passed to buf_page_print(). Do not declare the parameter as nonnull.
-rw-r--r--storage/xtradb/include/buf0buf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/include/buf0buf.h b/storage/xtradb/include/buf0buf.h
index 3c0b125b412..5e656f1c585 100644
--- a/storage/xtradb/include/buf0buf.h
+++ b/storage/xtradb/include/buf0buf.h
@@ -725,7 +725,7 @@ buf_print(void);
UNIV_INTERN
void
buf_page_print(const byte* read_buf, ulint zip_size)
- UNIV_COLD MY_ATTRIBUTE((nonnull));
+ UNIV_COLD;
/********************************************************************//**
Decompress a block.