mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 04:03:03 +01:00
Fixed CORE-3245: SUBSTRING on long blobs truncates result to 32767 if third argument not present.
This commit is contained in:
parent
9755df067e
commit
cb34e0c6c9
@ -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 ')'
|
||||
|
Loading…
Reference in New Issue
Block a user