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

FLASH-1203: Support bit default value in TiFlash (#753) #757

Merged
merged 3 commits into from
Jun 5, 2020

Conversation

sre-bot
Copy link
Collaborator

@sre-bot sre-bot commented Jun 5, 2020

cherry-pick #753 to release-3.1


Default value of bit type column is actually stored in default_bit rather than origin_default. And the value is base64 encoded to prevent json eating invalid characters.

Add default_bit decoding to get real bit column default value.

Note that current usage of default_bit is erroneous, as it will change once the column default value get modified. See pingcap/tidb#17641 and pingcap/tidb#17642

Copy link
Contributor

@windtalker windtalker left a comment

Choose a reason for hiding this comment

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

LGTM

@windtalker windtalker added the status/can-merge Indicates a PR has been approved by a committer. label Jun 5, 2020
@sre-bot
Copy link
Collaborator Author

sre-bot commented Jun 5, 2020

/run-all-tests

@sre-bot sre-bot merged commit b322dad into pingcap:release-3.1 Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CHERRY-PICK cherry pick status/can-merge Indicates a PR has been approved by a committer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants