Disallow precision 0 on FLOAT
-----------------------------

                 Key: CORE-5733
                 URL: http://tracker.firebirdsql.org/browse/CORE-5733
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.8, 4.0 Alpha 1, 3.0.2
            Reporter: Mark Rotteveel
            Priority: Minor


Currently it is possible to create a column with type float(0). However, 
allowing this precision 1) makes no sense, and 2) is disallowed by the SQL 
standard (6.1 <data type>):

"""
21) The value of a <precision> shall be greater than 0 (zero). If <data type> 
contains <decimal floating-point type>, then the possible values of <precision> 
are implementation-defined.
"""

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