"conversion error from string" on group by with constant on v3.0.3
------------------------------------------------------------------

                 Key: CORE-5749
                 URL: http://tracker.firebirdsql.org/browse/CORE-5749
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0.3
         Environment: Firebird x86 v3.0.3, windows 10.
            Reporter: wesley blanco


Hi!! 

when running a query with conditions:
-group by
-any where clausule
-constant text grouped

results a error "conversion error from string".

sample: 

SELECT 'My Constant ' as dsc,
       count( * )

  FROM rdb$relations a
   WHERE a.rdb$system_flag = 99
   group by 1


raise error:

Overflow occurred during data type conversion.
conversion error from string "My Constant ".


This error only ocurr on 3.0.3.

If cast('My Constant' as varchar(20)) dont raise error.


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