cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject git commit: updated refs/heads/4.2 to f9b658f
Date Thu, 31 Oct 2013 20:52:03 GMT
Updated Branches:
  refs/heads/4.2 dc081c9f6 -> f9b658f6a


CLOUDSTACK-5013:
Add the format for volumes table for uploaded volumes. Since volume_host_ref still exists,
using that for populating it
Signed off by : nitin mehta<nitin.mehta@citrix.com>


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

Branch: refs/heads/4.2
Commit: f9b658f6afdbbe2b251af9ae01faf7c8594656ad
Parents: dc081c9
Author: Nitin Mehta <nitin.mehta@citrix.com>
Authored: Thu Oct 31 13:51:49 2013 -0700
Committer: Nitin Mehta <nitin.mehta@citrix.com>
Committed: Thu Oct 31 13:51:49 2013 -0700

----------------------------------------------------------------------
 setup/db/db/schema-420to421.sql | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f9b658f6/setup/db/db/schema-420to421.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-420to421.sql b/setup/db/db/schema-420to421.sql
index e72e1b2..d429b30 100644
--- a/setup/db/db/schema-420to421.sql
+++ b/setup/db/db/schema-420to421.sql
@@ -215,4 +215,9 @@ CREATE VIEW `cloud`.`user_vm_view` AS
             left join
         `cloud`.`affinity_group` ON affinity_group_vm_map.affinity_group_id = affinity_group.id
             left join
-        `cloud`.`user_vm_details` as all_details ON all_details.vm_id = vm_instance.id;
\ No newline at end of file
+        `cloud`.`user_vm_details` as all_details ON all_details.vm_id = vm_instance.id;
+
+--Add the format for volumes table for uploaded volumes (CLOUDSTACK-5013)
+update  `cloud`.`volumes` v,  `cloud`.`volume_host_ref` vhr  set v.format=vhr.format where
v.id=vhr.volume_id and v.format is null;
+
+


Mime
View raw message