[
https://issues.apache.org/jira/browse/TRAFODION-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16355788#comment-16355788
]
ASF GitHub Bot commented on TRAFODION-2955:
-------------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/trafodion/pull/1442
> odb crash when executing sql statements in a file and the file contains space
> only line.
> -----------------------------------------------------------------------------------------
>
> Key: TRAFODION-2955
> URL: https://issues.apache.org/jira/browse/TRAFODION-2955
> Project: Apache Trafodion
> Issue Type: Bug
> Components: db-utility-odb
> Reporter: 苏锦佩
> Assignee: 苏锦佩
> Priority: Major
>
> 1. create a sql file:
> vi temp.sql
> 1 drop table odb_copy_customer1;$
> 2 create table odb_copy_customer1(id int, name varchar(32));$
> 3 insert into odb_copy_customer1 values (1, 'hadoop');$
> 4 $
> 5 insert into odb_copy_customer1 values (2, 'hive'); $
> 2. ./odb64luo -u odb -p odb -d oracle -f temp.sql
> 3. [0.0.2]--- 1 row(s) inserted in 0.021s (prep 0.000s, exec 0.021s, fetch
> 0.000s/0.000s)
> Segmentation fault
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)