[Evolvis-commits] r263: changed sql request↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Feb 25 14:13:09 CET 2010


Author: mirabilos
Date: 2010-02-25 13:13:09 +0000 (Thu, 25 Feb 2010)
New Revision: 263

Modified:
   trunk/gforge_base/evolvisforge/
   trunk/gforge_base/evolvisforge/gforge/deb-specific/stats_cvs.pl
Log:
changed sql request



Property changes on: trunk/gforge_base/evolvisforge
___________________________________________________________________
Name: bzr:revision-info
   - timestamp: 2001-09-01 09:56:54.000000000 +0000
committer: cbayle

   + timestamp: 2001-09-01 11:51:51.000000000 +0000
committer: cbayle

Name: bzr:revision-id:v4
   - 1 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:1
2 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:2
3 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:7
4 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:9
5 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:10
6 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:11
7 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:12
8 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:13
9 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:14
10 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:15
11 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:16
12 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:17
13 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:18
14 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:19
15 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:20
16 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:21
17 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:22
18 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:23
19 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:24
20 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:25
21 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:26
22 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:27
23 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:28
24 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:29
25 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:30
26 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:31
27 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:32
28 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:33

   + 1 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:1
2 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:2
3 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:7
4 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:9
5 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:10
6 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:11
7 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:12
8 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:13
9 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:14
10 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:15
11 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:16
12 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:17
13 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:18
14 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:19
15 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:20
16 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:21
17 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:22
18 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:23
19 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:24
20 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:25
21 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:26
22 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:27
23 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:28
24 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:29
25 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:30
26 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:31
27 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:32
28 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:33
29 svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:34

Name: bzr:text-parents
   - gforge/deb-specific/stats_cvs.pl	svn-v4:9d84d37e-dcb1-4aad-b103-6f3d92f53bf6:trunk:19

   + 

Modified: trunk/gforge_base/evolvisforge/gforge/deb-specific/stats_cvs.pl
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/deb-specific/stats_cvs.pl	2010-02-25 13:13:05 UTC (rev 262)
+++ trunk/gforge_base/evolvisforge/gforge/deb-specific/stats_cvs.pl	2010-02-25 13:13:09 UTC (rev 263)
@@ -95,29 +95,29 @@
         		GROUP BY year,month,day,cvsgroup
 		) agg
 		LEFT JOIN (
-        	SELECT cvsgroup,COUNT(*) AS commits
+        	SELECT cvsgroup,year,month,day,COUNT(*) AS commits
         	FROM deb_cvs_dump
 		WHERE type='A'
         	GROUP BY year,month,day,cvsgroup
-		) c USING (cvsgroup)
+		) c USING (cvsgroup,year,month,day)
 		LEFT JOIN (
-        	SELECT cvsgroup,COUNT(*) AS adds
+        	SELECT cvsgroup,year,month,day,COUNT(*) AS adds
         	FROM deb_cvs_dump
 		WHERE type='M'
         	GROUP BY year,month,day,cvsgroup
-		) a USING (cvsgroup)
+		) a USING (cvsgroup,year,month,day)
 		LEFT JOIN (
-        	SELECT cvsgroup,COUNT(*) AS checkouts
+        	SELECT cvsgroup,year,month,day,COUNT(*) AS checkouts
         	FROM deb_cvs_dump
 		WHERE type='O'
         	GROUP BY year,month,day,cvsgroup
-		) ch USING (cvsgroup)
+		) ch USING (cvsgroup,year,month,day)
 		LEFT JOIN (
-        	SELECT cvsgroup,COUNT(*) AS errors
+        	SELECT cvsgroup,year,month,day,COUNT(*) AS errors
         	FROM deb_cvs_dump
 		WHERE type='E'
         	GROUP BY year,month,day,cvsgroup
-		) e USING (cvsgroup)
+		) e USING (cvsgroup,year,month,day)
 	";
 	$dbh->do( $sql );
 }
@@ -136,9 +136,9 @@
 # main      #
 #############
 &db_connect;
-#&drop_tables;
-#&create_dump_table;
-#&dump_history;
-#&parse_history;
+&drop_tables;
+&create_dump_table;
+&dump_history;
+&parse_history;
 &print_stats;
 




More information about the evolvis-commits mailing list