Wrong error message
-------------------

                 Key: CORE-4082
                 URL: http://tracker.firebirdsql.org/browse/CORE-4082
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0 Alpha 1
         Environment: W7/64, WI-T3.0.0.30338 Firebird 3.0 Unstable
            Reporter: Thomas Beckmann
            Priority: Minor


The following statement 

execute block returns (U varchar(14)) as begin U = gen_uuid(); suspend; end;

results in the error message:

"Arithmetic overflow or division by zero has occurred.
arithmetic exception, numeric overflow, or string truncation.
string right truncation.
expected length 16, actual 16."

The error is fine, of course, but the message should point out the expected 
length to be 14...

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

        

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to