diff options
author | monty@mysql.com <> | 2004-08-23 13:46:51 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2004-08-23 13:46:51 +0300 |
commit | 309d691e65ae9953f637bda88d24672537ddf6d0 (patch) | |
tree | 31ceb8889afc4b529a25bc930d8aa8a41d83ceb2 /mysys/my_realloc.c | |
parent | 84d9b862f6619c74de00349e9398f11ec6409d10 (diff) | |
download | mariadb-git-309d691e65ae9953f637bda88d24672537ddf6d0.tar.gz |
Changed %lx -> 0x%lx (for easier comparison of debug files)
Cosmetic cleanups
Don't call 'delete_elements' on copy_funcs as this causes elements to be freed twice
Diffstat (limited to 'mysys/my_realloc.c')
-rw-r--r-- | mysys/my_realloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_realloc.c b/mysys/my_realloc.c index 5190fa75dce..c8edb172890 100644 --- a/mysys/my_realloc.c +++ b/mysys/my_realloc.c @@ -27,7 +27,7 @@ gptr my_realloc(gptr oldpoint, uint size, myf my_flags) { gptr point; DBUG_ENTER("my_realloc"); - DBUG_PRINT("my",("ptr: %lx size: %u my_flags: %d",oldpoint, size, + DBUG_PRINT("my",("ptr: 0x%lx size: %u my_flags: %d",oldpoint, size, my_flags)); if (!oldpoint && (my_flags & MY_ALLOW_ZERO_PTR)) @@ -60,6 +60,6 @@ gptr my_realloc(gptr oldpoint, uint size, myf my_flags) my_error(EE_OUTOFMEMORY, MYF(ME_BELL+ME_WAITTANG), size); } #endif - DBUG_PRINT("exit",("ptr: %lx",point)); + DBUG_PRINT("exit",("ptr: 0x%lx",point)); DBUG_RETURN(point); } /* my_realloc */ |