summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2010-12-04 13:15:16 +0200
committerMichael Widenius <monty@askmonty.org>2010-12-04 13:15:16 +0200
commit6a5570789eeefa570883b0399a48f7bb5f1dc358 (patch)
tree91671a2a3bedec8e605219306cb9b469ee15ed7a /storage
parent9baab6f5e3f4d0743f54ee4f58f8d42e5f00a0fb (diff)
downloadmariadb-git-6a5570789eeefa570883b0399a48f7bb5f1dc358.tar.gz
Removed assert as gcc on gentoo couldn't compile it without a warning :(
(Not critical, we will just catch the error later)
Diffstat (limited to 'storage')
-rw-r--r--storage/maria/ma_pagecache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/maria/ma_pagecache.c b/storage/maria/ma_pagecache.c
index 6ad63272a1e..8105c6f752d 100644
--- a/storage/maria/ma_pagecache.c
+++ b/storage/maria/ma_pagecache.c
@@ -1046,7 +1046,6 @@ static inline void dec_counter_for_resize_op(PAGECACHE *pagecache)
("thread %ld", last_thread->next->id));
pagecache_pthread_cond_signal(&last_thread->next->suspend);
}
- DBUG_ASSERT(((longlong) pagecache->cnt_for_resize_op) >= 0);
#else
pagecache->cnt_for_resize_op--;
#endif