summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorTimothy Smith <timothy.smith@sun.com>2008-12-14 13:27:13 -0700
committerTimothy Smith <timothy.smith@sun.com>2008-12-14 13:27:13 -0700
commitf4d38a034f6531f34b76f3fe97c4187c4f125cac (patch)
tree1056c74b537ba7ed5d39d132a0241830d46e0c49 /storage
parent19cdcb1f6bad44dfcdf6d664bd8400414a0cc4d3 (diff)
downloadmariadb-git-f4d38a034f6531f34b76f3fe97c4187c4f125cac.tar.gz
Apply InnoDB snapshot innodb-5.1-ss2858, part 3.
branches/5.1: Silence a compilation warning in UNIV_DEBUG. Approved by: Marko (via IM)
Diffstat (limited to 'storage')
-rw-r--r--storage/innobase/include/sync0sync.ic2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/sync0sync.ic b/storage/innobase/include/sync0sync.ic
index 908797f9729..ee640abefa6 100644
--- a/storage/innobase/include/sync0sync.ic
+++ b/storage/innobase/include/sync0sync.ic
@@ -197,7 +197,7 @@ mutex_exit(
{
ut_ad(mutex_own(mutex));
- ut_d(mutex->thread_id = ULINT_UNDEFINED);
+ ut_d(mutex->thread_id = (os_thread_id_t) ULINT_UNDEFINED);
#ifdef UNIV_SYNC_DEBUG
sync_thread_reset_level(mutex);