Skip to content

Commit

Permalink
Ensure case-insensitve compares
Browse files Browse the repository at this point in the history
  • Loading branch information
tidwall committed Nov 22, 2022
1 parent cc942b2 commit bd8d8cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ require (
github.com/tidwall/assert v0.1.0
github.com/tidwall/btree v1.5.0
github.com/tidwall/buntdb v1.2.9
github.com/tidwall/expr v0.8.3
github.com/tidwall/expr v0.9.0
github.com/tidwall/geojson v1.4.3
github.com/tidwall/gjson v1.14.3
github.com/tidwall/hashmap v1.6.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ github.com/tidwall/buntdb v1.2.9 h1:XVz684P7X6HCTrdr385yDZWB1zt/n20ZNG3M1iGyFm4=
github.com/tidwall/buntdb v1.2.9/go.mod h1:IwyGSvvDg6hnKSIhtdZ0AqhCZGH8ukdtCAzaP8fI1X4=
github.com/tidwall/cities v0.1.0 h1:CVNkmMf7NEC9Bvokf5GoSsArHCKRMTgLuubRTHnH0mE=
github.com/tidwall/cities v0.1.0/go.mod h1:lV/HDp2gCcRcHJWqgt6Di54GiDrTZwh1aG2ZUPNbqa4=
github.com/tidwall/expr v0.8.3 h1:hLaz3DmuXsat+LAO904UxjD1WHrHEbRYZgzzzcn7JB4=
github.com/tidwall/expr v0.8.3/go.mod h1:GnVpaS2R9wWV9Ft2u5TPDypJ+iQNxhAt9ISTUaUTlto=
github.com/tidwall/expr v0.9.0 h1:Cxn7XhoYs8Pry1CrB+9+TcaF1xSpGOAY66L30Vo599E=
github.com/tidwall/expr v0.9.0/go.mod h1:GnVpaS2R9wWV9Ft2u5TPDypJ+iQNxhAt9ISTUaUTlto=
github.com/tidwall/geoindex v1.4.4/go.mod h1:rvVVNEFfkJVWGUdEfU8QaoOg/9zFX0h9ofWzA60mz1I=
github.com/tidwall/geoindex v1.7.0 h1:jtk41sfgwIt8MEDyC3xyKSj75iXXf6rjReJGDNPtR5o=
github.com/tidwall/geoindex v1.7.0/go.mod h1:rvVVNEFfkJVWGUdEfU8QaoOg/9zFX0h9ofWzA60mz1I=
Expand Down
1 change: 1 addition & 0 deletions internal/server/expr.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func newExprPool(s *Server) *exprPool {
func (p *exprPool) Get(o *object.Object) *expr.Context {
ctx := p.pool.Get().(*expr.Context)
ctx.UserData = o
ctx.NoCase = true
return ctx
}

Expand Down

0 comments on commit bd8d8cd

Please sign in to comment.