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 2017/03/13 20:03:16 UTC

[2/3] incubator-trafodion git commit: fix review comments. (cherry picked from commit 429f42604459874a1190d833fe9ec0e3666856d7)

fix review comments.
(cherry picked from commit 429f42604459874a1190d833fe9ec0e3666856d7)


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

Branch: refs/heads/master
Commit: aff0f4991583e6cc663dc283ab58a0750c8b7c22
Parents: b281c92
Author: Prashant Vasudev <pr...@esgyn.com>
Authored: Sat Mar 4 12:45:36 2017 +0000
Committer: Prashant Vasudev <pr...@esgyn.com>
Committed: Mon Mar 13 07:17:17 2017 +0000

----------------------------------------------------------------------
 core/sql/cli/Cli.cpp                    | 2 +-
 core/sql/sqlcomp/CmpSeabaseDDLtable.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/aff0f499/core/sql/cli/Cli.cpp
----------------------------------------------------------------------
diff --git a/core/sql/cli/Cli.cpp b/core/sql/cli/Cli.cpp
index ce40fae..27e6b1e 100644
--- a/core/sql/cli/Cli.cpp
+++ b/core/sql/cli/Cli.cpp
@@ -9717,7 +9717,7 @@ Lng32 SQLCLI_LOBcliInterface
 	// set parserflags to allow ghost table
 	currContext.setSqlParserFlags(0x1);
 	
-	Int64 numChunks = 0;
+	Lng32 numChunks = 0;
 	Lng32 len;
 	cliRC = cliInterface->executeImmediate(query, (char*)&numChunks, &len, FALSE);
 

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/aff0f499/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
----------------------------------------------------------------------
diff --git a/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp b/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
index 51cbef3..a15b11c 100644
--- a/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
+++ b/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
@@ -7791,7 +7791,7 @@ void CmpSeabaseDDL::alterSeabaseTableAddPKeyConstraint(
   // this new primary key.
   // Do this optimization in mode_special_4 only.
   Lng32 len = 0;
-  Int64 rowCount = 0;
+  Lng32 rowCount = 0;
   NABoolean ms4 = FALSE;
   if (CmpCommon::getDefault(MODE_SPECIAL_4) == DF_ON)
     {