From: mkanat%kerio.com <> Date: Wed, 6 Apr 2005 10:40:46 +0000 (+0000) Subject: Fix for Bug 284850: Fix the name of one index X-Git-Tag: bugzilla-2.19.3~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0228a007f8c61726032b944c9162aa4a41153ec9;p=thirdparty%2Fbugzilla.git Fix for Bug 284850: Fix the name of one index Patch By Max Kanat-Alexander a=justdave --- diff --git a/checksetup.pl b/checksetup.pl index 8decb119f6..44930ae732 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -2845,7 +2845,7 @@ if ($dbh->bz_get_field_def("products", "product")) { print "Adding indexes for products and components tables.\n"; $dbh->do("CREATE UNIQUE INDEX products_name_idx ON products(name)"); - $dbh->do("CREATE UNIQUE INDEX component_product_id_idx" + $dbh->do("CREATE UNIQUE INDEX components_product_id_idx" . " ON components(product_id, name)"); $dbh->do("CREATE INDEX components_name_idx ON components(name)"); }