#At file:///misc/mysql/forest/mysql-5.1-pe-stage/ based on revid:joro@stripped
2850 Tatiana A. Nurnberg 2009-03-28
Bug#43885: main.variables-big fails because of warnings within the server log
Malloc-failsafes used 32-bit sizes, which was
sadly insufficient on 64-bit. (Problem should
only have been visible in debug-builds on 64-bit.)
Uses 64-bit size now.
@ mysys/safemalloc.c
32-bit size is not good enough on 64-bit machines.
modified:
mysys/safemalloc.c
=== modified file 'mysys/safemalloc.c'
--- a/mysys/safemalloc.c 2009-02-13 16:41:47 +0000
+++ b/mysys/safemalloc.c 2009-03-28 08:24:03 +0000
@@ -174,7 +174,7 @@ void *_mymalloc(size_t size, const char
data[size + 3]= MAGICEND3;
irem->filename= (char *) filename;
irem->linenum= lineno;
- irem->datasize= (uint32) size;
+ irem->datasize= (size_t) size;
irem->prev= NULL;
/* Add this remember structure to the linked list */
Attachment: [text/bzr-bundle] bzr/azundris@mysql.com-20090328082403-v349d1devkp8c9n6.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-bugteam branch (azundris:2850) Bug#43885 | Tatiana A. Nurnberg | 28 Mar |