mariadb/storage
Oleksandr Byelkin 0d35fe6e57 MDEV-35326: Memory Leak in init_io_cache_ext upon SHUTDOWN
The problems were that:
1) resources was freed "asimetric" normal execution in send_eof,
 in case of error in destructor.
2) destructor was not called in case of SP for result objects.
(so if the last SP execution ended with error resorces was not
freeded on reinit before execution (cleanup() called before next
execution) and destructor also was not called due to lack of
delete call for the object)

Result cleanup() renamed to reset_for_next_ps_execution() to better
reflect function().

All result method revised and freeing resources made "symetric".

Destructor of result object called for SP.

Added skipped invalidation in case of error in insert.

Removed misleading naming of reset(thd) (could be mixed with
with reset()).
2025-01-13 10:04:27 +01:00
..
archive MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
blackhole MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
cassandra MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
columnstore MDEV-33091 pcre2 headers - handle columnstore 2024-09-05 12:14:06 +10:00
connect enforce no trailing \n in Diagnostic_area messages 2025-01-07 16:31:39 +01:00
csv MDEV-34348: Miscellaneous fixes 2024-11-23 08:14:23 -07:00
example MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
federated MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
federatedx MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
heap MDEV-34348: Consolidate cmp function declarations 2024-11-23 08:14:22 -07:00
innobase enforce no trailing \n in Diagnostic_area messages 2025-01-07 16:31:39 +01:00
maria enforce no trailing \n in Diagnostic_area messages 2025-01-07 16:31:39 +01:00
mroonga MDEV-35574 remove obsolete pthread_exit calls 2024-12-10 12:12:20 +11:00
myisam enforce no trailing \n in Diagnostic_area messages 2025-01-07 16:31:39 +01:00
myisammrg MDEV-34348: Consolidate cmp function declarations 2024-11-23 08:14:22 -07:00
oqgraph Extract some of #3360 fixes to 10.5.x 2024-11-21 22:43:56 +11:00
perfschema MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
rocksdb MDEV-34408: Facilitate the addition of warnings into the build system 2024-11-23 08:14:23 -07:00
sequence MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sphinx MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
spider MDEV-35326: Memory Leak in init_io_cache_ext upon SHUTDOWN 2025-01-13 10:04:27 +01:00
test_sql_discovery MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tokudb MDEV-5798: Wrong errorcode for missing partition after TRUNCATE PARTITION 2024-12-05 08:17:35 +01:00