Include expected and actual string lenght into error message for sqlcode -802
-----------------------------------------------------------------------------

                 Key: CORE-3594
                 URL: http://tracker.firebirdsql.org/browse/CORE-3594
             Project: Firebird Core
          Issue Type: Improvement
          Components: Engine
    Affects Versions: 2.1.4
         Environment: all
            Reporter: Denis Budyak


I suggest reporting expected and actual string length when string overflow 
occurs. 
E.g. "String truncation. Expected length %d, actual length %d"

Now it is sometimes very hard to find truncation errors in PSQL code like 

select <MANY VALUES> from table into <MANY VARIABLES> where id=:a; 

The ideal would be to include the name of the field or variable; Or framgment 
of data 
which caused truncation into the message, but this seems to be more 
difficult to implement. 


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

        

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to