mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
검색 조건에 document_srl을 넣지 않아서 인덱스를 타지 않는 문제 수정 (복합 인덱스의 첫 번째 컬럼이 검색 조건에 포함되어 있지 않으면 인덱스가 없는 것과 마찬가지임)
14 lines
680 B
XML
14 lines
680 B
XML
<query id="getCommentParentNextSibling" action="select">
|
|
<tables>
|
|
<table name="comments_list" />
|
|
</tables>
|
|
<columns>
|
|
<column name="min(arrange)" alias="arrange" />
|
|
</columns>
|
|
<conditions>
|
|
<condition operation="equal" column="document_srl" var="document_srl" filter="number" />
|
|
<condition operation="equal" column="head" var="head" filter="number" notnull="notnull" pipe="and" />
|
|
<condition operation="excess" column="arrange" var="arrange" filter="number" notnull="notnull" pipe="and" />
|
|
<condition operation="less" column="depth" var="depth" filter="number" notnull="notnull" pipe="and" />
|
|
</conditions>
|
|
</query>
|