Project

General

Profile

Actions

Bug #18

closed

metacat docid and rootnodeid not generated in a safe manner

Added by Matt Jones over 24 years ago. Updated over 22 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Jivka Bojilova
Category:
metacat
Target version:
Start date:
06/08/2000
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
18

Description

when a document or node are inserted into their respective tables, a trigger
generates an ID number for the PK from a SEQUENCE, which is then retreived by
examining the sequences "currval" attribute. If another db insertion was done
(by another user), then currval would return the wrong ID number. Basically,
need to return the generated ID number as part of the same transaction as the
insertion.

Actions

Also available in: Atom PDF