On 21/05/2021 08:33, Dimitry Sibiryakov wrote: > 21.05.2021 09:38, Alex Peshkoff via Firebird-devel wrote: >> Any idea how to avoid that? > > Redeclare it as unsigned right now. >
Yes. But would be very bad to see not recompiled programs just crashing (or in infinite loop) if greater length is returned. So I think we must also create SQLDA_VERSION2 and raise error with length > 32767 with SQLDA_VERSION1. Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel