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

docker/vttestserver/run.sh: Add $CHARSET environment variable #7970

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

mcronce
Copy link

@mcronce mcronce commented Apr 27, 2021

Description

This adds an environment variable to pass through to vttestserver's -charset command-line flag, and defaults it to utf8mb4. This, among other things, enables a portion Prisma's integration test suite that validates certain Unicode support.

Related Issue(s)

#7942

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

This only changes the vttestserver containers. @harshit-gangal mentioned in #7942 making it the default in vttablet. This PR does not do that, so I don't disagree with leaving that issue open if we consider that a requirement.

@deepthi
Copy link
Member

deepthi commented Apr 27, 2021

This only changes the vttestserver containers. @harshit-gangal mentioned in #7942 making it the default in vttablet. This PR does not do that, so I don't disagree with leaving that issue open if we consider that a requirement.

We should create a separate issue & PR for the default change (once we decide it is safe to do so).

@mcronce
Copy link
Author

mcronce commented Apr 27, 2021

@deepthi SGTM :)

Signed-off-by: Mike Cronce <mc@planetscale.com>
@mcronce mcronce force-pushed the vttestserver-default-charset branch from 7e2b11f to ff8c750 Compare April 27, 2021 21:36
@deepthi deepthi merged commit 7e8ebbb into vitessio:master Apr 27, 2021
@deepthi deepthi deleted the vttestserver-default-charset branch April 27, 2021 23:19
@systay systay added Component: Build/CI Type: Enhancement Logical improvement (somewhere between a bug and feature) labels Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Build/CI Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants