WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17582, comment 30


Ignore:
Timestamp:
06/07/11 20:06:33 (3 years ago)
Author:
Denis-de-Bernardy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17582, comment 30

    initial v1  
    1111}}} 
    1212 
    13 That way they'll only need to be ordered once, and the extra ID sub-ordering will strip out the dups. Best I'm aware MySQL won't do this automatically when using distinct, though I may be wrong (in which case it would certainly explain why it was faster to use distinct). 
     13That way they'll only need to be ordered once, and the extra ID sub-ordering will strip out the dups (at a negligible cost). Best I'm aware MySQL won't do this automatically when using distinct, though I may be wrong (in which case it would certainly explain why it was faster to use distinct).