summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-06-16 23:46:47 +0300
committerunknown <heikki@hundin.mysql.fi>2004-06-16 23:46:47 +0300
commitc0edb2e0ceed434c2209e5e7083fb512f25f5433 (patch)
tree2387e26d408ca651eca095df375aeaee753c730e /innobase
parentce4973d61619837caa946974453746e8eda29d36 (diff)
downloadmariadb-git-c0edb2e0ceed434c2209e5e7083fb512f25f5433.tar.gz
ut0mem.c:
Remove printf's that were accidentally pushed in the last push innobase/ut/ut0mem.c: Remove printf's that were accidentally pushed in the last push
Diffstat (limited to 'innobase')
-rw-r--r--innobase/ut/ut0mem.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/innobase/ut/ut0mem.c b/innobase/ut/ut0mem.c
index a0b41d08771..2cab36a9580 100644
--- a/innobase/ut/ut0mem.c
+++ b/innobase/ut/ut0mem.c
@@ -202,10 +202,7 @@ ut_realloc(
ulint min_size;
void* new_ptr;
- printf("Calling realloc with size %lu\n", size);
-
if (ptr == NULL) {
- printf("ptr was NULL, calling malloc\n");
return(ut_malloc(size));
}
@@ -222,8 +219,6 @@ ut_realloc(
old_size = block->size - sizeof(ut_mem_block_t);
- printf("Old size was %lu\n", old_size);
-
if (size < old_size) {
min_size = size;
} else {
@@ -240,8 +235,6 @@ ut_realloc(
/* Copy the old data from ptr */
ut_memcpy(new_ptr, ptr, min_size);
- printf("Copying %lu bytes to new_ptr\n", min_size);
-
ut_free(ptr);
return(new_ptr);