Incorrect "token unknown" error when the SQL string ends with a hex number literal ----------------------------------------------------------------------------------
Key: CORE-4198 URL: http://tracker.firebirdsql.org/browse/CORE-4198 Project: Firebird Core Issue Type: Bug Affects Versions: 3.0 Alpha 1, 2.5.2 Update 1, 2.5.2, 2.5.1, 2.5.0 Reporter: Adriano dos Santos Fernandes SQL> select * from rdb$database where 1 = 0x1; Statement failed, SQLSTATE = 42000 Dynamic SQL Error -SQL error code = -104 -Token unknown - line 1, column 39 -x1 -- Pass. Note a space after the literal SQL> select * from rdb$database where 1 = 0x1 ; -- 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 ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel