mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-19 18:32:52 +09:00
Optimize query getCommentParentNextSibling
검색 조건에 document_srl을 넣지 않아서 인덱스를 타지 않는 문제 수정 (복합 인덱스의 첫 번째 컬럼이 검색 조건에 포함되어 있지 않으면 인덱스가 없는 것과 마찬가지임)
This commit is contained in:
parent
13ebfbfa8c
commit
23d074b486
2 changed files with 6 additions and 4 deletions
|
|
@ -512,6 +512,7 @@ class commentController extends comment
|
|||
{
|
||||
// get the top listed comment among those in lower depth and same head with parent's.
|
||||
$p_args = new stdClass();
|
||||
$p_args->document_srl = $document_srl;
|
||||
$p_args->head = $parent->head;
|
||||
$p_args->arrange = $parent->arrange;
|
||||
$p_args->depth = $parent->depth;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue