[Autotest][PATCH] Correct tko_kernels and tko_patches table name in tko/compose_query.cgi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux