Skip to content

Commit 7ce22fc

Browse files
committed
db: Fix commas which should be dots in create-schema, fix debug msg
Signed-off-by: Rohit Yadav <[email protected]> (cherry picked from commit 44c8a33) Signed-off-by: Rohit Yadav <[email protected]>
1 parent d427e1a commit 7ce22fc

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

server/src/com/cloud/upgrade/dao/Upgrade40to41.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void performDataMigration(Connection conn) {
7070
public File[] getCleanupScripts() {
7171
String script = Script.findScript("", "db/schema-40to410-cleanup.sql");
7272
if (script == null) {
73-
throw new CloudRuntimeException("Unable to find db/schema-302to40-cleanup.sql");
73+
throw new CloudRuntimeException("Unable to find db/schema-40to410-cleanup.sql");
7474
}
7575

7676
return new File[] { new File(script) };

setup/db/create-schema.sql

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,12 @@ DROP TABLE IF EXISTS `cloud`.`region`;
145145
DROP TABLE IF EXISTS `cloud`.`s2s_customer_gateway`;
146146
DROP TABLE IF EXISTS `cloud`.`s2s_vpn_gateway`;
147147
DROP TABLE IF EXISTS `cloud`.`s2s_vpn_connection`;
148-
DROP TABLE IF EXISTS `cloud`,`external_nicira_nvp_devices`;
149-
DROP TABLE IF EXISTS `cloud`,`nicira_nvp_nic_map`;
150-
DROP TABLE IF EXISTS `cloud`,`s3`;
151-
DROP TABLE IF EXISTS `cloud`,`template_s3_ref`;
152-
DROP TABLE IF EXISTS `cloud`,`nicira_nvp_router_map`;
153-
DROP TABLE IF EXISTS `cloud`,`external_bigswitch_vns_devices`;
148+
DROP TABLE IF EXISTS `cloud`.`external_nicira_nvp_devices`;
149+
DROP TABLE IF EXISTS `cloud`.`nicira_nvp_nic_map`;
150+
DROP TABLE IF EXISTS `cloud`.`s3`;
151+
DROP TABLE IF EXISTS `cloud`.`template_s3_ref`;
152+
DROP TABLE IF EXISTS `cloud`.`nicira_nvp_router_map`;
153+
DROP TABLE IF EXISTS `cloud`.`external_bigswitch_vns_devices`;
154154
DROP TABLE IF EXISTS `cloud`.`autoscale_vmgroup_policy_map`;
155155
DROP TABLE IF EXISTS `cloud`.`autoscale_policy_condition_map`;
156156
DROP TABLE IF EXISTS `cloud`.`autoscale_vmgroups`;

0 commit comments

Comments
 (0)