[rhmessaging-commits] rhmessaging commits: r2893 - mgmt/trunk/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Wed Nov 26 18:12:06 EST 2008


Author: eallen
Date: 2008-11-26 18:12:06 -0500 (Wed, 26 Nov 2008)
New Revision: 2893

Modified:
   mgmt/trunk/cumin/python/cumin/slot.strings
Log:
Hopefully returning the correct slotset count for multiple collector situations.

Modified: mgmt/trunk/cumin/python/cumin/slot.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/slot.strings	2008-11-26 22:53:03 UTC (rev 2892)
+++ mgmt/trunk/cumin/python/cumin/slot.strings	2008-11-26 23:12:06 UTC (rev 2893)
@@ -16,10 +16,10 @@
 {sql_limit}
 
 [SlotSet.count_sql]
-select count(*)
-from slot as s
-{sql_where}
+select count(1)
+from (select distinct name, machine, system, pool, deletion_time from slot as s {sql_where}) as s
 
+
 [MachineSet.sql]
 select
   machine as id,




More information about the rhmessaging-commits mailing list