diff options
author | unknown <iggy@recycle.(none)> | 2007-03-20 10:34:25 -0400 |
---|---|---|
committer | unknown <iggy@recycle.(none)> | 2007-03-20 10:34:25 -0400 |
commit | 6fb66342b36d0a5e3ed3aea53b86fc6d719a9cd9 (patch) | |
tree | 93d9aa9aaeb15926dff991fab145f7461d04b631 /libmysql_r | |
parent | 996843e51e3d9c18cc77886d3911f05ce79313b8 (diff) | |
download | mariadb-git-6fb66342b36d0a5e3ed3aea53b86fc6d719a9cd9.tar.gz |
Bug#23736 Pointer free error in mysqlbinlog
- Mis-matched SAFEMALLOC defines caused misleading error message.
client/mysqlbinlog.cc:
Bug#23736 Pointer free error in mysqlbinlog
- Re-worked the Load_log_processor so that it frees it's resources before
my_end is called. This is necessary because SAFEMALLOC's _my_free calls
pthread_mutex_lock() using THR_LOCK_malloc which is cleaned up in my_end().
include/my_sys.h:
Bug#23736 Pointer free error in mysqlbinlog
- Define DYNAMIC_ARRAY beofore MY_TMPDIR
- Add DYNAMIC_ARRAY to MY_TMP_DIR
mysys/array.c:
Bug#23736 Pointer free error in mysqlbinlog
- SAFEMALLOC should not be unconditionally undef'd.
mysys/mf_tempdir.c:
Bug#23736 Pointer free error in mysqlbinlog
- Use struct's DYNAMIC_ARRAY.
- Use DYNAMIC_ARRAY:delete_dynamic function instead of my_free
Diffstat (limited to 'libmysql_r')
0 files changed, 0 insertions, 0 deletions