Subject | Re: Duplicate keys |
---|---|
Author | Stephen Boyd |
Post date | 2005-10-12T12:47:44Z |
--- In firebird-support@yahoogroups.com, "Adam" <s3057043@y...> wrote:
comprise the primary key.
>problem
> Stephen,
>
> I think this might have been a bit of a wild goose chase. The
> may not be a bug or corruption after all, but rather transactionIt is a constraint on the table. LDSI_STOP_ID and LDSI_ITEM_NUMBER
> isolation.
>
>
> Even if TrA committed before TrB does anything, unless TrB is read
> committed, it will not see the record.
>
> If you need to define a field as unique, then add it as a constraint
> on the table. Otherwise, your system is not safe for simultaneous
> transactions. Even if your transactions are read committed, I have
> included a case where it is possible to create duplicates.
>
> Adam
>
comprise the primary key.