groupstats.pl: Refactor query handling.
authorThomas Hochstein <thh@inter.net>
Sun, 31 Oct 2010 20:34:04 +0000 (21:34 +0100)
committerThomas Hochstein <thh@inter.net>
Sun, 31 Oct 2010 20:34:04 +0000 (21:34 +0100)
commit6b95accbb4b71f0df106b89e6b91756fa9f591fa
tree3858803826e2d49b338d28a4c6780e12b4f84cf1
parent59d0c5ef86294c723e38d65651f4c9cb180b2684
groupstats.pl: Refactor query handling.

Don't misuse variables:
- Push other binding vars to (new) @Params instead of
  filling up @GroupList with things it wasn't meant for.
- Replace generic @QueryPart by @QueryGroupList and
  @QueryThreshold, then build $WhereClause from that.
- Don't use $OrderClause for setting level (more or
  less than x), use (new) $Level instead.

Signed-off-by: Thomas Hochstein <thh@inter.net>
groupstats.pl
This page took 0.011742 seconds and 4 git commands to generate.