asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From buyin...@apache.org
Subject asterixdb git commit: ASTERIXDB-1334 and ASTERIXDB-1616: Fix null bitmap size.
Date Sun, 11 Sep 2016 21:52:05 GMT
Repository: asterixdb
Updated Branches:
  refs/heads/master 7477a58a9 -> dd3660520


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

Change-Id: I1eaa215b8fc2df02fecb7f86cc5169f07765b09d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1163
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Yingyi Bu <buyingyi@gmail.com>


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

Branch: refs/heads/master
Commit: dd3660520bcf3bbd1fb209af62a454e5259e69f2
Parents: 7477a58
Author: Wail Alkowaileet <wael.y.k@gmail.com>
Authored: Sun Sep 11 22:21:02 2016 +0300
Committer: Yingyi Bu <buyingyi@gmail.com>
Committed: Sun Sep 11 14:50:59 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/asterix/builders/RecordBuilder.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/dd366052/asterixdb/asterix-om/src/main/java/org/apache/asterix/builders/RecordBuilder.java
----------------------------------------------------------------------
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 @@ public class RecordBuilder implements IARecordBuilder {
                 // 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;
             }
         }
     }


Mime
View raw message