summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2005-01-31 22:28:55 +0200
committerunknown <heikki@hundin.mysql.fi>2005-01-31 22:28:55 +0200
commitaf39ee001d4c7dbae6aee384802ab0252d2244a1 (patch)
tree7c72a1efdc73a3b02550edb756de38cb9b02bc12 /innobase
parentb4ecba65deae2d09596412f3efbaed90943f0e4d (diff)
downloadmariadb-git-af39ee001d4c7dbae6aee384802ab0252d2244a1.tar.gz
mem0pool.c:
Fix an assertion failure in 64-bit computers if UNIV_MEM_DEBUG is defined innobase/mem/mem0pool.c: Fix an assertion failure in 64-bit computers if UNIV_MEM_DEBUG is defined
Diffstat (limited to 'innobase')
-rw-r--r--innobase/mem/mem0pool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/innobase/mem/mem0pool.c b/innobase/mem/mem0pool.c
index cd75728c937..bb1f44d6fb7 100644
--- a/innobase/mem/mem0pool.c
+++ b/innobase/mem/mem0pool.c
@@ -597,8 +597,8 @@ mem_pool_validate(
}
}
- ut_a(free + pool->reserved == pool->size
- - (pool->size % MEM_AREA_MIN_SIZE));
+ ut_a(free + pool->reserved == pool->size);
+
mutex_exit(&(pool->mutex));
return(TRUE);