diff options
author | unknown <knielsen@knielsen-hq.org> | 2009-05-22 14:38:50 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2009-05-22 14:38:50 +0200 |
commit | 48083d73d3dc6b1c678dbb6df3b49f420cce84ad (patch) | |
tree | 706f364cc935ad866bf7d1314528e0b2c2eb7451 /include | |
parent | ae134314b8cc35531472cf8af999fec464ad8efa (diff) | |
download | mariadb-git-48083d73d3dc6b1c678dbb6df3b49f420cce84ad.tar.gz |
After-merge fixes for problems seen in buildbot after merging MySQL-5.1.35.
- Version number.
- Valgrind false alarms in libz.
- New variant of suppression for Valgrind warning in dlclose().
- Fix double free() in plugin init error case.
configure.in:
Fix version number. We should reset the maria variant back to `1' when the MySQL version
number increases.
include/my_sys.h:
Fix false alarms in Valgrind for zlib.
Apply same fix as for archive storage handler also to the cases of compression in the
client protocol, and to the compression SQL function.
mysql-test/valgrind.supp:
A new variant of the dlclose() suppression is needed now.
mysys/my_compress.c:
Fix false alarms in Valgrind for zlib.
Apply same fix as for archive storage handler also to the cases of compression in the
client protocol, and to the compression SQL function.
sql/handler.cc:
Fix a double free() in error case for plugin initialisation.
sql/item_strfunc.cc:
Fix false alarms in Valgrind for zlib.
Apply same fix as for archive storage handler also to the cases of compression in the
client protocol, and to the compression SQL function.
Diffstat (limited to 'include')
-rw-r--r-- | include/my_sys.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index 4aa43165d05..fd1c486cead 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -879,6 +879,10 @@ extern my_bool my_compress(uchar *, size_t *, size_t *); extern my_bool my_uncompress(uchar *, size_t , size_t *); extern uchar *my_compress_alloc(const uchar *packet, size_t *len, size_t *complen); +extern void *my_az_allocator(void *dummy, unsigned int items, unsigned int size); +extern void my_az_free(void *dummy, void *address); +extern int my_compress_buffer(uchar *dest, size_t *destLen, + const uchar *source, size_t sourceLen); extern int packfrm(uchar *, size_t, uchar **, size_t *); extern int unpackfrm(uchar **, size_t *, const uchar *); |