Opened 13 years ago

Closed 13 years ago

#251 closed defect (fixed)

improve update fault model so there's less chance of losing data

Reported by: Kevin Milner Owned by: Kevin Milner
Priority: major Milestone:
Component: fault DB Version:
Keywords: Cc:

Description

Currently when you update a fault model in the DB it is done in 2 steps, first removing everything, then repopulating it.

An improvement would be to do it all in a single query, so that if the query failed, the table wouldn't be changed at all.

Change History (1)

comment:1 Changed 13 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

Done...now the query is executed as a batch, with automatic rollback if anything fails.

Note: See TracTickets for help on using tickets.