You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by li...@apache.org on 2016/11/30 23:23:10 UTC

[2/3] incubator-trafodion git commit: [TRAFODION-2355] fix copyTopN defect for other functions

[TRAFODION-2355] fix copyTopN defect for other functions


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

Branch: refs/heads/master
Commit: d82624f6424ddd7e85f099606e7bbc8504ed203f
Parents: 9d9e388
Author: Liu Ming <mi...@esgyn.cn>
Authored: Wed Nov 30 06:13:53 2016 +0000
Committer: Liu Ming <mi...@esgyn.cn>
Committed: Wed Nov 30 06:13:53 2016 +0000

----------------------------------------------------------------------
 core/sql/optimizer/ItemExpr.cpp | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/d82624f6/core/sql/optimizer/ItemExpr.cpp
----------------------------------------------------------------------
diff --git a/core/sql/optimizer/ItemExpr.cpp b/core/sql/optimizer/ItemExpr.cpp
index b50cd15..2c95a3d 100644
--- a/core/sql/optimizer/ItemExpr.cpp
+++ b/core/sql/optimizer/ItemExpr.cpp
@@ -7789,6 +7789,8 @@ ItemExpr * BuiltinFunction::copyTopNode(ItemExpr * derivedNode,
 	case ITM_NULLIFZERO:
         case ITM_ISIPV4:
         case ITM_ISIPV6:
+        case ITM_MD5:
+        case ITM_CRC32:
 	case ITM_SOUNDEX:
 	  {
 	    result = new (outHeap) BuiltinFunction(getOperatorType(),