databases/rocksdb: Fix build on i386
Reference: https://pkg-status.freebsd.org/beefy21/data/140i386-default/02faf78f4c9b/logs/rocksdb-9.2.1.log
This commit is contained in:
11
databases/rocksdb/files/patch-i386
Normal file
11
databases/rocksdb/files/patch-i386
Normal file
@@ -0,0 +1,11 @@
|
||||
--- db_stress_tool/db_stress_common.cc.orig 2024-05-08 23:03:15 UTC
|
||||
+++ db_stress_tool/db_stress_common.cc
|
||||
@@ -200,7 +200,7 @@ void CompressedCacheSetCapacityThread(void* v) {
|
||||
// Lower by upto 50% of usable block cache capacity
|
||||
adjustment = (adjustment * thread->rand.Uniform(50)) / 100;
|
||||
block_cache->SetCapacity(capacity - adjustment);
|
||||
- fprintf(stdout, "New cache capacity = %lu\n",
|
||||
+ fprintf(stdout, "New cache capacity = %zu\n",
|
||||
block_cache->GetCapacity());
|
||||
db_stress_env->SleepForMicroseconds(10 * 1000 * 1000);
|
||||
block_cache->SetCapacity(capacity);
|
||||
Reference in New Issue
Block a user