#981 closed defect (fixed)

trying to recreate RASBASE should throw a proper error

Reported by: dmisev Owned by: dmisev
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 Changed 20 months ago by dmisev

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

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 Changed 18 months ago by dmisev

  • Owner changed from vzamfir to dmisev

comment:3 Changed 18 months ago by pbaumann

patch submitted, but test case(s) missing.

comment:4 Changed 17 months ago by dmisev

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