[glotpress-updates] [GlotPress] #389: Improve performance of GP::Original->by_project_id_and_entry by using the index

GlotPress noreply at wordpress.org
Thu May 14 13:22:07 UTC 2015


#389: Improve performance of GP::Original->by_project_id_and_entry by using the
index
-----------------------+------------------------------
  Reporter:  yoavf     |      Owner:  ocean90
      Type:  defect    |     Status:  closed
  Priority:  normal    |  Milestone:  1.0
 Component:  Database  |    Version:
Resolution:  fixed     |   Keywords:  has-patch commit
-----------------------+------------------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"1044"]:
 {{{
 #!CommitTicketReference repository="" revision="1044"
 In `GP_Original::by_project_id_and_entry()` move the BINARY operator
 before the value so the index gets used.

 props yoavf.
 fixes #389.
 }}}

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/389#comment:4>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list