From 9c46a7e6f91400705d1935338898da7ea759ff1f Mon Sep 17 00:00:00 2001 From: stronk7 Date: Thu, 28 Sep 2006 20:11:30 +0000 Subject: [PATCH] changed mysql drop index syntax. Nothing relevant. --- lib/xmldb/classes/generators/mysql/mysql.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xmldb/classes/generators/mysql/mysql.class.php b/lib/xmldb/classes/generators/mysql/mysql.class.php index 2ae241a9d8..e8e3896aff 100644 --- a/lib/xmldb/classes/generators/mysql/mysql.class.php +++ b/lib/xmldb/classes/generators/mysql/mysql.class.php @@ -62,7 +62,7 @@ class XMLDBmysql extends XMLDBGenerator { var $alter_column_sql = 'ALTER TABLE TABLENAME MODIFY COLUMN COLUMNSPECS'; //The SQL template to alter columns - var $drop_index_sql = 'DROP INDEX INDEXNAME ON TABLENAME'; //SQL sentence to drop one index + var $drop_index_sql = 'ALTER TABLE TABLENAME DROP INDEX INDEXNAME'; //SQL sentence to drop one index //TABLENAME, INDEXNAME are dinamically replaced /** -- 2.39.5