Opened 14 years ago

Closed 13 years ago

#43 closed defect (fixed)

C++ Example Programs

Reported by: Andrei Aiordachioaie Owned by: Anca Dumitrache
Priority: major Milestone:
Component: manuals_and_examples Version: 8.1
Keywords: Cc:
Complexity: Medium

Description

The example files provided with Rasdaman do not execute properly on Ubuntu 32-bit. Below I provide sample output.

$ ./avg-cell localhost 7001 RASBASE rgb rasguest rasguest

Opening database RASBASE on localhost... OK
Starting read-only transaction ... OK
Looking up collection rgb ...OK
Collection contains 1 entries
Exception: Ref Null

$ ./lookup localhost 7001 RASBASE rgb rasguest rasguest

Opening database RASBASE on localhost... OK
Starting read-only transaction ... OK
Looking up collection rgb ...OK
Collection
  oid...................: PostgreSQL|RASBASE|1538
  type name.............: rgb
  type structure........: set <marray <struct { char red, char green, char blue }, 2>>
  type schema...........: set< marray< struct{ char red, char green, char blue } > >
  number of entries.....: 1
  Element type schema...: marray< struct{ char red, char green, char blue } >

Image 1
Exception: Ref Null

$ ./query localhost 7001 RASBASE rgb rasguest rasguest

Opening database RASBASE on localhost... OK
Starting read-only transaction ... OK
Creating the query object ...OK, Query string is: 
            select a$1 from $2 as a where some_cells( a$3 > $4 )
Substituting query parameters ...OK, Query string is: 
            select a[0:4,0:4] from rgb as a where some_cells( a[8:9,8:9] > 10 )
Executing the query ...FAILED
(no explanation text available - cannot find/load file with standard error messages.)
Aborting transaction ... OK
Closing database ... OK

Change History (2)

comment:1 by Peter Baumann, 14 years ago

Owner: changed from cj to Anca Dumitrache
Status: newassigned

comment:2 by Dimitar Misev, 13 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.