Ticket #371 (closed defect: invalid)
unique check not always run
| Reported by: | disaster | Owned by: | somebody |
|---|---|---|---|
| Priority: | important | Milestone: | 1.1.2 |
| Component: | Other | Version: | 1.1.1 Stable |
| Keywords: | Unique, primary key | Cc: |
Description
If the table's primary key is a varchar, it's not checked for uniqueness, as usually the primary key is a "serial" field.
Shall we change
if ($objIndex->Unique && !$objIndex->PrimaryKey) {
to something "smarter"?
if ($objIndex->Unique && !$objIndex->Serial) {
is this correct?
Change History
Note: See
TracTickets for help on using
tickets.
