summaryrefslogtreecommitdiffstats
path: root/debian/patches/3039-os-data-file-no-o-direct.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 13:24:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 13:28:53 +0000
commita2f41c7df0986cc7a79a5b6ffcd70ffb78e6e105 (patch)
treec26ad120ea2a32b79ce49ec5535f9888724e1b7f /debian/patches/3039-os-data-file-no-o-direct.patch
parentMerging upstream version 1:10.11.8. (diff)
downloadmariadb-a2f41c7df0986cc7a79a5b6ffcd70ffb78e6e105.tar.xz
mariadb-a2f41c7df0986cc7a79a5b6ffcd70ffb78e6e105.zip
Merging debian version 1:10.11.8-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/3039-os-data-file-no-o-direct.patch')
-rw-r--r--debian/patches/3039-os-data-file-no-o-direct.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/debian/patches/3039-os-data-file-no-o-direct.patch b/debian/patches/3039-os-data-file-no-o-direct.patch
deleted file mode 100644
index 634bfbd9..00000000
--- a/debian/patches/3039-os-data-file-no-o-direct.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Forwarded: https://github.com/MariaDB/server/pull/3039 (merged in Feb 2024)
-Origin: https://patch-diff.githubusercontent.com/raw/MariaDB/server/pull/3039.patch
-From: Daniel Black <daniel@mariadb.org>
-Date: Fri, 2 Feb 2024 11:38:00 +1100
-Subject: [PATCH] MDEV-33095 MariaDB-backup - no OS_DATA_FILE_NO_O_DIRECT on
- some platforms
-
-Postfix for a6290a5bc5f3cba096854595c354d19d9267743d, in 10.11
-where OS_DATA_FILE_NO_O_DIRECT gets used. Same #ifdef conditions
-as other uses of OS_DATA_FILE_NO_O_DIRECT.
-
-Noticed on aarch64-macos builder.
----
- extra/mariabackup/xtrabackup.cc | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
---- a/extra/mariabackup/xtrabackup.cc
-+++ b/extra/mariabackup/xtrabackup.cc
-@@ -2428,7 +2428,12 @@ static bool innodb_init()
- os_file_delete_if_exists_func(ib_logfile0.c_str(), nullptr);
- os_file_t file= os_file_create_func(ib_logfile0.c_str(),
- OS_FILE_CREATE, OS_FILE_NORMAL,
-- OS_DATA_FILE_NO_O_DIRECT, false, &ret);
-+#if defined _WIN32 || defined HAVE_FCNTL_DIRECT
-+ OS_DATA_FILE_NO_O_DIRECT,
-+#else
-+ OS_DATA_FILE,
-+#endif
-+ false, &ret);
- if (!ret)
- {
- invalid_log: