21.05.2021 14:49, Adriano dos Santos Fernandes wrote:
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.

For greater length to be returned there must be something that return it. If we keep old things unchanged, old programs will work with old databases without problems. Yes, at some point there will be requests to change returned value and parameters of the functions like LPAD but not right now so the application developers have time to adapt to changes.

Alternatively a pseudo-type like SHORT_VARCHAR can be introduced to let BIND usage for the applications.

--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to