• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

andygrove / sqlparser-rs / 225
90%
master: 92%

Build:
Build:
LAST BUILD BRANCH: fuzz
DEFAULT BRANCH: master
Ran 01 Jun 2019 07:08AM UTC
Jobs 1
Files 0
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
225

Pull #82

travis-ci

web-flow
Fix the precedence of NOT LIKE

NOT LIKE has the same precedence as the LIKE operator. The parser was
previously assigning it the precedence of the unary NOT operator. NOT
BETWEEN and NOT IN are treated similarly, as they are equivalent, from a
precedence perspective, to NOT LIKE.

The fix for this requires associating precedences with sequences of
tokens, rather than single tokens, so that "NOT LIKE" and "NOT <expr>"
can have different preferences. Perhaps surprisingly, this change is not
very invasive.

An alternative I considered involved adjusting the tokenizer to lex
NOT, NOT LIKE, NOT BETWEEN, and NOT IN as separate tokens. This broke
symmetry in strange ways, though, as NotLike, NotBetween, and NotIn
gained dedicated tokens, while LIKE, BETWEEN, and IN remained as
stringly identifiers.

Fixes #81.
Pull Request #82: Fix the precedence of NOT LIKE

102 of 102 new or added lines in 2 files covered. (100.0%)

3086 of 3448 relevant lines covered (89.5%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 225.1 01 Jun 2019 07:08AM UTC 0
89.5
Travis Job 225.1
Source Files on build 225
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #225
  • Pull Request #82
  • PR Base - master (#222)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc