quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hakanmemiso...@apache.org
Subject incubator-quickstep git commit: QUICKSTEP-33: Fixed the bug in NumericCast. [Forced Update!]
Date Wed, 29 Jun 2016 19:13:01 GMT
Repository: incubator-quickstep
Updated Branches:
  refs/heads/quickstep-33 cf7a53d55 -> d82365731 (forced update)


QUICKSTEP-33: Fixed the bug in NumericCast.


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

Branch: refs/heads/quickstep-33
Commit: d823657312cb9a897a0a8dd6dec324924462e007
Parents: 5c4e8db
Author: Hakan Memisoglu <hakanmemisoglu@gmail.com>
Authored: Wed Jun 29 14:01:13 2016 -0500
Committer: Hakan Memisoglu <hakanmemisoglu@gmail.com>
Committed: Wed Jun 29 14:12:34 2016 -0500

----------------------------------------------------------------------
 types/operations/unary_operations/NumericCastOperation.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/d8236573/types/operations/unary_operations/NumericCastOperation.hpp
----------------------------------------------------------------------
diff --git a/types/operations/unary_operations/NumericCastOperation.hpp b/types/operations/unary_operations/NumericCastOperation.hpp
index 250df6d..6662796 100644
--- a/types/operations/unary_operations/NumericCastOperation.hpp
+++ b/types/operations/unary_operations/NumericCastOperation.hpp
@@ -126,7 +126,7 @@ class UncheckedNumericCastOperator : public UncheckedUnaryOperator {
           result->appendNullValue();
         } else {
           *static_cast<typename TargetType::cpptype*>(result->getPtrForDirectWrite())
-              = static_cast<typename SourceType::cpptype>(*scalar_arg);
+              = static_cast<typename TargetType::cpptype>(*scalar_arg);
         }
       }
       return result;


Mime
View raw message