diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:24:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:24:44 +0000 |
commit | bf772a107fc4511b6e3e5aafddb762ca3fa74f0b (patch) | |
tree | 8d994c2f3d8e9f01da4d334f90a20798760d9318 /debian/patches/fix-spelling-rocksdb.patch | |
parent | Adding upstream version 1:10.11.6. (diff) | |
download | mariadb-debian/1%10.11.6-2.tar.xz mariadb-debian/1%10.11.6-2.zip |
Adding debian version 1:10.11.6-2.debian/1%10.11.6-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/fix-spelling-rocksdb.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/debian/patches/fix-spelling-rocksdb.patch b/debian/patches/fix-spelling-rocksdb.patch new file mode 100644 index 00000000..d9007c3a --- /dev/null +++ b/debian/patches/fix-spelling-rocksdb.patch @@ -0,0 +1,38 @@ +Forwarded: https://github.com/facebook/rocksdb/pull/9653 +Origin: https://patch-diff.githubusercontent.com/raw/facebook/rocksdb/pull/9653.patch +From: Otto Kekäläinen <otto@debian.org> +Date: Wed, 2 Mar 2022 18:13:18 -0800 +Subject: Fix various spelling errors still found in code + Two upstream PRs remain that have been merged, but not imported on MariaDB yet. + +--- a/storage/rocksdb/rocksdb/db/external_sst_file_ingestion_job.cc ++++ b/storage/rocksdb/rocksdb/db/external_sst_file_ingestion_job.cc +@@ -46,7 +46,7 @@ Status ExternalSstFileIngestionJob::Prep + TablePropertiesCollectorFactory::Context::kUnknownColumnFamily && + f.cf_id != cfd_->GetID()) { + return Status::InvalidArgument( +- "External file column family id dont match"); ++ "External file column family id don't match"); + } + } + +@@ -646,7 +646,7 @@ Status ExternalSstFileIngestionJob::Assi + return Status::InvalidArgument("Global seqno is required, but disabled"); + } else if (file_to_ingest->global_seqno_offset == 0) { + return Status::InvalidArgument( +- "Trying to set global seqno for a file that dont have a global seqno " ++ "Trying to set global seqno for a file that don't have a global seqno " + "field"); + } + +--- a/storage/rocksdb/rocksdb/include/rocksdb/cache.h ++++ b/storage/rocksdb/rocksdb/include/rocksdb/cache.h +@@ -60,7 +60,7 @@ struct LRUCacheOptions { + // If greater than zero, the LRU list will be split into a high-pri + // list and a low-pri list. High-pri entries will be insert to the + // tail of high-pri list, while low-pri entries will be first inserted to +- // the low-pri list (the midpoint). This is refered to as ++ // the low-pri list (the midpoint). This is referred to as + // midpoint insertion strategy to make entries never get hit in cache + // age out faster. + // |