[TRAFODION-3056] Make UPDATE STATS tolerate the absence of RMS

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

Branch: refs/heads/master
Commit: 12b89700650a9170f2dac5c4d25a7f0077812ffe
Parents: 5f887e7
Author: Dave Birdsall <[email protected]>
Authored: Mon May 7 20:12:37 2018 +0000
Committer: Dave Birdsall <[email protected]>
Committed: Mon May 7 20:12:37 2018 +0000

----------------------------------------------------------------------
 core/sql/ustat/hs_cli.cpp | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/12b89700/core/sql/ustat/hs_cli.cpp
----------------------------------------------------------------------
diff --git a/core/sql/ustat/hs_cli.cpp b/core/sql/ustat/hs_cli.cpp
index 298e9cf..dbefed0 100644
--- a/core/sql/ustat/hs_cli.cpp
+++ b/core/sql/ustat/hs_cli.cpp
@@ -5754,6 +5754,7 @@ Lng32 printPlan(SQLSTMT_ID *stmt)
     SQLSTMT_ID* ppStmtId = ppCursor.getStmt();
     SQLDESC_ID* ppOutputDesc = ppCursor.getOutDesc();
     retcode = ppCursor.open();
+    HSFilterWarning(retcode);
     HSHandleError(retcode);
 
     printPlanHeader(LM);

Reply via email to