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-2194] Fix update stats core on tinyint unsigned column
Date Thu, 06 Oct 2016 15:21:42 GMT
Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 8039cf1f6 -> 5cd718a2f


[TRAFODION-2194] Fix update stats core on tinyint unsigned column


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

Branch: refs/heads/master
Commit: 8efaffa7ddea285cfa1f682a43e5bd371ea6537c
Parents: 8039cf1
Author: Dave Birdsall <dbirdsall@apache.org>
Authored: Wed Oct 5 23:49:07 2016 +0000
Committer: Dave Birdsall <dbirdsall@apache.org>
Committed: Wed Oct 5 23:49:07 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/8efaffa7/core/sql/exp/exp_conv.cpp
----------------------------------------------------------------------
diff --git a/core/sql/exp/exp_conv.cpp b/core/sql/exp/exp_conv.cpp
index 18f527b..acfdd12 100644
--- a/core/sql/exp/exp_conv.cpp
+++ b/core/sql/exp/exp_conv.cpp
@@ -5146,7 +5146,7 @@ convDoIt(char * source,
                              diagsArea,
                              tempFlags) == ex_expr::EXPR_OK)
             {
-              *(unsigned short *)target = *(unsigned short *)source;
+              *(UInt8 *)target = *(UInt8 *)source;
             }
           else
             {


Mime
View raw message