ports/databases/mysql81-server/files/extra-patch-storage_innobase_log_log0recv.cc
Jochen Neumeister 7e5dafecce add databases/mysql81-server and databases/mysql81-client
Welcome MySQL81 to the Port Tree

Special thanks for help: fluffy, both
Sponsored by:	Netzkommune GmbH
2023-12-18 07:54:41 +01:00

11 lines
642 B
C++

--- storage/innobase/log/log0recv.cc.orig 2023-12-17 10:36:48 UTC
+++ storage/innobase/log/log0recv.cc
@@ -3695,7 +3695,7 @@ static void recv_recovery_begin(log_t &log, const lsn_
than number of concurrent IOs we want to sustain. We should also keep in
mind that the limit for the deltas hashmap is not strictly enforced and
this number includes the not-well specified safety margin. */
- size_t{256} * srv_buf_pool_instances);
+ static_cast<unsigned int>(size_t{256} * srv_buf_pool_instances));
const size_t delta_hashmap_max_mem =
UNIV_PAGE_SIZE * (buf_pool_get_n_pages() - pages_to_be_kept_free);