Skip to content

Commit 8bc1643

Browse files
committed
MDEV-36860 exec_REDO_LOGREC_REDO_REPAIR_TABLE: Assertion `maria_tmpdir' failed
The problem was that aria_backup_client code did not intialize maria_tmpdir, which is used during recovery if repair table is needed to reconstruct indexes.
1 parent 96b7671 commit 8bc1643

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extra/mariabackup/aria_backup_client.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,7 @@ void Backup::set_post_copy_table_hook(const post_copy_table_hook_t &hook) {
955955

956956
bool prepare(const char *target_dir) {
957957
maria_data_root= (char *)target_dir;
958+
maria_tmpdir= &mysql_tmpdir_list;
958959

959960
if (maria_init())
960961
die("Can't init Aria engine (%d)", errno);

0 commit comments

Comments
 (0)