summaryrefslogtreecommitdiff
path: root/tko
diff options
context:
space:
mode:
authormbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2010-01-26 21:59:39 +0000
committermbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2010-01-26 21:59:39 +0000
commit15dac964be44fbc5b5d0c281c85c3ed6ece1ad4d (patch)
tree784fede84d31c084e7396d0700472c151be1e01e /tko
parent28b145b7e7c6269290d08772bae239260886eb4b (diff)
Table name in tko database have been changed. So update table name in
tko/compose_query.cgi. This patch will fix error "Table 'tko.kernels' doesn't exist:" in 'Results database' page. Signed-off-by: Feng Yang <fyang@redhat.com> git-svn-id: svn://test.kernel.org/autotest/trunk@4172 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko')
-rwxr-xr-xtko/compose_query.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/tko/compose_query.cgi b/tko/compose_query.cgi
index b8bb301d..62d3da10 100755
--- a/tko/compose_query.cgi
+++ b/tko/compose_query.cgi
@@ -223,7 +223,7 @@ def map_kernel_init():
fields = ['base', 'k.kernel_idx', 'name', 'url']
map = {}
for (base, idx, name, url) in db_obj.select(','.join(fields),
- 'kernels k,patches p', 'k.kernel_idx=p.kernel_idx'):
+ 'tko_kernels k, tko_patches p', 'k.kernel_idx=p.kernel_idx'):
match = re.match(r'.*(-mm[0-9]+|-git[0-9]+)\.(bz2|gz)$', url)
if match:
continue