Browse Source

Merge pull request #4004 from ghalliday/issue8839

HPCC-8839 Include sizes in key-row size error message

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 12 years ago
parent
commit
a5369db031
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/jhtree/ctfile.cpp

+ 1 - 1
system/jhtree/ctfile.cpp

@@ -365,7 +365,7 @@ bool CWriteNode::add(offset_t pos, const void *indata, size32_t insize, unsigned
     }
 
     if (insize>keyLen)
-        throw MakeStringException(0, "key+payload exceeds max length");
+        throw MakeStringException(0, "key+payload (%u) exceeds max length (%u)", insize, keyLen);
     memcpy(lastKeyValue, indata, insize);
     lastSequence = sequence;
     hdr.numKeys++;