Making WordPress.org

Changeset 7378


Ignore:
Timestamp:
07/06/2018 12:45:46 AM (8 years ago)
Author:
coreymckrill
Message:

WordCamp Reports: Switch the SQL back to NOT IN

@dd32 points out that FIND_IN_SET is potentially inefficient, and the real
issue was inserting the ID list into the query via a %s string token and
prepare. See:

https://wordpress.slack.com/archives/C08M59V3P/p1530834434000167?thread_ts=1530832569.000030&cid=C08M59V3P

With this commit we're instead just putting the comma-separated list of
integers directly into the SQL without a token.

Location:
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-reports/classes/report
Files:
3 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.