Default value can be of wrong type
----------------------------------

                 Key: CORE-4128
                 URL: http://tracker.firebirdsql.org/browse/CORE-4128
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0 Initial
         Environment: W7/64
ISQL Version: WI-T3.0.0.30435 Firebird 3.0 Unstable
Server version:
Firebird/Windows/Intel/i386 (access method), version "WI-T3.0.0.30435 Firebird 
3.0 Unstable"
            Reporter: Thomas Beckmann


Consider following small example:

create domain D_TEST smallint default 'foo';

I would expect this to return an error. It does at run time, as soon as data is 
inserted and the default value is to be used. Type of default value is not 
checked in field and parameter definitions either.

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

        

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to