-
Notifications
You must be signed in to change notification settings - Fork 729
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: mantisbt/mantisbt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4a952233f0fd
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: mantisbt/mantisbt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c9bc0646d69b
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 3 commits
- 1 file changed
- 1 contributor
Commits on Mar 18, 2013
-
Revert "filter_api: ensure that the free_text where clauses are alway…
…s ANDed" This reverts commit 543ba01.
Configuration menu - View commit details
-
Copy full SHA for d4e7b22 - Browse repository at this point
Copy the full SHA d4e7b22View commit details -
Fix filter api issue with 'any condition' and text search
A filter combining some criteria and a text search with 'any condition' results in a cartesian product, which has the potential to bring down the site as the RDBMS eats up all available resources. The root cause of this behavior is joining the bug_text table with a from clause and setting the join's criteria in the query's where clause, without taking consideration the operator's precedence (AND/OR). This commit resolves the problem by using a JOIN clause instead, which makes the query cleaner. Fixes #15573
1Configuration menu - View commit details
-
Copy full SHA for d16988c - Browse repository at this point
Copy the full SHA d16988cView commit details -
Filter api: systematic use JOIN when building SQL
Do not join tables using the where clause, for better readability and avoiding risk of issues with operator precedence and 'any condition' filtering mode. This commit also removes an unnecessary LEFT JOIN between the bugnote and bugnote_text tables; since this is a strict 1:1 relationship, an inner join is sufficient and yields better performance.
6Configuration menu - View commit details
-
Copy full SHA for c9bc064 - Browse repository at this point
Copy the full SHA c9bc064View commit details
There are no files selected for viewing