You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "XuWeixin (JIRA)" <ji...@apache.org> on 2018/01/24 08:27:00 UTC

[jira] [Resolved] (TRAFODION-2811) When convert NULL to SQL_VARCHAR , the length was not be sent

     [ https://issues.apache.org/jira/browse/TRAFODION-2811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

XuWeixin resolved TRAFODION-2811.
---------------------------------
    Resolution: Fixed

> When convert NULL  to  SQL_VARCHAR , the length was not be sent
> ---------------------------------------------------------------
>
>                 Key: TRAFODION-2811
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2811
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: client-odbc-linux, client-odbc-windows
>    Affects Versions: any
>         Environment: centos 6.7
>            Reporter: XuWeixin
>            Assignee: XuWeixin
>            Priority: Major
>             Fix For: 2.2-incubating
>
>
> When inserting NULL buffer to varchar or the length of data is 0, ODBC has not sent the real length of data to server. 
> Error: [Trafodion ODBC Driver][Trafodion Database] SQL ERROR:*** ERROR[8402] A string overflow occurred during the evaluation of a character expression.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)