Skip to content
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

Code: Add new system function crc32() #133

Closed
wants to merge 0 commits into from

Conversation

CbcWestwolf
Copy link

What changes were proposed in this pull request?

Add the support for CRC32() system function. User can compute crc32 checksum of a string like SELECT crc32("abc");.

Why are the changes needed?

Since MySQL has implemented this system function, oceanbase also need this function.

Will break the compatibility? How if so?

No, only add a function.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

I have attached some test cases in the comment of the commit, which are the same as the cases in MySQL.

Checklist

  • I've run the tests to see all new and existing tests pass.
  • If this Pull Request resolves an issue, I linked to the issue in the text above.
  • I've informed the technical writer about the documentation change if necessary.

@CLAassistant
Copy link

CLAassistant commented Jul 2, 2021

CLA assistant check
All committers have signed the CLA.

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.

None yet

2 participants