commit | e7206afb94f87eed68ad1cdbd7af9e353a1d6841 | [log] [tgz] |
---|---|---|
author | alexander.behm <alexander.behm@123451ca-8445-de46-9d55-352943316053> | Thu Mar 10 01:43:59 2011 +0000 |
committer | alexander.behm <alexander.behm@123451ca-8445-de46-9d55-352943316053> | Thu Mar 10 01:43:59 2011 +0000 |
tree | 64e06ac8b5b61f7b82c557984f4fdf22630c6c75 | |
parent | c764bb66f52e4803d705759d8420c3988aad4b75 [diff] |
Fixed bug where free space is incorrectly initialized. Removed target folder committed by mistake. git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_indexes@369 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks-storage-am-common/src/main/java/edu/uci/ics/hyracks/storage/am/common/frames/TreeIndexNSMFrame.java b/hyracks-storage-am-common/src/main/java/edu/uci/ics/hyracks/storage/am/common/frames/TreeIndexNSMFrame.java index 3310542..8ea13e5 100644 --- a/hyracks-storage-am-common/src/main/java/edu/uci/ics/hyracks/storage/am/common/frames/TreeIndexNSMFrame.java +++ b/hyracks-storage-am-common/src/main/java/edu/uci/ics/hyracks/storage/am/common/frames/TreeIndexNSMFrame.java
@@ -216,8 +216,8 @@ } protected void resetSpaceParams() { - buf.putInt(freeSpaceOff, totalFreeSpaceOff + 4); - buf.putInt(totalFreeSpaceOff, buf.capacity() - (totalFreeSpaceOff + 4)); + buf.putInt(freeSpaceOff, smFlagOff + 1); + buf.putInt(totalFreeSpaceOff, buf.capacity() - (smFlagOff + 1)); } @Override