You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2017/10/04 01:27:15 UTC

kudu git commit: block_compression: fix arg to Substitute

Repository: kudu
Updated Branches:
  refs/heads/master 4c7d8e040 -> 77dea331d


block_compression: fix arg to Substitute

Change-Id: If00035e39ba3f837f42e398ca6aa31bbc9afb3a9
Reviewed-on: http://gerrit.cloudera.org:8080/8203
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <as...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/77dea331
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/77dea331
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/77dea331

Branch: refs/heads/master
Commit: 77dea331d8d0919d3b9ba2c8cc7f776b5d5f3a6f
Parents: 4c7d8e0
Author: Adar Dembo <ad...@cloudera.com>
Authored: Tue Oct 3 16:09:26 2017 -0700
Committer: Alexey Serbin <as...@cloudera.com>
Committed: Wed Oct 4 01:26:20 2017 +0000

----------------------------------------------------------------------
 src/kudu/cfile/block_compression.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/77dea331/src/kudu/cfile/block_compression.cc
----------------------------------------------------------------------
diff --git a/src/kudu/cfile/block_compression.cc b/src/kudu/cfile/block_compression.cc
index e7bb5df..aa342bb 100644
--- a/src/kudu/cfile/block_compression.cc
+++ b/src/kudu/cfile/block_compression.cc
@@ -167,7 +167,7 @@ Status CompressedBlockDecoder::Init() {
   if (uncompressed_size_ > FLAGS_max_cfile_block_size) {
     return Status::Corruption(
       Substitute("uncompressed size $0 overflows the maximum length $1, buffer",
-                 compressed_size, FLAGS_max_cfile_block_size),
+                 uncompressed_size_, FLAGS_max_cfile_block_size),
       KUDU_REDACT(data_.ToDebugString(50)));
   }