You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by ha...@apache.org on 2016/06/16 17:03:44 UTC
incubator-quickstep git commit: Fixed bug where the wrong operator is
used.
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 <ha...@apache.org>
Authored: Thu Jun 16 12:03:13 2016 -0500
Committer: Hakan Memisoglu <ha...@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;
}
};