~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to storage/innobase/include/sync0rw.ic

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
 
239
239
#ifdef UNIV_SYNC_DEBUG
240
240
        ut_ad(!rw_lock_own(lock, RW_LOCK_SHARED)); /* see NOTE above */
 
241
        ut_ad(!rw_lock_own(lock, RW_LOCK_EX));
241
242
#endif /* UNIV_SYNC_DEBUG */
242
243
 
243
244
        mutex_enter(rw_lock_get_mutex(lock));