~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/report-database-stats.py

  • Committer: Stuart Bishop
  • Date: 2011-04-12 11:04:24 UTC
  • mto: This revision was merged to the branch mainline in revision 12807.
  • Revision ID: stuart.bishop@canonical.com-20110412110424-1emgjutpk83z1fyz
Missing DISTINCT

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
        }
175
175
    query = dedent("""
176
176
        SELECT * FROM (
177
 
            SELECT
 
177
            SELECT DISTINCT
178
178
                namespace,
179
179
                name,
180
180
                sub_namespace,