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

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

GitHub user Weixin-Xu opened a pull request:

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

    [TRAFODION-1975] odb load error with different system formatted LF

    Linux use '\n' as LF, Windows use "\r\n" and Mac use '\r'.
    It's not yet distinguished in code. So that data inserted will be wrong, or 
odb will crash because the buffer is too long but not divided.

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

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

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

    https://github.com/apache/incubator-trafodion/pull/1125.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 #1125
    
----
commit eb41818c61bf83e25eb306f086f99642e3d3fcbc
Author: Weixin Xu <[email protected]>
Date:   2017-06-19T08:26:32Z

    [TRAFODION-1975] odb encounters segmentation error with Mac formatted 
DSRAND file

----


> odb encounters segmentation error with Mac formatted DSRAND file
> ----------------------------------------------------------------
>
>                 Key: TRAFODION-1975
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1975
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: db-utility-odb
>    Affects Versions: 1.3-incubating, 2.0-incubating
>            Reporter: Gunnar Tapper
>            Priority: Minor
>         Attachments: odb-case.tar.gz
>
>
> Testing 
> http://trafodion.apache.org/docs/odb/index.html#_generate_and_load_data
> The last_names.txt file in the attached has a Mac file format, which is not 
> visible to the naked eye. When used, odb encounters a segmentation error.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to