Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2955

odb crash when executing sql statements in a file and the file contains space only line.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • db-utility-odb
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              sujinpei 苏锦佩
              sujinpei 苏锦佩
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: