trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sure...@apache.org
Subject [2/3] incubator-trafodion git commit: Fix for seabase/test020 failure
Date Mon, 23 Jan 2017 23:12:25 GMT
Fix for seabase/test020 failure


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

Branch: refs/heads/master
Commit: 478478c232f4e78fdcfe7c9e38a4a23ddc021118
Parents: 1450e83
Author: Suresh Subbiah <sureshs@apache.org>
Authored: Mon Jan 23 19:48:12 2017 +0000
Committer: Suresh Subbiah <sureshs@apache.org>
Committed: Mon Jan 23 19:48:12 2017 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/478478c2/core/sql/generator/GenExpGenerator.cpp
----------------------------------------------------------------------
diff --git a/core/sql/generator/GenExpGenerator.cpp b/core/sql/generator/GenExpGenerator.cpp
index b360f51..7bcfe4c 100644
--- a/core/sql/generator/GenExpGenerator.cpp
+++ b/core/sql/generator/GenExpGenerator.cpp
@@ -3154,7 +3154,7 @@ short ExpGenerator::generateDeserializedMoveExpr(
       NAColumn * nac = vid.getNAColumn( TRUE );
 
       ItemExpr * ie = NULL;
-      if (CmpSeabaseDDL::isEncodingNeededForSerialization(nac) &&
+      if (nac && CmpSeabaseDDL::isEncodingNeededForSerialization(nac) &&
 	  !alreadyDeserialized.contains(vid))
 	{
 	  ie = new(generator->wHeap()) CompDecode(vid.getItemExpr(), &vid.getType(),


Mime
View raw message