You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ltrim and rtrim (both in ib_udf.c) return NULL if given an
empty string as argument.
Additionally, rtrim stops short of checking the first
character in the string, so it trims a string constisting of
1 or more spaces to ' ' (string with one space) instead
of '' (empty string). ltrim doesn't have this bug.
I've seen this in Windows SS 1.0.0, 1.0.3 and 1.6 Alpha,
but from the source it's obvious that this is an all-
versions thing.
Patches for both functions have been posted to firebird-
devel on 20 July 2003. They tested OK under the
abovementioned versions.
Grtz,
Paul Vinkenoog
The text was updated successfully, but these errors were encountered:
Submitted by: @paulvink
SFID: 774987#
Submitted By: paulvink
ltrim and rtrim (both in ib_udf.c) return NULL if given an
empty string as argument.
Additionally, rtrim stops short of checking the first
character in the string, so it trims a string constisting of
1 or more spaces to ' ' (string with one space) instead
of '' (empty string). ltrim doesn't have this bug.
I've seen this in Windows SS 1.0.0, 1.0.3 and 1.6 Alpha,
but from the source it's obvious that this is an all-
versions thing.
Patches for both functions have been posted to firebird-
devel on 20 July 2003. They tested OK under the
abovementioned versions.
Grtz,
Paul Vinkenoog
The text was updated successfully, but these errors were encountered: