CHECK CONSTRAINT with sub-select fails to raise exception when it should
------------------------------------------------------------------------

                 Key: CORE-3987
                 URL: http://tracker.firebirdsql.org/browse/CORE-3987
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.2
         Environment: Win 7 64 bit
            Reporter: Jason Wharton


I create two tables and a check constraint in one table that looks for values 
existing in another table. If the other table is empty it allows the check 
constraint to pass when it shouldn't.

I ran this same script against an InterBase database and it raised the 
exception as expected.

I will attach a script that can be run.

-- 
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

        

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to