summaryrefslogtreecommitdiff
path: root/storage/innobase/include/lock0lock.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-07-31 09:51:05 +0200
committerSergei Golubchik <sergii@pisem.net>2014-07-31 09:51:05 +0200
commit3e9d4541d5fab870465017e1a1b1e887ee73d655 (patch)
tree500d9a9f8b3627e17718ced84f76b7fce21971bd /storage/innobase/include/lock0lock.h
parentc2536764d8863a41ac95c0fdbef283bfbb999b4f (diff)
downloadmariadb-git-3e9d4541d5fab870465017e1a1b1e887ee73d655.tar.gz
MDEV-6340 Mariadb 10.0.12 fatal "Lost connection" error w/ GCC 4.9 'Release' build; workaround ~ CFLAGS="-fno-delete-null-pointer-checks"
don't use attribute nonnull for arguments that can be null
Diffstat (limited to 'storage/innobase/include/lock0lock.h')
-rw-r--r--storage/innobase/include/lock0lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/lock0lock.h b/storage/innobase/include/lock0lock.h
index 6d5ed35d5d8..bf4a4ae1c35 100644
--- a/storage/innobase/include/lock0lock.h
+++ b/storage/innobase/include/lock0lock.h
@@ -289,7 +289,7 @@ lock_rec_insert_check_and_lock(
inserted record maybe should inherit
LOCK_GAP type locks from the successor
record */
- __attribute__((nonnull, warn_unused_result));
+ __attribute__((nonnull(2,3,4,6,7), warn_unused_result));
/*********************************************************************//**
Checks if locks of other transactions prevent an immediate modify (update,
delete mark, or delete unmark) of a clustered index record. If they do,