summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-04-06 12:40:46 +0200
committermkanat%kerio.com <>2005-04-06 12:40:46 +0200
commit0228a007f8c61726032b944c9162aa4a41153ec9 (patch)
tree48195f4ee8f0a6d47bd80db844154fac87e8a49a /checksetup.pl
parent64be6114d94ef5e8bf7056e135a0d4d8c1e7b308 (diff)
downloadbugzilla-0228a007f8c61726032b944c9162aa4a41153ec9.tar.gz
bugzilla-0228a007f8c61726032b944c9162aa4a41153ec9.tar.xz
Fix for Bug 284850: Fix the name of one index
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 8decb119f..44930ae73 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)");
}