mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Applying InnoDB snapshot
Detailed revision comments: r6853 | marko | 2010-03-22 13:35:29 +0200 (Mon, 22 Mar 2010) | 1 line branches/zip: mutex_own(), rw_lock_own(): Add attribute((warn_unused_result)).
This commit is contained in:
@@ -429,8 +429,9 @@ ibool
|
|||||||
rw_lock_own(
|
rw_lock_own(
|
||||||
/*========*/
|
/*========*/
|
||||||
rw_lock_t* lock, /*!< in: rw-lock */
|
rw_lock_t* lock, /*!< in: rw-lock */
|
||||||
ulint lock_type); /*!< in: lock type: RW_LOCK_SHARED,
|
ulint lock_type) /*!< in: lock type: RW_LOCK_SHARED,
|
||||||
RW_LOCK_EX */
|
RW_LOCK_EX */
|
||||||
|
__attribute__((warn_unused_result));
|
||||||
#endif /* UNIV_SYNC_DEBUG */
|
#endif /* UNIV_SYNC_DEBUG */
|
||||||
/******************************************************************//**
|
/******************************************************************//**
|
||||||
Checks if somebody has locked the rw-lock in the specified mode. */
|
Checks if somebody has locked the rw-lock in the specified mode. */
|
||||||
|
@@ -206,7 +206,8 @@ UNIV_INTERN
|
|||||||
ibool
|
ibool
|
||||||
mutex_own(
|
mutex_own(
|
||||||
/*======*/
|
/*======*/
|
||||||
const mutex_t* mutex); /*!< in: mutex */
|
const mutex_t* mutex) /*!< in: mutex */
|
||||||
|
__attribute__((warn_unused_result));
|
||||||
#endif /* UNIV_DEBUG */
|
#endif /* UNIV_DEBUG */
|
||||||
#ifdef UNIV_SYNC_DEBUG
|
#ifdef UNIV_SYNC_DEBUG
|
||||||
/******************************************************************//**
|
/******************************************************************//**
|
||||||
|
Reference in New Issue
Block a user