From: Mike O'Connor Date: Sat, 9 Jan 2010 20:20:24 +0000 (-0500) Subject: bad index name X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c147cf22bbaa0b9c9a27a717a43729d2c140ee1b;hp=f291297ba4eab8ab5f130002acb2675c997f291c;p=dak.git bad index name Signed-off-by: Mike O'Connor --- diff --git a/dak/dakdb/update28.py b/dak/dakdb/update28.py index 0d1f2208..1859e505 100755 --- a/dak/dakdb/update28.py +++ b/dak/dakdb/update28.py @@ -153,7 +153,7 @@ def do_update(self): for section, sname in [("debian-installer","main"), ("non-free/debian-installer", "nonfree")]: - c.execute( "CREATE INDEX ind_udeb_contents_%s_%s ON udeb_contents (section,suite) WHERE section='%s' AND suite='%s'"%(sname,suite,section,suite_id) ) + c.execute( "CREATE INDEX ind_udeb_contents_%s ON udeb_contents (section,suite) WHERE section='%s' AND suite='%s'"%(sname,section,suite_id) ) c.execute( """CREATE OR REPLACE FUNCTION update_contents_for_bin_a() RETURNS trigger AS $$