From patchwork Mon Mar 22 08:26:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Yang X-Patchwork-Id: 87379 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2M8R3NH014457 for ; Mon, 22 Mar 2010 08:27:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754221Ab0CVI0V (ORCPT ); Mon, 22 Mar 2010 04:26:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53241 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753646Ab0CVI0T (ORCPT ); Mon, 22 Mar 2010 04:26:19 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2M8QIf2018306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 22 Mar 2010 04:26:18 -0400 Received: from localhost.localdomain ([10.66.91.72]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2M8QGxX007476; Mon, 22 Mar 2010 04:26:16 -0400 From: Feng Yang To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Feng Yang Subject: [PATCH] Correct wrong table name 'tko_test_view' in tko/frontend.py. Date: Mon, 22 Mar 2010 16:26:15 +0800 Message-Id: <1269246375-8986-1-git-send-email-fyang@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 22 Mar 2010 08:27:04 +0000 (UTC) diff --git a/tko/frontend.py b/tko/frontend.py index 9033c20..0fd61f9 100644 --- a/tko/frontend.py +++ b/tko/frontend.py @@ -85,7 +85,7 @@ def get_matrix_data(db_obj, x_axis, y_axis, where = None, fields = ','.join(query_fields_list) group_by = '%s, %s, status' % (x_field, y_field) - rows = db_obj.select(fields, 'tko_test_view', + rows = db_obj.select(fields, 'tko_test_view_2', where=where, group_by=group_by, max_rows = MAX_RECORDS) return status_data(rows, x_field, y_field, query_reasons)