asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wangs...@apache.org
Subject incubator-asterixdb git commit: Fixed CreatePointDescriptor
Date Sun, 21 Feb 2016 05:17:32 GMT
Repository: incubator-asterixdb
Updated Branches:
  refs/heads/master 478d60ea0 -> 0f9268178


Fixed CreatePointDescriptor

 - Fixed a typo in CreatePointDescriptor.

Change-Id: Ib2529e8cbdaf6d14b03dd27de9d8c0f8afa451f4
Reviewed-on: https://asterix-gerrit.ics.uci.edu/650
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Young-Seok Kim <kisskys@gmail.com>


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

Branch: refs/heads/master
Commit: 0f92681780dc850aacdfd28bd50fe5793df40818
Parents: 478d60e
Author: Taewoo Kim <wangsaeu@yahoo.com>
Authored: Sat Feb 20 20:23:26 2016 -0800
Committer: Taewoo Kim <wangsaeu@yahoo.com>
Committed: Sat Feb 20 21:12:48 2016 -0800

----------------------------------------------------------------------
 .../runtime/evaluators/functions/CreatePointDescriptor.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/0f926817/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/CreatePointDescriptor.java
----------------------------------------------------------------------
diff --git a/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/CreatePointDescriptor.java
b/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/CreatePointDescriptor.java
index d0a6564..b65c5c0 100644
--- a/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/CreatePointDescriptor.java
+++ b/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/CreatePointDescriptor.java
@@ -83,7 +83,7 @@ public class CreatePointDescriptor extends AbstractScalarFunctionDynamicDescript
                         byte[] bytes0 = inputArg0.getByteArray();
                         int offset0 = inputArg0.getStartOffset();
                         byte[] bytes1 = inputArg1.getByteArray();
-                        int offset1 = inputArg0.getStartOffset();
+                        int offset1 = inputArg1.getStartOffset();
 
                         // type-check: (double, double)
                         if ((bytes0[offset0] != ATypeTag.SERIALIZED_DOUBLE_TYPE_TAG


Mime
View raw message