QueryParser handles explicit group+operator badly
Bug #1044721 reported by
Jared Camins-Esakov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Although the following four queries should be equivalent:
george || fred
(george) || fred
george || (fred)
(george) || (fred)
The Pg QueryParser driver generates SQL queries that return different numbers of results for each of those queries, with all desired results appearing only with the first query. The problem seems to be in the code that generates the initial query in TPAC and JSPAC. A patch for TPAC will follow.
Changed in evergreen: | |
status: | Fix Committed → Confirmed |
Changed in evergreen: | |
milestone: | 2.4.0-alpha1 → 2.4.0-beta |
Changed in evergreen: | |
milestone: | 2.4.0-beta → 2.4.0-rc |
Changed in evergreen: | |
milestone: | 2.4.0-rc → none |
no longer affects: | evergreen/2.2 |
no longer affects: | evergreen/2.3 |
Changed in evergreen: | |
status: | Incomplete → Won't Fix |
To post a comment you must log in.
A patch for this can be found in the working repository in the branch user/jcamins/ bug_1044721