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 #2337: panic if tag key isn't double quoted #2338

Merged
merged 2 commits into from
Apr 18, 2015
Merged

fix #2337: panic if tag key isn't double quoted #2338

merged 2 commits into from
Apr 18, 2015

Conversation

dgnorton
Copy link
Contributor

The main part of the fix is near the top of Measurement.idsForExpr in database.go. It needed to make sure that one side of the binary expression is a VarRef.

@otoolep
Copy link
Contributor

otoolep commented Apr 18, 2015

Rebase?

@dgnorton
Copy link
Contributor Author

@otoolep done

return seriesIdsToExpr, nil
}
ids, _, _, err := m.walkWhereForSeriesIds(stmt.Condition, seriesIdsToExpr)

Copy link
Contributor

Choose a reason for hiding this comment

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

Style: remove this blank line?

@otoolep
Copy link
Contributor

otoolep commented Apr 18, 2015

+1

dgnorton added a commit that referenced this pull request Apr 18, 2015
fix #2337: panic if tag key isn't double quoted
@dgnorton dgnorton merged commit edd613d into master Apr 18, 2015
@toddboom toddboom deleted the fix-2337 branch May 4, 2015 21:59
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.

None yet

2 participants