influxdb/models
Jonathan A. Sternberg 4813d82285 Fix the line protocol scanner to read field keys with quotes correctly
Quotes are not supposed to be significant in field keys, but are
significant in field values. The code as it currently was would
consider quotes in a key to be significant, but the later parser that
would unmarshal the fields from the byte string did not consider those
quotes to be significant. This meant that the following string:

    "a=1

The line protocol parser would see a mismatched quote instead of a valid
input to the line protocol. But more nefariously, the following string:

    "a=1"=2

The line protocol parser would ignore the first equals since it is
located in the quotation marks and think this was a valid input. It
would then pass it on to the field parser who would panic and die when
it tried to parse `1"=2` as a number.

Fixes #4076.
2015-12-23 09:14:28 -05:00
..
points.go Fix the line protocol scanner to read field keys with quotes correctly 2015-12-23 09:14:28 -05:00
points_test.go Fix the line protocol scanner to read field keys with quotes correctly 2015-12-23 09:14:28 -05:00
rows.go Fix golint warnings 2015-11-20 12:19:01 +00:00
time.go add bounds checking for shard group timestamps 2015-12-09 13:07:13 -07:00