When `influx_inspect buildtsi` is used to create a new `tsi1` index, spaces in measurement names are escaped, so measurement "a b" is changed to "a\ b". This change modifies `models.ParseKeyBytes()` and `models.ParseName()` to unescape measurement names. `models.ParseKeyBytes()` returns unescaped tag keys, so this seems like the natural place to unescape measurement names. Also followed `scanMeasurement()` to see what other code could be problematic, and this should be everything (the result of one other use of `scanMeasurement()` is later escaped). Removed `tsdb.MeasurementFromSeriesKey()`. These methods are exported, so checked for side effects in other InfluxData repositories. |
||
---|---|---|
.. | ||
consistency.go | ||
inline_fnv.go | ||
inline_fnv_test.go | ||
inline_strconv_parse.go | ||
inline_strconv_parse_test.go | ||
points.go | ||
points_internal_test.go | ||
points_test.go | ||
rows.go | ||
statistic.go | ||
statistic_test.go | ||
time.go | ||
uint_support.go |