asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wail Alkowaileet (Code Review)" <do-not-re...@asterixdb.incubator.apache.org>
Subject Change in asterixdb[master]: ASTERIXDB-1334 and ASTERIXDB-1616: Fix null bitmap size.
Date Sun, 11 Sep 2016 19:22:09 GMT
Wail Alkowaileet has uploaded a new change for review.

  https://asterix-gerrit.ics.uci.edu/1163

Change subject: ASTERIXDB-1334 and ASTERIXDB-1616: Fix null bitmap size.
......................................................................

ASTERIXDB-1334 and ASTERIXDB-1616: Fix null bitmap size.

Change-Id: I1eaa215b8fc2df02fecb7f86cc5169f07765b09d
---
M asterixdb/asterix-om/src/main/java/org/apache/asterix/builders/RecordBuilder.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/63/1163/1

diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/builders/RecordBuilder.java
b/asterixdb/asterix-om/src/main/java/org/apache/asterix/builders/RecordBuilder.java
index 7e6d97e..ca7c0b0 100644
--- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/builders/RecordBuilder.java
+++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/builders/RecordBuilder.java
@@ -157,7 +157,7 @@
                 // the null bit is 1, which means the field is not a null,
                 // the missing bit is 0, means the field is missing (by default).
                 Arrays.fill(nullBitMap, 0, nullBitMapSize, (byte) 0xAA);
-                headerSize += nullBitMap.length;
+                headerSize += nullBitMapSize;
             }
         }
     }

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/1163
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1eaa215b8fc2df02fecb7f86cc5169f07765b09d
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Wail Alkowaileet <wael.y.k@gmail.com>

Mime
View raw message