Fork me on GitHub
Subscribe 1

Ticket #480 (fixed enhancement)

Merge two queries in moderate.php

  • Created: 2011-08-12 17:42:22
  • Reported by: Franz
  • Assigned to: Franz
  • Milestone: 1.4.6
  • Component: code
  • Priority: low

In moderate.php, around line 558, we have two queries that can be merged.

One verifies the given topic IDs, the other one fetches the smallest ID.

Combining them is more data, but one query less, so that should be an optimization.

History

Franz 2011-08-12 17:42:28

  • Owner set to Franz.

Franz 2011-08-12 17:45:35

Commit 14f523e to fluxbb fluxbb-1.4

#480: Combine two queries in moderate.php.

Franz 2011-08-12 17:46:34

  • Status changed from open to fixed.