mariadb/storage/mroonga
Thirunarayanan Balathandayuthapani f388222d49 MDEV-36504 Memory leak after CREATE TABLE..SELECT
Problem:
========
- After commit cc8eefb0dc (MDEV-33087),
InnoDB does use bulk insert operation for ALTER TABLE.. ALGORITHM=COPY
and CREATE TABLE..SELECT as well. InnoDB fails to clear the bulk
buffer when it encounters error during CREATE..SELECT. Problem
is that while transaction cleanup, InnoDB fails to identify
the bulk insert for DDL operation.

Fix:
====
- Represent bulk_insert in trx by 2 bits. By doing that, InnoDB
can distinguish between TRX_DML_BULK, TRX_DDL_BULK. During DDL,
set bulk insert value for transaction to TRX_DDL_BULK.

- Introduce a parameter HA_EXTRA_ABORT_ALTER_COPY which rollbacks
only TRX_DDL_BULK transaction.

- bulk_insert_apply() happens for TRX_DDL_BULK transaction happens
only during HA_EXTRA_END_ALTER_COPY extra() call.
2025-04-17 12:04:09 +05:30
..
build Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
data
lib Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
mysql-test Merge 10.6 into 10.11 2024-10-03 10:55:08 +03:00
packages Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
test Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
tools MDEV-23024 Remove Cassandra Storage Engine 2020-07-14 16:24:50 +03:00
udf Merge branch '10.5' into 10.6 2024-07-18 16:25:33 +02:00
vendor/groonga Merge branch '10.5' into '10.6' 2025-04-15 01:49:48 +02:00
appveyor.yml MDEV-23024 Remove Cassandra Storage Engine 2020-07-14 16:24:50 +03:00
AUTHORS
autogen.sh
ChangeLog
CMakeLists.txt Merge branch '10.6' into '10.11' 2025-04-16 03:34:40 +02:00
config.sh.in Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
configure.ac MDEV-14024 PCRE2. 2019-12-21 10:34:02 +01:00
COPYING Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
gpg_uid
ha_mroonga.cpp MDEV-36504 Memory leak after CREATE TABLE..SELECT 2025-04-17 12:04:09 +05:30
ha_mroonga.def
ha_mroonga.hpp Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
Makefile.am
mrn.hpp MDEV-21166 Add Mroonga initialized check to Mroonga UDFs 2024-07-17 15:52:58 +10:00
mrn_constants.hpp Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mrn_err.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mrn_macro.hpp Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mrn_mysql.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
mrn_mysql_compat.h Merge 10.4 into 10.5 2022-10-13 17:05:30 +03:00
mrn_table.cpp MDEV-11412 Ensure that table is truly dropped when using DROP TABLE 2020-06-14 19:39:42 +03:00
mrn_table.hpp Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
mrn_variables.hpp perfschema compilation, test and misc fixes 2020-03-10 19:24:23 +01:00
mrn_version.h.in Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
NEWS
plugin_version
README
required_groonga_normalizer_mysql_version
required_groonga_version
sources.am MDEV-21166 Add Mroonga initialized check to Mroonga UDFs 2024-07-17 15:52:58 +10:00
version_full MDEV-7209 mroonga storage engine fails to build on OpenBSD 2021-07-27 20:44:46 +02:00
version_in_hex
version_major
version_micro
version_minor

See doc/locale/en/html/index.html or doc/locale/ja/html/index.html