1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-35061 XA PREPARE "not supported by the engine" from storage engine mhnsw, memory leak

disallow explicit XA PREPARE over mhnsw indexes
This commit is contained in:
Sergei Golubchik
2024-10-02 20:33:42 +02:00
parent 09cd817f5d
commit eb4ab2ce8f
5 changed files with 42 additions and 5 deletions

View File

@@ -1476,7 +1476,7 @@ end:
static inline TC_LOG *get_tc_log_implementation()
{
if (total_ha_2pc <= 1)
if (total_ha_2pc <= 2) // online_alter_tp and MHNSW_Trx::tp
return &tc_log_dummy;
if (opt_bin_log)
return &mysql_bin_log;