cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From weiz...@apache.org
Subject [15/25] git commit: updated refs/heads/advancedsg-leaseweb to c5383c8
Date Wed, 26 Jun 2013 09:30:25 GMT
CLOUDSTACK-3005: fix template_spool_ref.local_patch error after upgrade from 2.2.14 to 3.X


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5267975e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5267975e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5267975e

Branch: refs/heads/advancedsg-leaseweb
Commit: 5267975ef0410eed8380d5f71702d52bd37ab969
Parents: 64ef3c4
Author: Wei Zhou <w.zhou@leaseweb.com>
Authored: Fri Jun 14 10:32:47 2013 +0200
Committer: Wei Zhou <w.zhou@leaseweb.com>
Committed: Fri Jun 14 14:21:59 2013 +0200

----------------------------------------------------------------------
 setup/db/db/schema-2214to30.sql | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5267975e/setup/db/db/schema-2214to30.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-2214to30.sql b/setup/db/db/schema-2214to30.sql
index e288b0f..326e9a7 100755
--- a/setup/db/db/schema-2214to30.sql
+++ b/setup/db/db/schema-2214to30.sql
@@ -665,6 +665,7 @@ ALTER TABLE `cloud`.`dc_storage_network_ip_range` ADD COLUMN `gateway`
varchar(1
 ALTER TABLE `cloud`.`volumes` ADD COLUMN `last_pool_id` bigint unsigned;
 UPDATE `cloud`.`volumes` SET `last_pool_id` = `pool_id`;
 UPDATE `cloud`.`volumes` SET `path` = SUBSTRING_INDEX(`path`, '/', -1);
+UPDATE `cloud`.`template_spool_ref` SET `local_path` = SUBSTRING_INDEX(`local_path`, '/',
-1);
 
 ALTER TABLE `cloud`.`user_ip_address` ADD COLUMN `is_system` int(1) unsigned NOT NULL default
'0';
 ALTER TABLE `cloud`.`volumes` ADD COLUMN `update_count` bigint unsigned NOT NULL DEFAULT
0;


Mime
View raw message