perfsonar-dev - r1351 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager
Subject: perfsonar development work
List archive
r1351 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager
Chronological Thread
- From:
- To:
- Subject: r1351 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager
- Date: Fri, 30 Jun 2006 10:08:29 -0400
Author: roman
Date: 2006-06-30 10:08:28 -0400 (Fri, 30 Jun 2006)
New Revision: 1351
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
Log:
if the request does not contain time parameters ('time' or 'startTime' and
'endTime') the deafult value 'now' (parameter 'time') is taken
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
2006-06-30 13:47:32 UTC (rev 1350)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
2006-06-30 14:08:28 UTC (rev 1351)
@@ -162,8 +162,10 @@
"SQLStorageManager.fetch: "
+ "Uknown value of time parameter in the
request");
}
+ } else if (ibatisParams.get("startTime") != null &&
ibatisParams.get("endTime") != null) {
+ resultList = sqlMap.queryForList("getResults1",
ibatisParams);
} else {
- resultList = sqlMap.queryForList("getResults1",
ibatisParams);
+ resultList = sqlMap.queryForList("getResults2",
ibatisParams);
}
- r1351 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager, svnlog, 06/30/2006
Archive powered by MHonArc 2.6.16.