commit | b29d354c602822952ac0b7e80cad5daddf397455 | [log] [tgz] |
---|---|---|
author | vinayakb <vinayakb@123451ca-8445-de46-9d55-352943316053> | Tue Nov 15 07:21:35 2011 +0000 |
committer | vinayakb <vinayakb@123451ca-8445-de46-9d55-352943316053> | Tue Nov 15 07:21:35 2011 +0000 |
tree | 45c575f4193f4ca74c6c950d9753e8e644859360 | |
parent | 062261bf45bd9005732f3fc9c43fb9eaa7370d1b [diff] |
Fixed offset bug in IOManager git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@783 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/io/IOManager.java b/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/io/IOManager.java index 2275d00..c3105ab 100644 --- a/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/io/IOManager.java +++ b/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/io/IOManager.java
@@ -83,6 +83,7 @@ throw new HyracksDataException("Error writing to file: " + fHandle.getFileReference().toString()); } remaining -= len; + offset += len; n += len; } return n; @@ -104,6 +105,7 @@ return -1; } remaining -= len; + offset += len; n += len; } return n;