Browse Source

Merge pull request #13575 from dcamper/hpcc-23810-hd.nodeSize

HPCC-23810 Fix typo referencing KeyHdr.nodeSize

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

+ 1 - 1
system/jhtree/ctfile.cpp

@@ -106,7 +106,7 @@ extern bool isCompressedIndex(const char *filename)
         if (io->read(0, sizeof(hdr), &hdr) == sizeof(hdr))
         {
             SwapBigEndian(hdr);
-            if (hdr.nodesize && size % hdr.nodeSize == 0 && hdr.phyrec == size-1 && hdr.ktype & (HTREE_COMPRESSED_KEY|HTREE_QUICK_COMPRESSED_KEY))
+            if (hdr.nodeSize && size % hdr.nodeSize == 0 && hdr.phyrec == size-1 && hdr.ktype & (HTREE_COMPRESSED_KEY|HTREE_QUICK_COMPRESSED_KEY))
             {
                 if (hdr.ktype & USE_TRAILING_HEADER)
                 {