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

expr/builtin_fncall: implement MultiplyIntUnsigned #3277

Merged

Conversation

AndreMouche
Copy link
Member

What have you changed? (mandatory)

This PR implements the scalar function MultiplyIntUnsigned

What are the type of the changes? (mandatory)

The currently defined types are listed below, please pick one of the types for this PR by removing the others:

  • New feature (non-breaking change which adds functionality)

How has this PR been tested? (mandatory)

unit test

Does this PR affect documentation (docs/docs-cn) update? (mandatory)

no

Does this PR affect tidb-ansible update? (mandatory)

no

Refer to a related PR or issue link (optional)

#3275

The related source in tidb: https://github.com/pingcap/tidb/blob/master/expression/builtin_arithmetic.go#L532

@zz-jason @XuHuaiyu @breeswish PTAL

@AndreMouche AndreMouche added the sig/coprocessor SIG: Coprocessor label Jul 3, 2018
@breezewish
Copy link
Member

LGTM! BTW I saw "MultiplyIntUnsigned" occurred in multiple places. Since we are already using macros, can we just eliminate it to one place to be more friendly to the contributor?

@AndreMouche
Copy link
Member Author

Would you pull the request for it @breeswish ?

Copy link
Contributor

@XuHuaiyu XuHuaiyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@breezewish
Copy link
Member

@AndreMouche Love to!

@AndreMouche
Copy link
Member Author

/run-integration-tests

@AndreMouche AndreMouche merged commit 4e408e2 into tikv:master Jul 3, 2018
@AndreMouche AndreMouche deleted the scalar_function/MultiplyIntUnsigned branch July 3, 2018 08:14
@AndreMouche AndreMouche restored the scalar_function/MultiplyIntUnsigned branch July 3, 2018 08:14
sticnarf pushed a commit to sticnarf/tikv that referenced this pull request Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/coprocessor SIG: Coprocessor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants