Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Query::count() failing when fields have expressions.
Because we can't easily introspect and remove any bound parameters that will be unused, we must use a subselect query instead. Also include additional test coverage for count() with subqueries, and matching(). Refs #7148 Refs #7272
- Loading branch information
Showing
2 changed files
with
65 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters