Skip to content
/ server Public

MDEV-38792 TO_DATE: Inconsistent treatment of separators#4809

Closed
alexDiaconuAlex wants to merge 1 commit intoMariaDB:12.3from
alexDiaconuAlex:MDEV-38792
Closed

MDEV-38792 TO_DATE: Inconsistent treatment of separators#4809
alexDiaconuAlex wants to merge 1 commit intoMariaDB:12.3from
alexDiaconuAlex:MDEV-38792

Conversation

@alexDiaconuAlex
Copy link

Fixed a bug where TO_DATE (Oracle mode) returned NULL if the input string had extra separators (like '-') not defined in the format. Added a loop to skip non-alphanumeric characters, making the data parsing just as flexible as the format parsing.

@alexDiaconuAlex alexDiaconuAlex changed the base branch from main to 12.3 March 15, 2026 10:54
Fixed a bug where TO_DATE (Oracle mode) returned NULL if the input string
had extra separators (like '-') not defined in the format. Added a loop
to skip non-alphanumeric characters, making the data parsing just as
flexible as the format parsing.

Signed-off-by: Alexandru Diaconu <alexandrudiaconu93@gmail.com>
@alexDiaconuAlex
Copy link
Author

I am closing this PR in favor of #4811.

This original PR was branched from the wrong base (main), which caused it to include unrelated commits. The new PR (#4811) is correctly based on the 12.3 branch as requested in the MDEV and includes the necessary regression tests. Sorry for the confusion!

@gkodinov gkodinov added the External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements. label Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements.

Development

Successfully merging this pull request may close these issues.

2 participants