mariadb/client
Monty 86d542887d Fixed memory leaks in embedded server and mysqltest
This commit fixes the following issues:
- memory leak checking enabled for mysqltest. This cover all cases except
  calls to 'die()' that only happens in case of internal failures in
  mysqltest. die() is not called anymore in the result files differs.
- One can now run mtr --embedded without failures (this crashed or hang
  before)
- cleanup_and_exit() has a new parameter that indicates that it is called
  from die(), in which case we should not do memory leak checks. We now
  always call cleanup_and_exit() instead of exit() to be able to free up
  memory and discover memory leaks.
- Lots of new assert to catch error conditions
- More DBUG statements.
- Fixed that all results are freed in mysqltest (Fixed a memory leak in
  mysqltest when using prepared statements).
- Fixed race condition in do_stmt_close() that caused embedded server
  to not free memory. (Memory leak in mysqltest with embedded server).
- Fixed two memory leaks in embedded server when using prepared statements.
  These memory leaks caused timeout hangs in mtr when server was compiled
  with safemalloc. This issue was not noticed (except as timeouts) as
  memory report checking was done but output of it was disabled.
2024-02-29 16:54:49 +02:00
..
async_example.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
client_metadata.h MDEV-17832 Protocol: extensions for Pluggable types and JSON, GEOMETRY 2020-03-10 20:43:32 +04:00
client_priv.h Merge 10.8 into 10.9 2023-04-28 13:39:33 +03:00
CMakeLists.txt MDEV-33091 pcre2 headers aren't found on Solaris 2024-01-19 20:23:45 +01:00
completion_hash.cc Merge 10.4 into 10.5 2020-11-03 16:24:47 +02:00
completion_hash.h Update FSF Address 2019-05-11 21:29:06 +03:00
echo.c Fix typos in the codebase. 2022-08-09 18:41:09 +03:00
mariadb-conv.cc mariadb-conv --character-sets-dir 2021-05-20 18:33:07 +02:00
my_readline.h Update FSF Address 2019-05-11 21:29:06 +03:00
mysql.cc Merge branch '10.6' into 10.11 2024-02-01 18:36:14 +01:00
mysql_plugin.c Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
mysql_upgrade.c Merge 10.6 into 10.11 2023-12-20 15:58:36 +02:00
mysqladmin.cc Merge branch '10.6' into 10.11 2023-12-18 11:19:04 +01:00
mysqlbinlog.cc Merge branch '10.10' into 10.11 2023-11-08 16:46:47 +01:00
mysqlcheck.c Merge branch '10.6' into 10.9 2023-08-04 08:01:06 +02:00
mysqldump.c Merge 10.6 into 10.11 2024-02-08 15:04:46 +02:00
mysqlimport.c Merge branch '10.9' into 10.10 2023-08-05 20:34:09 +02:00
mysqlshow.c Merge branch '10.6' into 10.9 2023-08-04 08:01:06 +02:00
mysqlslap.c Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
mysqltest.cc Fixed memory leaks in embedded server and mysqltest 2024-02-29 16:54:49 +02:00
readline.cc MDEV-27142 disable text mode for Windows stdio by default 2022-07-18 13:18:03 +02:00