You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by al...@apache.org on 2012/08/12 19:25:13 UTC

[3/3] git commit: CS-15879 Removed safe update flag as it is a client only setting

CS-15879 Removed safe update flag as it is a client only setting


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

Branch: refs/heads/vpc
Commit: 9adf91f7b9c9be8e3eecd66139655f70845ffa3a
Parents: 6e33102
Author: Koushik Das <Ko...@citrix.com>
Authored: Sun Aug 12 16:34:02 2012 +0530
Committer: Nitin Mehta <ni...@citrix.com>
Committed: Sun Aug 12 16:34:02 2012 +0530

----------------------------------------------------------------------
 setup/db/db/schema-303to40.sql |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9adf91f7/setup/db/db/schema-303to40.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-303to40.sql b/setup/db/db/schema-303to40.sql
index a44e64e..9f24966 100644
--- a/setup/db/db/schema-303to40.sql
+++ b/setup/db/db/schema-303to40.sql
@@ -81,8 +81,6 @@ AlTER TABLE physical_network_service_providers ADD CONSTRAINT `fk_pnetwork_servi
 UPDATE `cloud`.`configuration` SET description='In second, timeout for creating volume from snapshot' WHERE name='create.volume.from.snapshot.wait';
 
 ALTER TABLE `cloud`.`hypervisor_capabilities` ADD COLUMN `max_data_volumes_limit` int unsigned DEFAULT 6 COMMENT 'Max. data volumes per VM supported by hypervisor';
-SET SQL_SAFE_UPDATES=0;
 UPDATE `cloud`.`hypervisor_capabilities` SET `max_data_volumes_limit`=13 WHERE `hypervisor_type`='XenServer' AND (`hypervisor_version`='6.0' OR `hypervisor_version`='6.0.2');
-SET SQL_SAFE_UPDATES=1;
 INSERT INTO `cloud`.`configuration` (`category`, `instance`, `component`, `name`, `value`, `description`) VALUES ('Advanced', 'DEFAULT', 'management-server', 'event.purge.interval', '86400', 'The interval (in seconds) to wait before running the event purge thread');
 UPDATE `cloud`.`configuration` SET description='Do URL encoding for the api response, false by default' WHERE name='encode.api.response';