Repository: incubator-quickstep Updated Branches: refs/heads/decimal-type 85dab23c7 -> 889c4805e
Fix in vector copy elision. Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/889c4805 Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/889c4805 Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/889c4805 Branch: refs/heads/decimal-type Commit: 889c4805e661939a4881a1c096e2a70a494c1212 Parents: 85dab23 Author: Hakan Memisoglu <[email protected]> Authored: Mon Jun 20 14:37:22 2016 -0500 Committer: Hakan Memisoglu <[email protected]> Committed: Mon Jun 20 14:37:22 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/889c4805/types/operations/unary_operations/NumericCastOperation.hpp ---------------------------------------------------------------------- diff --git a/types/operations/unary_operations/NumericCastOperation.hpp b/types/operations/unary_operations/NumericCastOperation.hpp index b77176d..9eb50c2 100644 --- a/types/operations/unary_operations/NumericCastOperation.hpp +++ b/types/operations/unary_operations/NumericCastOperation.hpp @@ -127,7 +127,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;
