Anton Kaliaev
a6a06f820f
This fixes the problem with base-16 encoded values which may start with digits: 015AB.... In such cases, the parser recognizes them as numbers but fails to parse because of the follow-up characters (AB). ``` failed to parse tm.events.type=Tx AND hash=136E18F7E4C348B780CF873A0BF43922E5BAFA63: parse error near digit (line 1 symbol 31 - line 1 symbol 32): "6" ``` So, from now on we should quote any values. This seems to be the way Postgresql has chosen. |
8 years ago | |
---|---|---|
.. | ||
fuzz_test | new events package | 8 years ago |
Makefile | new events package | 8 years ago |
empty.go | new events package | 8 years ago |
empty_test.go | new events package | 8 years ago |
parser_test.go | [pubsub/query] quote values using single quotes | 8 years ago |
query.go | [pubsub/query] quote values using single quotes | 8 years ago |
query.peg | [pubsub/query] quote values using single quotes | 8 years ago |
query.peg.go | [pubsub/query] quote values using single quotes | 8 years ago |
query_test.go | [pubsub/query] quote values using single quotes | 8 years ago |