diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-12-07 01:51:42 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-12-07 01:51:42 +0800 |
commit | a446abd2151b87432c3ddff367575718c48e1037 (patch) | |
tree | fd9c43e16880723df10310a9d6a8dfb2efa976c4 /databases | |
parent | d748306ac2a8068cee8e84d76f21bcdfecb4ef3e (diff) | |
download | freebsd-ports-gnome-a446abd2151b87432c3ddff367575718c48e1037.tar.gz freebsd-ports-gnome-a446abd2151b87432c3ddff367575718c48e1037.tar.zst freebsd-ports-gnome-a446abd2151b87432c3ddff367575718c48e1037.zip |
- Fix build on i386
Diffstat (limited to 'databases')
-rw-r--r-- | databases/rocksdb/files/patch-tools-db_stress.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/rocksdb/files/patch-tools-db_stress.cc b/databases/rocksdb/files/patch-tools-db_stress.cc new file mode 100644 index 000000000000..b8f41d710781 --- /dev/null +++ b/databases/rocksdb/files/patch-tools-db_stress.cc @@ -0,0 +1,11 @@ +--- tools/db_stress.cc.orig 2015-11-17 21:52:04 UTC ++++ tools/db_stress.cc +@@ -590,7 +590,7 @@ class Stats { + "", bytes_mb, rate, (100*writes_)/done_, done_); + fprintf(stdout, "%-12s: Wrote %ld times\n", "", writes_); + fprintf(stdout, "%-12s: Deleted %ld times\n", "", deletes_); +- fprintf(stdout, "%-12s: Single deleted %ld times\n", "", single_deletes_); ++ fprintf(stdout, "%-12s: Single deleted %zu times\n", "", single_deletes_); + fprintf(stdout, "%-12s: %ld read and %ld found the key\n", "", + gets_, founds_); + fprintf(stdout, "%-12s: Prefix scanned %ld times\n", "", prefixes_); |