Opened 9 years ago

Closed 9 years ago

#981 closed defect (fixed)

trying to recreate RASBASE should throw a proper error

Reported by: Dimitar Misev Owned by: Dimitar Misev
Priority: major Milestone: 9.1.x
Component: reladminif Version: development
Keywords: Cc: ultrasonikx@…
Complexity: Medium

Description

Currently the error looks like

18/08/2015 23:51:07.233 FATAL SQL query failed: INSERT INTO RAS_DBUPDATES values ('rc', 1)
18/08/2015 23:51:07.233 FATAL Database error, code: 19, message: column UpdateType is not unique
EDL003 rasdaman error: 206: Error in base DBMS, error number: 19
column UpdateType is not unique

Change History (4)

comment:1 by Dimitar Misev, 9 years ago

Owner: changed from Dimitar Misev to Vlad Zamfir
Status: newassigned

Vlad, have a look in source:reladminif/databaseif.sc (and databaseif.pgc) - add a check there, e.g. if RAS_DBUPDATES table is already present in the database, then throw an error that the database has already been created.

comment:2 by Dimitar Misev, 9 years ago

Owner: changed from Vlad Zamfir to Dimitar Misev

comment:3 by Peter Baumann, 9 years ago

patch submitted, but test case(s) missing.

comment:4 by Dimitar Misev, 9 years ago

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