Subject | Re: [ib-support] Re: UDF Failure |
---|---|
Author | Dmitry Kuzmenko |
Post date | 2002-03-28T10:27:59Z |
Hello, Alex!
alex_vnru wrote:
which is invalid logic. Declared size must be checked only
when something is being assigned to string, to prevent character
overflow, which is already being checked.
--
Dmitry Kuzmenko, Epsylon Technologies.
alex_vnru wrote:
> Claudio, I use build 796 and don't understand logicMistake - not a RESULT is greater. Sum of declaration is greater,
>
> select Trim(cast ('c' as varchar (32000)) || Cast ('c' as varchar
> (32000))) from rdb$database
> Unsuccessful execution caused by an unavailable resource.
> Implementation limit exceeded.
> block size exceeds implementation restriction.
>
> OK, intermediate result greater than 32767. On FB1.1 it should occure
which is invalid logic. Declared size must be checked only
when something is being assigned to string, to prevent character
overflow, which is already being checked.
--
Dmitry Kuzmenko, Epsylon Technologies.