mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 13:52:24 +09:00
Fix incorrect handling of auto-generated COUNT(*) queries when there are GROUP BY or DISTINCT clauses
This commit is contained in:
parent
c80a80f986
commit
3f766a937c
2 changed files with 30 additions and 15 deletions
|
|
@ -437,6 +437,7 @@ class DB
|
|||
|
||||
// Compose the output object.
|
||||
$output = new \BaseObject;
|
||||
$output->add('_count', $query_string);
|
||||
$output->total_count = $total_count;
|
||||
$output->total_page = $total_page;
|
||||
$output->page = $page;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue