Shirly Radco has uploaded a new change for review.

Change subject: history: Changed mem_shared column type and name
......................................................................

history: Changed mem_shared column type and name

Removed casting of mem_shared column, and it will now
be of int type. Also, changed the ending of the column name
to "mb" instead of "percent", because the data is in mb.

Change-Id: Ia3a42581d00168d091659d30ebfbc086b1757695
Related-To: https://bugzilla.redhat.com/1076902
Signed-off-by: Shirly Radco <sra...@redhat.com>
---
M packaging/dbscripts/create_dwh_views.sql
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/12/25812/1

diff --git a/packaging/dbscripts/create_dwh_views.sql 
b/packaging/dbscripts/create_dwh_views.sql
index 46ffdb3..a6a6d8b 100644
--- a/packaging/dbscripts/create_dwh_views.sql
+++ b/packaging/dbscripts/create_dwh_views.sql
@@ -175,7 +175,7 @@
        cast(b.vm_active as smallint) as vm_active,
        cast(b.vm_count as smallint) as total_vms,
        b.vms_cores_count as total_vms_vcpus,
-       cast(c.mem_shared as smallint) as ksm_shared_memory_percent
+       c.mem_shared as ksm_shared_memory_mb
 FROM vds_dynamic b, vds_statistics c
 where  b.vds_id  = c.vds_id;
 


-- 
To view, visit http://gerrit.ovirt.org/25812
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia3a42581d00168d091659d30ebfbc086b1757695
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4.0
Gerrit-Owner: Shirly Radco <sra...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to