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 <[email protected]> --- tko/compose_query.cgi | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tko/compose_query.cgi b/tko/compose_query.cgi index b8bb301..62d3da1 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 -- 1.5.5.6 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
