mariadb/client
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
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
client_priv.h Fixes BUG#60976 "Crash, valgrind warning and memory leak with partitioned archive tables" 2011-06-11 14:28:15 +03:00
CMakeLists.txt Small CMake fixes : 2011-05-15 13:38:18 +02:00
completion_hash.cc WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
completion_hash.h - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
echo.c echo.c: 2007-03-20 18:31:49 +01:00
get_password.c fixes for build failures due to my yesterday's changeset forbidding 2008-02-19 18:45:11 +01:00
Makefile.am Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
my_readline.h Fixed bug#57450 - mysql client enter in an infinite loop 2011-02-05 11:02:00 +06:00
mysql.cc Merge with MariaDB 5.1 2011-05-03 19:10:10 +03:00
mysql_upgrade.c Ensure that all clients reads the appropriate 'client', client-mariadb and 'mariadb' sections from my.cnf 2011-03-18 17:03:43 +02:00
mysqladmin.cc Merge with MariaDB 5.1 2011-05-03 19:10:10 +03:00
mysqlbinlog.cc Merge with MariaDB 5.1 2011-05-03 19:10:10 +03:00
mysqlcheck.c Fixes BUG#60976 "Crash, valgrind warning and memory leak with partitioned archive tables" 2011-06-11 14:28:15 +03:00
mysqldump.c Merge with MariaDB 5.1 2011-05-03 19:10:10 +03:00
mysqlimport.c Ensure that all clients reads the appropriate 'client', client-mariadb and 'mariadb' sections from my.cnf 2011-03-18 17:03:43 +02:00
mysqlshow.c Ensure that all clients reads the appropriate 'client', client-mariadb and 'mariadb' sections from my.cnf 2011-03-18 17:03:43 +02:00
mysqlslap.c Merge with MariaDB 5.1 2011-05-03 19:10:10 +03:00
mysqltest.cc automerge 2011-05-18 15:17:26 +02:00
readline.cc Fixed build errors on centos5-amd64-minimal, where we compile with very few character sets 2011-05-04 21:28:02 +03:00
sql_string.cc Bug#45288: pb2 returns a lot of compilation warnings on linux 2010-07-09 09:00:17 -03:00
sql_string.h merge with 5.1 2010-11-30 23:11:03 +02:00