Opened 2 years ago

Closed 21 months ago

#842 closed defect (fixed)

rasql should throw a proper exception on empty file

Reported by: dmisev Owned by: bismaili
Priority: minor Milestone: 9.1
Component: applications Version: development
Keywords: Cc:
Complexity: Medium

Description

The error displayed now doesn't match so well if a file of size 0 is given to rasql. To reproduce:

dimitar@blade:~$ touch test
dimitar@blade:~$ rasql -q 'insert into test_coll values inv_tiff($1)' -f test
rasql: rasdaman query tool v1.0, rasdaman v9.0.5-gd8eddb9 -- generated on 23.10.2014 10:48:23.
opening database RASBASE at localhost:7001...ok
fetching type information for GreyString from database, using readonly transaction...ok
reading file test...rasdaman error 201: Exception: The result is no interval.
aborting transaction...ok
rasql done.

Change History (3)

comment:1 Changed 2 years ago by dmisev

  • Owner changed from dmisev to bthapaliya
  • Status changed from new to assigned

comment:2 Changed 2 years ago by dmisev

  • Milestone changed from 9.0.x to 9.1
  • Owner changed from bthapaliya to bismaili

comment:3 Changed 21 months ago by dmisev

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.