IIF returns data with additional spaces ---------------------------------------
Key: CORE-5805 URL: http://tracker.firebirdsql.org/browse/CORE-5805 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 3.0.3 Reporter: fbbt execute block returns (v varchar (20), len integer) as begin v = iif(True, '1', '1234567890'); len = char_length(v); suspend; v = iif(False, '1', '1234567890'); len = char_length(v); suspend; end results: ------------------- '1 ', 10 '1234567890 ', 10 -- 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