From 946aa2272f2789fbdae896d8534cb18d9df75129 Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Tue, 22 Mar 2005 16:56:52 +0000 Subject: Bug 286689: Cross-DB bz_add_index and bz_drop_index (Part of Bug 285111) Patch By Max Kanat-Alexander r=Tomas.Kopal, a=justdave --- Bugzilla/DB/Schema/Mysql.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Bugzilla/DB/Schema') 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; -- cgit v1.2.3-24-g4f1b