Repository: trafodion
Updated Branches:
  refs/heads/master 6e39af244 -> c40ca2700


[TRAFODION 3024] function lower() return null for varchar column when pcode is 
disabled


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

Branch: refs/heads/master
Commit: d7f99b0735be3b794973c2bd2c079aa8606bcd3a
Parents: 9247656
Author: Andy Yang <[email protected]>
Authored: Mon Apr 16 15:28:22 2018 +0800
Committer: Andy Yang <[email protected]>
Committed: Mon Apr 16 15:28:22 2018 +0800

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


http://git-wip-us.apache.org/repos/asf/trafodion/blob/d7f99b07/core/sql/exp/exp_function.cpp
----------------------------------------------------------------------
diff --git a/core/sql/exp/exp_function.cpp b/core/sql/exp/exp_function.cpp
index 9a1e332..787e952 100644
--- a/core/sql/exp/exp_function.cpp
+++ b/core/sql/exp/exp_function.cpp
@@ -1609,6 +1609,7 @@ ex_expr::exp_return_type ex_function_lower::eval(char 
*op_data[],
     {
       op_data[0][len0] = TOLOWER(op_data[1][len0]);
       ++len0;
+      ++total_bytes_out;
     }
   }
   else 

Reply via email to