[ 
https://issues.apache.org/jira/browse/TRAFODION-2811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258939#comment-16258939
 ] 

ASF GitHub Bot commented on TRAFODION-2811:
-------------------------------------------

GitHub user Weixin-Xu opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/1305

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

    When inserting NULL buffer to varchar, 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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Weixin-Xu/incubator-trafodion master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/1305.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1305
    
----
commit d93d17e70ff517d94cde5fee62001948fe209589
Author: Weixin-Xu <[email protected]>
Date:   2017-11-20T01:56:58Z

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

----


> 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
>             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
(v6.4.14#64029)

Reply via email to