Usage of "BLOB SUB_TYPE TEXT" for "free" parameters ---------------------------------------------------
Key: CORE-5932 URL: http://tracker.firebirdsql.org/browse/CORE-5932 Project: Firebird Core Issue Type: Improvement Components: Engine Affects Versions: 3.0.4 Reporter: Kovalenko Dmitry Test code: ---------------- cmd.CommandText ="SELECT \"r\".\"TEST_ID\", \"r\".\"COL_VARCHAR_10\"\n" +"FROM \"TEST_MODIFY_ROW\" AS \"r\"\n" +"WHERE (:__src_0||\"r\".\"COL_VARCHAR_10\" STARTING WITH _utf8 'Q') AND (\"r\".\"TEST_ID\" = :__testID_1)"; cmd.Prepare(); Assert.AreEqual (1, //<--- USUS cmd["__src_0"].Size); ---------------- Server describes "__src_0" as parameter with datatype "(var)char(1)". I offer to use a "BLOB (SUB_TYPE TEXT)" datatype. -- 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 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel