drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From par...@apache.org
Subject [1/2] drill git commit: DRILL-2151: VariableLengthVector.copyFromSafe() unnecessary sets the offsetVector
Date Tue, 17 Feb 2015 23:55:14 GMT
Repository: drill
Updated Branches:
  refs/heads/master 9c4d91d01 -> 36fc560f0


DRILL-2151: VariableLengthVector.copyFromSafe() unnecessary sets the offsetVector


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

Branch: refs/heads/master
Commit: 81ec0fb5b7aa8697bd34328179da3fc92eebc3df
Parents: 9c4d91d
Author: adeneche <adeneche@gmail.com>
Authored: Tue Feb 3 13:53:16 2015 -0800
Committer: Parth Chandra <pchandra@maprtech.com>
Committed: Tue Feb 17 15:33:15 2015 -0800

----------------------------------------------------------------------
 .../java-exec/src/main/codegen/templates/VariableLengthVectors.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/81ec0fb5/exec/java-exec/src/main/codegen/templates/VariableLengthVectors.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/templates/VariableLengthVectors.java b/exec/java-exec/src/main/codegen/templates/VariableLengthVectors.java
index aa5b702..f854d32 100644
--- a/exec/java-exec/src/main/codegen/templates/VariableLengthVectors.java
+++ b/exec/java-exec/src/main/codegen/templates/VariableLengthVectors.java
@@ -207,7 +207,6 @@ public final class ${minor.class}Vector extends BaseDataValueVector implements
V
     offsetVector.getMutator().setSafe(thisIndex + 1, outputStart + len);
 
     from.data.getBytes(start, data, outputStart, len);
-    offsetVector.getMutator().setSafe( (thisIndex+1) * ${type.width}, outputStart + len);
 
     return true;
   }


Mime
View raw message