mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Add index hint to ncenterlite.getNotifyNewCount
This commit is contained in:
parent
d6428bb71d
commit
f41c976fcf
1 changed files with 3 additions and 2 deletions
|
|
@ -2,11 +2,12 @@
|
|||
<tables>
|
||||
<table name="ncenterlite_notify" />
|
||||
</tables>
|
||||
|
||||
<index_hint for="ALL">
|
||||
<index table="ncenterlite_notify" name="idx_member_srl_and_readed" type="USE" />
|
||||
</index_hint>
|
||||
<columns>
|
||||
<column name="count(*)" alias="cnt" />
|
||||
</columns>
|
||||
|
||||
<conditions>
|
||||
<condition operation="equal" column="member_srl" var="member_srl" filter="number" notnull="notnull" />
|
||||
<condition operation="equal" column="readed" default="N" pipe="and" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue