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

thial01 at ingres.com thial01 at ingres.com
Sun Jul 27 13:01:04 PDT 2008


Author: thial01
Date: 2008-07-27 13:01:04 -0700 (Sun, 27 Jul 2008)
New Revision: 170

Modified:
   branches/advisor/src/back/scf/hdr/scmonitor.h
   branches/advisor/src/back/scf/scm/scmonitor.sc
   branches/advisor/src/back/scf/scm/workloaddb.sql
Log:
Fixing typos from last commit - see #174


Modified: branches/advisor/src/back/scf/hdr/scmonitor.h
===================================================================
--- branches/advisor/src/back/scf/hdr/scmonitor.h	2008-07-27 18:46:15 UTC (rev 169)
+++ branches/advisor/src/back/scf/hdr/scmonitor.h	2008-07-27 20:01:04 UTC (rev 170)
@@ -99,7 +99,7 @@
 	char	server[DB_MAXNAME*2];	
 	i4		current_connections;
 	i4		current_sessions;
-	i4		max_session;
+	i4		max_sessions;
 	i4		total_rows;
 	i4		selects_processed;
 	i4		locks_per_tx;

Modified: branches/advisor/src/back/scf/scm/scmonitor.sc
===================================================================
--- branches/advisor/src/back/scf/scm/scmonitor.sc	2008-07-27 18:46:15 UTC (rev 169)
+++ branches/advisor/src/back/scf/scm/scmonitor.sc	2008-07-27 20:01:04 UTC (rev 170)
@@ -965,6 +965,8 @@
 		ESQL_SCM_STATISTICS	statistics;
 		i4					time;
 	exec sql end declare section;	
+	
+	MEfill(sizeof(ESQL_SCM_STATISTICS), 0, &statistics);
 
 	if (scm->cur_sts_idx == 0) 
 	{
@@ -1000,7 +1002,7 @@
         {
         	statistics.current_connections = scm->statistics[i].current_connections;
         	statistics.current_sessions = scm->statistics[i].current_sessions;
-        	statistics.max_session = scm->statistics[i].max_session;
+        	statistics.max_sessions = scm->statistics[i].max_sessions;
         	statistics.total_rows = scm->statistics[i].total_rows;
         	statistics.selects_processed = scm->statistics[i].selects_processed;
         	statistics.locks_per_tx = scm->statistics[i].locks_per_tx;

Modified: branches/advisor/src/back/scf/scm/workloaddb.sql
===================================================================
--- branches/advisor/src/back/scf/scm/workloaddb.sql	2008-07-27 18:46:15 UTC (rev 169)
+++ branches/advisor/src/back/scf/scm/workloaddb.sql	2008-07-27 20:01:04 UTC (rev 170)
@@ -101,12 +101,12 @@
 create table statistics (
     server varchar(64) not null,
     current_connections integer4 not null,
-    current_session integer4 not null,
-    max_session integer4 not null,
+    current_sessions integer4 not null,
+    max_sessions integer4 not null,
     total_rows integer4 not null,
     selects_processed integer4 not null,
     locks_per_tx integer4 not null,
-    max_used integer4 not null,
+    max_locks integer4 not null,
     locks_used integer4 not null,
     deadlocks integer4 not null,
     escalated_locks integer4 not null,




More information about the svn-commits mailing list