Restoring databases into 4.0 causing automation addition default 0 sentences to 
NOT NULL fields
-----------------------------------------------------------------------------------------------

                 Key: CORE-5856
                 URL: http://tracker.firebirdsql.org/browse/CORE-5856
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 4.0 Beta 1
            Reporter: bazilio


1. Backup 3.0 database 
2. Restore into 4.0 server

Field declaration 
X INTEGER NOT NULL
will be transformed in 4.0 
as
X INTEGER NOT NULL default 0

This behavior will cause problems with BEFORE INSERT triggers
containing

if (new.X is null)

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

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to