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: Fixed bug where the wrong operator is used.
Date Thu, 16 Jun 2016 17:03:44 GMT
Repository: incubator-quickstep
Updated Branches:
  refs/heads/decimal-type 4358b6edd -> 6b11fe0c2


Fixed bug where the wrong operator is used.


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

Branch: refs/heads/decimal-type
Commit: 6b11fe0c214fc3d3d849f0916ba67f40fb37ffdd
Parents: 4358b6e
Author: Hakan Memisoglu <hakanmemisoglu@apache.org>
Authored: Thu Jun 16 12:03:13 2016 -0500
Committer: Hakan Memisoglu <hakanmemisoglu@apache.org>
Committed: Thu Jun 16 12:03:13 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/6b11fe0c/types/operations/binary_operations/ArithmeticBinaryOperators.hpp
----------------------------------------------------------------------
diff --git a/types/operations/binary_operations/ArithmeticBinaryOperators.hpp b/types/operations/binary_operations/ArithmeticBinaryOperators.hpp
index 9b9c3c9..8414da7 100644
--- a/types/operations/binary_operations/ArithmeticBinaryOperators.hpp
+++ b/types/operations/binary_operations/ArithmeticBinaryOperators.hpp
@@ -167,7 +167,7 @@ struct MultiplyFunctor<float, std::int64_t> {
 template <>
 struct MultiplyFunctor<DecimalLit, DecimalLit> {
   inline DecimalLit operator() (const DecimalLit &left, const DecimalLit &right)
const {
-    return left / right;
+    return left * right;
   }
 };
 


Mime
View raw message