svn commit: r403131 - head/databases/rocksdb/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Dec 6 17:51:44 UTC 2015


Author: sunpoet
Date: Sun Dec  6 17:51:42 2015
New Revision: 403131
URL: https://svnweb.freebsd.org/changeset/ports/403131

Log:
  - Fix build on i386

Added:
  head/databases/rocksdb/files/patch-tools-db_stress.cc   (contents, props changed)

Added: head/databases/rocksdb/files/patch-tools-db_stress.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/rocksdb/files/patch-tools-db_stress.cc	Sun Dec  6 17:51:42 2015	(r403131)
@@ -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_);


More information about the svn-ports-all mailing list