mariadb/storage/archive
Michael Widenius 69ffc06610 Fixes BUG#60976 "Crash, valgrind warning and memory leak with partitioned archive tables"
Noted that there was no memory leak, just a lot of used partitioned tables.
Fixed old bug: 'show status' now shows memory usage when compiled with safemalloc.
Added option --flush to mysqlcheck.c to run a 'flush tables' between each check to keep down memory usage.
Changed '--safemalloc' options to mysqld so that one can use --safemalloc and --skip-safemalloc.
Now skip-safemalloc is default (ie, we only do checking of memory overrun during free()) to speed up tests.


client/client_priv.h:
  Added OPT_FLUSH_TABLES
client/mysqlcheck.c:
  Added option --flush to mysqlcheck.c to run a 'flush tables' between each check to keep down memory usage.
mysql-test/mysql-test-run.pl:
  Always run tests with --loose-skip-safemysqld for higher speed
sql/mysqld.cc:
  Changed '--safemalloc' options so that one can use --safemalloc and --skip-safemalloc.
  Now skip-safemalloc is default (ie, we only do checking of memory overrun during free()) to speed up tests
sql/sql_parse.cc:
  Fixed old bug: 'show status' now shows memory usage when compiled with safemalloc.
storage/archive/archive_reader.c:
  Changed all malloc() calls to use my_malloc()/my_free()
  Added checks of malloc() calls.
storage/archive/ha_archive.cc:
  Detect failure if init_archive_reader() and return errno. This fixed assert crash in my_seek().
  Changed all malloc() calls to use my_malloc()/my_free()
2011-06-11 14:28:15 +03:00
..
archive_reader.c Fixes BUG#60976 "Crash, valgrind warning and memory leak with partitioned archive tables" 2011-06-11 14:28:15 +03:00
archive_test.c Modified read buffer to see if performance difference existed. 2007-03-20 22:13:55 -07:00
azio.c Enable archive tables to work with mysql_upgrade / repair 2010-09-03 20:55:56 +03:00
azlib.h Removed compiler warnings 2010-01-06 23:27:53 +02:00
CMakeLists.txt Bug#473914: mysql_client_test fail with in debug compilaton on windows x64 2010-12-06 12:52:06 +01:00
ha_archive.cc Fixes BUG#60976 "Crash, valgrind warning and memory leak with partitioned archive tables" 2011-06-11 14:28:15 +03:00
ha_archive.h Enable archive tables to work with mysql_upgrade / repair 2010-09-03 20:55:56 +03:00
Makefile.am Fixed compiler and gmake warnings 2010-11-29 11:27:52 +02:00
plug.in MWL#74: Shared libmysqld.so library. 2010-11-17 13:24:20 +01:00