You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by li...@apache.org on 2018/02/04 01:40:31 UTC
[1/2] trafodion git commit: correct Column_Size fetched from mxosrvr
Repository: trafodion
Updated Branches:
refs/heads/master 700c8a5d5 -> d80f009eb
correct Column_Size fetched from mxosrvr
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/bb306026
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/bb306026
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/bb306026
Branch: refs/heads/master
Commit: bb306026bdcec65050c364596a52d6c4bedb7837
Parents: d93d17e
Author: Weixin-Xu <xw...@weixin-1.novalocal>
Authored: Fri Jan 12 15:28:46 2018 +0800
Committer: Weixin-Xu <xw...@weixin-1.novalocal>
Committed: Fri Jan 12 15:28:46 2018 +0800
----------------------------------------------------------------------
core/conn/odbc/src/odbc/nsksrvrcore/srvrothers.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafodion/blob/bb306026/core/conn/odbc/src/odbc/nsksrvrcore/srvrothers.cpp
----------------------------------------------------------------------
diff --git a/core/conn/odbc/src/odbc/nsksrvrcore/srvrothers.cpp b/core/conn/odbc/src/odbc/nsksrvrcore/srvrothers.cpp
index ccbb689..e24c130 100644
--- a/core/conn/odbc/src/odbc/nsksrvrcore/srvrothers.cpp
+++ b/core/conn/odbc/src/odbc/nsksrvrcore/srvrothers.cpp
@@ -4805,7 +4805,7 @@ odbc_SQLSvc_GetSQLCatalogs_sme_(
"cast((case when co.FS_DATA_TYPE = 0 and co.character_set = 'UCS2' then co.COLUMN_SIZE/2 "
"when co.FS_DATA_TYPE = 64 and co.character_set = 'UCS2' then co.COLUMN_SIZE/2 "
"when dt.USEPRECISION = -1 then co.COLUMN_SIZE when dt.USEPRECISION = -2 then co.COLUMN_PRECISION "
- "when co.FS_DATA_TYPE = 192 then dt.USEPRECISION + 1 "
+ "when co.FS_DATA_TYPE = 192 then dt.USEPRECISION "
"when co.FS_DATA_TYPE >= 195 and co.FS_DATA_TYPE <= 207 then dt.USEPRECISION + 1 "
"else dt.USEPRECISION end) as integer) COLUMN_SIZE, "
"cast((case when dt.USELENGTH = -1 then co.COLUMN_SIZE when dt.USELENGTH = -2 then co.COLUMN_PRECISION "
[2/2] trafodion git commit: [TRAFODION-2903] correct Column_Size
fetched from mxosrvr
Posted by li...@apache.org.
[TRAFODION-2903] correct Column_Size fetched from mxosrvr
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/d80f009e
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/d80f009e
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/d80f009e
Branch: refs/heads/master
Commit: d80f009eb6ae71f5787f6b2b10c615447bad835a
Parents: 700c8a5 bb30602
Author: Liu Ming <ov...@sina.com>
Authored: Sat Feb 3 20:26:49 2018 +0000
Committer: Liu Ming <ov...@sina.com>
Committed: Sat Feb 3 20:26:49 2018 +0000
----------------------------------------------------------------------
core/conn/odbc/src/odbc/nsksrvrcore/srvrothers.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafodion/blob/d80f009e/core/conn/odbc/src/odbc/nsksrvrcore/srvrothers.cpp
----------------------------------------------------------------------