diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2022-12-10 14:25:54 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2023-01-17 12:34:43 +0300 |
commit | 1b3e94f78b89f897231c9da93a17bce6068bc571 (patch) | |
tree | 7704b82795ac710b352ee9ee917955c75445577f /support-files | |
parent | 8e53c357ca8f2479199c9b9363d153fd30425cc1 (diff) | |
download | mariadb-git-1b3e94f78b89f897231c9da93a17bce6068bc571.tar.gz |
MDEV-29793 Assertion failure in translog_write_record upon CREATE OR REPLACE
Aria cannot start bulk insert with transactional logging of temporary
table (fails on assertion). But complex join does external_lock()
which disables logging again but sees log_incomplete and does
translog_write_record() which expects logging on.
Probably some logic of Aria is wrong. Atomic C-O-R does
mysql_trans_prepare_alter_copy_data() hack to overcome the prohibition
of transactional logging in temporary table for bulk insert. There is
no objective reason for that prohibition for atomic C-O-R temporary
table as the same works with non-temporary table. And now we enable
transaction back after ha_start_bulk_insert() so complex join will be
happy with external_lock().
Diffstat (limited to 'support-files')
0 files changed, 0 insertions, 0 deletions