]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for Bug 284850: Fix the name of one index
authormkanat%kerio.com <>
Wed, 6 Apr 2005 10:40:46 +0000 (10:40 +0000)
committermkanat%kerio.com <>
Wed, 6 Apr 2005 10:40:46 +0000 (10:40 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> a=justdave

checksetup.pl

index 8decb119f6b38db4c35b2379a555e982a38f8c24..44930ae732ec6353634d9a1e31be240aac6610af 100755 (executable)
@@ -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)");
 }