From 5c8d968eead744b9a7b81bf8f438c09686703ce9 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Thu, 10 May 2012 14:43:07 -0700 Subject: [PATCH] Remove the extra drop sql line This would result in 3.0.1 to 3.0.2 upgrade failed, due to index not found. --- setup/db/db/schema-301to302.sql | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup/db/db/schema-301to302.sql b/setup/db/db/schema-301to302.sql index ef0ede51ddb..049799d15f3 100755 --- a/setup/db/db/schema-301to302.sql +++ b/setup/db/db/schema-301to302.sql @@ -20,8 +20,6 @@ DELETE FROM `cloud`.`configuration` WHERE name='secstorage.vm.ram.size'; INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'consoleproxy.service.offering', NULL, 'Service offering used by console proxy; if NULL - system offering will be used'); INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'secstorage.service.offering', NULL, 'Service offering used by secondary storage; if NULL - system offering will be used'); -DROP INDEX `i_host__allocation_state` ON `cloud`.`host`; - UPDATE `cloud`.`network_offerings` SET display_text='Offering for Isolated networks with Source Nat service enabled' WHERE name='DefaultIsolatedNetworkOfferingWithSourceNatService' and `cloud`.`network_offerings`.default=1; UPDATE `cloud`.`network_offerings` SET display_text='Offering for Isolated networks with no Source Nat service' WHERE name='DefaultIsolatedNetworkOffering' and `cloud`.`network_offerings`.default=1; UPDATE `cloud`.`network_offerings` SET display_text='Offering for Shared networks' WHERE name='DefaultSharedNetworkOffering' and `cloud`.`network_offerings`.default=1;