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

infoschema: do not reuse auto ID allocator for truncate table. #2000

Merged
merged 3 commits into from
Nov 15, 2016

Conversation

coocood
Copy link
Member

@coocood coocood commented Nov 15, 2016

For truncate table, old table ID is different than new table ID, the same allocator will alloc ID
for different table ID, can not ensure uniqueness.

For truncate table, old table ID is different than new table ID, the same allocator will alloc ID
for different table ID, can not ensure uniqueness.
@hanfei1991
Copy link
Member

LGTM

@shenli
Copy link
Member

shenli commented Nov 15, 2016

LGTM

@coocood coocood merged commit 6c9698e into master Nov 15, 2016
@coocood coocood deleted the coocood/fix-autoid branch November 15, 2016 03:19
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.

3 participants