violation of uniqueness of the primary key
------------------------------------------

                 Key: CORE-5161
                 URL: http://tracker.firebirdsql.org/browse/CORE-5161
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 2.5.5
         Environment: Windows Server 2012R   Windows 8.1   Firebird/x86/Windows 
NT (access method), version "WI-V2.5.5.26952 Firebird 2.5"
            Reporter: Polesov


Detected the error of violation of uniqueness of the primary key.
Check the database using GFIX program error is not detected.
Operation BACKUP/RESTORE runs without error, but a duplicate primary key 
remains.
Recreation of the primary key passes without error, but the duplicate remains.

Table structure:

CREATE DOMAIN D_ID AS INTEGER NOT NULL;

CREATE DOMAIN D_GUID AS VARCHAR(36) CHARACTER SET WIN1251 COLLATE WIN1251;

CREATE TABLE EMPLOYES (
    ID    D_ID NOT NULL,
    GUID  D_GUID NOT NULL
);

ALTER TABLE EMPLOYES ADD CONSTRAINT PK_EMPLOYES PRIMARY KEY (ID);

CREATE INDEX EMPLOYES_IDX_GUID ON EMPLOYES (GUID);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to