1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Strip innodb_log_group_home_dir
This commit is contained in:
Marko Mäkelä
2026-10-02 16:28:42 +03:00
parent e45cb76bcf
commit d93536a501

View File

@@ -320,7 +320,8 @@ private:
{
try {
#ifndef _WIN32
const std::string path{log_sys.get_archive_path(lsn)};
std::string path{};
log_sys.append_archive_name(path, lsn);
int log= openat(target.fd, path.c_str(),
O_CREAT | O_EXCL | O_TRUNC | O_WRONLY, 0666);
if (log >= 0)