[
https://issues.apache.org/jira/browse/TRAFODION-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Selvaganesan Govindarajan updated TRAFODION-3049:
-------------------------------------------------
Fix Version/s: (was: 2.3)
2.4
> Inaccurate conditions of judgment cause low efficiency
> ------------------------------------------------------
>
> Key: TRAFODION-3049
> URL: https://issues.apache.org/jira/browse/TRAFODION-3049
> Project: Apache Trafodion
> Issue Type: Bug
> Components: client-odbc-linux, client-odbc-windows
> Affects Versions: any
> Reporter: XuWeixin
> Assignee: XuWeixin
> Priority: Major
> Fix For: 2.4
>
>
> In ctosqlconv.cpp, the code below :
> if( !(((SQLDataType == SQLTYPECODE_NUMERIC) && (targetPrecision > 18)) ||
> ((SQLDataType == SQLTYPECODE_NUMERIC_UNSIGNED) && (targetPrecision > 9))))
>
> Only when the column is NUMERIC(19+,n), the code will skip.
> It is only used for numeirc but now the other data type such as char will do
> the same process.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)