On 01/10/2016 10:41, Mark Rotteveel wrote:
> In Jaybird I have a test (org.firebirdsql.jdbc.TestBooleanSupport) for 
> the Firebird 3 boolean support that is now broken with 3.0.1 (for 
> testSelect_ConditionOnly_null, testSelect_ConditionOnly_true and 
> testSelect_ConditionOnly_false.
>
> The test uses the table:
> CREATE TABLE withboolean ( id INTEGER, bool BOOLEAN )
>
> and prepares a statement:
> SELECT id, bool FROM withboolean WHERE ?
>
> this now fails with the error:
> Dynamic SQL Error; SQL error code = -104; Invalid usage of boolean 
> expression [SQLState:22000, ISC error code:335545023]
>
> This worked fine in earlier 3.0 versions, at least since the 11th of 
> August 2013 when I created these tests.

Please register the bug. I have a fix for it.


Adriano


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