#At file:///misc/mysql/forest/43885/51-43885/ based on revid:timothy.smith@stripped
2853 Tatiana A. Nurnberg 2009-04-03
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.)
@ 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-04-03 18:20:22 +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;
irem->prev= NULL;
/* Add this remember structure to the linked list */
Attachment: [text/bzr-bundle] bzr/azundris@mysql.com-20090403182022-6jm8t7u3py3h25fd.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-bugteam branch (azundris:2853) Bug#43885 | Tatiana A. Nurnberg | 3 Apr |