You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2018/03/21 20:26:56 UTC

[1/2] trafodion git commit: [TRAFODION-2998] sleep execution code cannot build on CentOS 7

Repository: trafodion
Updated Branches:
  refs/heads/master 7daf172c9 -> 53391708a


[TRAFODION-2998] sleep execution code cannot build on CentOS 7


Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/80b76cd4
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/80b76cd4
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/80b76cd4

Branch: refs/heads/master
Commit: 80b76cd4ce9102d3f52e82392af213819a54023c
Parents: 75c7b39
Author: Liu Ming <ov...@sina.com>
Authored: Mon Mar 19 03:34:09 2018 +0000
Committer: Liu Ming <ov...@sina.com>
Committed: Mon Mar 19 03:34:09 2018 +0000

----------------------------------------------------------------------
 core/sql/exp/exp_function.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/80b76cd4/core/sql/exp/exp_function.cpp
----------------------------------------------------------------------
diff --git a/core/sql/exp/exp_function.cpp b/core/sql/exp/exp_function.cpp
index a65c120..8d9426f 100644
--- a/core/sql/exp/exp_function.cpp
+++ b/core/sql/exp/exp_function.cpp
@@ -2550,7 +2550,7 @@ ex_expr::exp_return_type ex_function_sleep::eval(char *op_data[],
       break;
       
     case REC_BIN32_SIGNED:
-      *(Lng32 *)sec = labs(*(Lng32 *)op_data[1]);
+      sec = *(Lng32 *)op_data[1];
       if(sec < 0 )
       {
         ExRaiseSqlError(heap, diagsArea, EXE_BAD_ARG_TO_MATH_FUNC);


[2/2] trafodion git commit: Merge [TRAFODION-2998] PR 1483 Fix sleep exp code to compile on CentOS 7

Posted by db...@apache.org.
Merge [TRAFODION-2998] PR 1483 Fix sleep exp code to compile on CentOS 7


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

Branch: refs/heads/master
Commit: 53391708adc2c41fc62622ed18d2d54a56e6c5ae
Parents: 7daf172 80b76cd
Author: Dave Birdsall <db...@apache.org>
Authored: Wed Mar 21 20:26:18 2018 +0000
Committer: Dave Birdsall <db...@apache.org>
Committed: Wed Mar 21 20:26:18 2018 +0000

----------------------------------------------------------------------
 core/sql/exp/exp_function.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------