On 18/04/2017 15:09, Jiří Činčura wrote: > > This is what I'm getting from the server. The field is CHAR(20) UTF8. > The length from metadata is 80. The memory dump where the pointer points > is: > { 80, 0, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 49, 50, 51, 52, 53, 54, > 55, 56, 57, 48, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, > 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, > 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, > 32, 32, 32, 32, 32, 32, 32, 32, 32 } > This is some misuse or bug that requires a test case, because the feature I described should work not only in external engines, but for any query as the node driver shows in it test.
I'm sure FB/Java does the same thing as well. Is the problem only with procedures? What about functions? I just tested the UDR example wait_event declaring the SQL with CHAR(31) and the function that uses VARCHAR just received the relevant length. 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