mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
Replace all wildcard columns with '1' in count-only subquery #1575
This commit is contained in:
parent
96eae68105
commit
957be16a25
4 changed files with 44 additions and 20 deletions
|
|
@ -408,7 +408,7 @@ class DB
|
|||
// Get the COUNT(*) query string and parameters.
|
||||
try
|
||||
{
|
||||
$query_string = $query->getQueryString($this->_prefix, $args, [], true);
|
||||
$query_string = $query->getQueryString($this->_prefix, $args, [], 1);
|
||||
$query_params = $query->getQueryParams();
|
||||
}
|
||||
catch (Exceptions\QueryError $e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue