trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbirds...@apache.org
Subject [1/2] incubator-trafodion git commit: [TRAFODION-1720] rework, fix a bug in it
Date Thu, 24 Mar 2016 15:53:57 GMT
Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 10e61eb7a -> 2857b3e97


[TRAFODION-1720] rework, fix a bug in it


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

Branch: refs/heads/master
Commit: f9fdf8d19582575f49c6241af709c5785765b979
Parents: 741e52a
Author: Liu Ming <ovis_poly@sina.com>
Authored: Wed Mar 23 06:53:44 2016 +0000
Committer: Liu Ming <ovis_poly@sina.com>
Committed: Wed Mar 23 06:53:44 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/f9fdf8d1/core/sql/generator/GenRelScan.cpp
----------------------------------------------------------------------
diff --git a/core/sql/generator/GenRelScan.cpp b/core/sql/generator/GenRelScan.cpp
index a919958..b56a7ae 100644
--- a/core/sql/generator/GenRelScan.cpp
+++ b/core/sql/generator/GenRelScan.cpp
@@ -232,7 +232,7 @@ int HbaseAccess::createAsciiColAndCastExpr(Generator * generator,
   // HIVE_FILE_CHARSET can only be empty or GBK
   else if (  needTranslate == TRUE )
   {
-      asciiType =  new (h) SQLVarChar(sizeof(Int64)/2, newGivenType->supportsSQLnull(),
+      asciiType =  new (h) SQLVarChar(sizeof(Int64), newGivenType->supportsSQLnull(),
                                       FALSE, FALSE, CharInfo::GBK);
   }
   else


Mime
View raw message