8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 07:23:03 +01:00

Fixed CORE-3245: SUBSTRING on long blobs truncates result to 32767 if third argument not present.

This commit is contained in:
dimitr 2011-02-02 10:12:40 +00:00
parent 9755df067e
commit cb34e0c6c9

View File

@ -4717,7 +4717,7 @@ substring_function : SUBSTRING '(' value FROM value string_length_opt ')'
string_length_opt : FOR value
{ $$ = $2; }
|
{ $$ = MAKE_const_slong (SHRT_POS_MAX); }
{ $$ = MAKE_const_slong (LONG_POS_MAX); }
;
trim_function : TRIM '(' trim_specification value FROM value ')'