Skip to content

fix: to_base64 should cast input parameter to string #31105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 3.0
Choose a base branch
from

Conversation

aestriplex
Copy link
Contributor

Description

Base64 function was merged a couple of weeks ago. This PR adds compatibility with MySQL to_base64, i.e. it automatically casts the non-string parameters to string (integer and decimal numbers, booleans and timestamps).

Checklist

  • Is the user manual updated?
  • Are the test cases passed and automated?
  • Is there no significant decrease in test coverage?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant