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

ddl: Reduce the unnecessary memory allocation and make code clearer #2268

Merged
merged 2 commits into from
Dec 19, 2016

Conversation

zimulala
Copy link
Contributor

Add the column's meta-information to save column information when adding column
Use kvIndex instead of indexInfo
Above operations can reduce the unnecessary memory allocation and make code clearer.

After This PR, I will push a PR to speed up the phase of adding columns and indices.

@coocood
Copy link
Member

coocood commented Dec 19, 2016

LGTM

@zimulala
Copy link
Contributor Author

PTAL @tiancaiamao @shenli @hanfei1991

@shenli
Copy link
Member

shenli commented Dec 19, 2016

LGTM

@tiancaiamao
Copy link
Contributor

LGTM

@zimulala zimulala merged commit 368b4db into master Dec 19, 2016
@zimulala zimulala deleted the zimuxia/clean-add-column branch December 19, 2016 03:16
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.

4 participants