cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From likit...@apache.org
Subject git commit: updated refs/heads/master to b172eb2
Date Tue, 13 Aug 2013 10:33:56 GMT
Updated Branches:
  refs/heads/master d9d7cbd5b -> b172eb21c


CLOUDSTACK-4279. Usage manager - Parameter index out of range error


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

Branch: refs/heads/master
Commit: b172eb21c4afcd1a240e64972c3ce412a7ffe565
Parents: d9d7cbd
Author: Likitha Shetty <likitha.shetty@citrix.com>
Authored: Tue Aug 13 13:28:34 2013 +0530
Committer: Likitha Shetty <likitha.shetty@citrix.com>
Committed: Tue Aug 13 15:58:17 2013 +0530

----------------------------------------------------------------------
 engine/schema/src/com/cloud/usage/dao/UsageDaoImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b172eb21/engine/schema/src/com/cloud/usage/dao/UsageDaoImpl.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/usage/dao/UsageDaoImpl.java b/engine/schema/src/com/cloud/usage/dao/UsageDaoImpl.java
index bd7b6b7..ce6d9e4 100644
--- a/engine/schema/src/com/cloud/usage/dao/UsageDaoImpl.java
+++ b/engine/schema/src/com/cloud/usage/dao/UsageDaoImpl.java
@@ -65,7 +65,7 @@ public class UsageDaoImpl extends GenericDaoBase<UsageVO, Long> implements
Usage
     private static final String UPDATE_VM_DISK_STATS = "UPDATE cloud_usage.vm_disk_statistics
SET net_io_read=?, net_io_write=?, current_io_read=?, current_io_write=?, agg_io_read=?, agg_io_write=?,
" +
                "net_bytes_read=?, net_bytes_write=?, current_bytes_read=?, current_bytes_write=?,
agg_bytes_read=?, agg_bytes_write=?  WHERE id=?";
     private static final String INSERT_USGAE_RECORDS = "INSERT INTO cloud_usage.cloud_usage
(zone_id, account_id, domain_id, description, usage_display, usage_type, raw_usage, vm_instance_id,
vm_name, offering_id, template_id, " +
-                "usage_id, type, size, network_id, start_date, end_date, virtual_size) VALUES
(?,?,?,?,?,?,?,?,?, ?, ?, ?,?,?,?,?,?)";
+                "usage_id, type, size, network_id, start_date, end_date, virtual_size) VALUES
(?,?,?,?,?,?,?,?,?, ?, ?, ?,?,?,?,?,?,?)";
 
     protected final static TimeZone s_gmtTimeZone = TimeZone.getTimeZone("GMT");
 


Mime
View raw message