Vinzenz Feenstra has uploaded a new change for review.

Change subject: db: Fix size of guest memory information from INTEGER => BIGINT
......................................................................

db: Fix size of guest memory information from INTEGER => BIGINT

When using the maximum supported amount of RAM for a VM this value
can overflow.

Change-Id: I88a5a0e73a1f41caabb1fa88e7fb140c651056db
Bug-Url: https://bugzilla.redhat.com/1024010
Signed-off-by: Vinzenz Feenstra <[email protected]>
---
A packaging/dbscripts/upgrade/03_06_1480_change_guest_mem_free_to_bigint.sql
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/46/41946/1

diff --git 
a/packaging/dbscripts/upgrade/03_06_1480_change_guest_mem_free_to_bigint.sql 
b/packaging/dbscripts/upgrade/03_06_1480_change_guest_mem_free_to_bigint.sql
new file mode 100644
index 0000000..2e01201
--- /dev/null
+++ b/packaging/dbscripts/upgrade/03_06_1480_change_guest_mem_free_to_bigint.sql
@@ -0,0 +1,3 @@
+SELECT 
fn_db_change_column_type('vm_dynamic','guest_mem_free','integer','bigint');
+SELECT 
fn_db_change_column_type('vm_dynamic','guest_mem_buffered','integer','bigint');
+SELECT 
fn_db_change_column_type('vm_dynamic','guest_mem_cached','integer','bigint');


-- 
To view, visit https://gerrit.ovirt.org/41946
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I88a5a0e73a1f41caabb1fa88e7fb140c651056db
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to