diff options
author | Tatiana A. Nurnberg <azundris@mysql.com> | 2008-08-21 06:48:28 +0200 |
---|---|---|
committer | Tatiana A. Nurnberg <azundris@mysql.com> | 2008-08-21 06:48:28 +0200 |
commit | 91a2c59abe4b9aeb531238a1ac44d93312bfcde9 (patch) | |
tree | 692b7a0ced7e0095c8add8be99cba29d2a74d3a9 /sql-common/pack.c | |
parent | fd548d585d57b50cec1ffc785e160d9b154a9d15 (diff) | |
download | mariadb-git-91a2c59abe4b9aeb531238a1ac44d93312bfcde9.tar.gz |
Bug#35616: memory overrun on 64-bit linux on setting large values for keybuffer-size
portability fixes / cleanup
include/my_sys.h:
declaration should certainly match definition!
mysys/safemalloc.c:
Make the various print-functions happy:
sf_malloc_(cur|max)_memory are size_t now, might as well use %u instead
of %d. Ideally, we'd use %zu, but we can't rely on having that, so we'll
use %lu instead. Likewise, we could cast to unsigned for our poor man's
%p -- pointers are never negative, and neither is %x --, but since it
was fixed to %p with seemingly no ill effects in 6.0 anyway, we'll back
port that instead.
Diffstat (limited to 'sql-common/pack.c')
0 files changed, 0 insertions, 0 deletions