[svn-commits] r164 - in branches/advisor/src/back/scf: hdr scm

thial01 at ingres.com thial01 at ingres.com
Thu Jul 17 23:11:12 PDT 2008


Author: thial01
Date: 2008-07-17 23:11:12 -0700 (Thu, 17 Jul 2008)
New Revision: 164

Modified:
   branches/advisor/src/back/scf/hdr/scmonitor.h
   branches/advisor/src/back/scf/scm/scmonitor.sc
Log:
Fixing bug in monitor daemon - see #174


Modified: branches/advisor/src/back/scf/hdr/scmonitor.h
===================================================================
--- branches/advisor/src/back/scf/hdr/scmonitor.h	2008-07-17 14:59:11 UTC (rev 163)
+++ branches/advisor/src/back/scf/hdr/scmonitor.h	2008-07-18 06:11:12 UTC (rev 164)
@@ -41,7 +41,6 @@
 	i4			table_id;
 	char		name[DB_MAXNAME];
 	u_i4		frequency;
-	char		statistics;
 	u_i4		est_cpu;
 	u_i4		act_cpu;
 	u_i4		est_dio;
@@ -62,6 +61,7 @@
 	char	name[DB_MAXNAME];
 	i4		table_id;
 	u_i4	frequency;
+	i4		statistics;	
 	i4		time;
 }   ESQL_SCM_ATTRIBUTE;
 

Modified: branches/advisor/src/back/scf/scm/scmonitor.sc
===================================================================
--- branches/advisor/src/back/scf/scm/scmonitor.sc	2008-07-17 14:59:11 UTC (rev 163)
+++ branches/advisor/src/back/scf/scm/scmonitor.sc	2008-07-18 06:11:12 UTC (rev 164)
@@ -386,7 +386,6 @@
         		exec sql update tables
         			set 
 	        			frequency = :table.frequency,
-	        			statistics = :table.statistics,
     	    			est_cpu = :table.est_cpu,
         				act_cpu = :table.act_cpu,
         				est_dio = :table.est_dio,
@@ -553,6 +552,7 @@
         		exec sql update attributes
         			set 
 	        			frequency = :attribute.frequency,
+	        			statistics = :attribute.statistics,
         				time = :attribute.time
         			where database = :db_name
         				and table_id = :attribute.table_id




More information about the svn-commits mailing list