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

fix: embed tzinfo into Windows builds to avoid panics in InfluxQL engine #22447

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

danxmoran
Copy link
Contributor

Closes #22444

Set the timetzdata flag when building Windows binaries to embed fallback time-zone info. This prevents a panic when using time.LoadLocation on a Windows machine that doesn't have Go installed.

@danxmoran danxmoran changed the title build: embed tzinfo into Windows builds to avoid panics fix: embed tzinfo into Windows builds to avoid panics in InfluxQL engine Sep 13, 2021
@lesam
Copy link
Contributor

lesam commented Sep 13, 2021

Should we have a tracking issue to fix this better when golang/go#38453 merges?

@danxmoran
Copy link
Contributor Author

Made #22453 for tracking the better fix

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.

InfluxQL panic on Windows when tzdata is not available
2 participants