Skip to content

Fixed #9115. A trailing garbage character is accepted after a special date/time expression - #9116

Merged
asfernandes merged 1 commit into
FirebirdSQL:masterfrom
ChudaykinAlex:work/fix_special_datetime_trailing_garbage
Aug 8, 2026
Merged

Fixed #9115. A trailing garbage character is accepted after a special date/time expression#9116
asfernandes merged 1 commit into
FirebirdSQL:masterfrom
ChudaykinAlex:work/fix_special_datetime_trailing_garbage

Conversation

@ChudaykinAlex

Copy link
Copy Markdown
Contributor

Fixed #9115

…e/time expression

  CAST('NOW)' AS TIMESTAMP) succeeded instead of raising a conversion error: the
  loop validating the rest of the string incremented p in its condition, so the
  first character not consumed as a part of the word was never checked.
@asfernandes
asfernandes merged commit b8d9907 into FirebirdSQL:master Aug 8, 2026
21 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A trailing garbage character is accepted after a special date/time expression

2 participants