aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB/Schema
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-03-22 16:56:52 +0000
committermkanat%kerio.com <>2005-03-22 16:56:52 +0000
commit946aa2272f2789fbdae896d8534cb18d9df75129 (patch)
tree7cc88c0e00775c5cc011799395aead3c686281fa /Bugzilla/DB/Schema
parent7ee3130c4a11184083126394fcabe932ecc234d5 (diff)
downloadbugs-946aa2272f2789fbdae896d8534cb18d9df75129.tar
bugs-946aa2272f2789fbdae896d8534cb18d9df75129.tar.gz
bugs-946aa2272f2789fbdae896d8534cb18d9df75129.tar.bz2
bugs-946aa2272f2789fbdae896d8534cb18d9df75129.tar.xz
bugs-946aa2272f2789fbdae896d8534cb18d9df75129.zip
Bug 286689: Cross-DB bz_add_index and bz_drop_index (Part of Bug 285111)
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=Tomas.Kopal, a=justdave
Diffstat (limited to 'Bugzilla/DB/Schema')
-rw-r--r--Bugzilla/DB/Schema/Mysql.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/DB/Schema/Mysql.pm b/Bugzilla/DB/Schema/Mysql.pm
index fa6e2d5ba..6340998b7 100644
--- a/Bugzilla/DB/Schema/Mysql.pm
+++ b/Bugzilla/DB/Schema/Mysql.pm
@@ -108,4 +108,9 @@ sub get_alter_column_ddl {
return (("ALTER TABLE $table CHANGE COLUMN $column $column $new_ddl"));
}
+sub get_drop_index_ddl {
+ my ($self, $table, $name) = @_;
+ return ("DROP INDEX $name ON $table");
+}
+
1;