Update of /cvsroot/monetdb/sql/src/server
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11193

Modified Files:
        sql_mvc.mx sql_parser.mx 
Log Message:
Fix profile step 1...


Index: sql_mvc.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_mvc.mx,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -d -r1.198 -r1.199
--- sql_mvc.mx  25 Mar 2008 11:23:52 -0000      1.198
+++ sql_mvc.mx  25 Mar 2008 14:29:42 -0000      1.199
@@ -115,6 +115,12 @@
 #ifdef HAVE_TIMES
        struct tms times;
 #endif 
[EMAIL PROTECTED]
+Some statistics are gathered during the execution of a query
+and added to the SQL history table for post analysis when the
+query has been successfully executed.
[EMAIL PROTECTED]
+       lng Tparse, Toptimize, Tschedule, Texec;
 } mvc;
 
 extern int mvc_init(int debug, store_type store, backend_stack stk);

Index: sql_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_parser.mx,v
retrieving revision 1.277
retrieving revision 1.278
diff -u -d -r1.277 -r1.278
--- sql_parser.mx       25 Mar 2008 11:23:50 -0000      1.277
+++ sql_parser.mx       25 Mar 2008 14:29:42 -0000      1.278
@@ -732,6 +732,7 @@
 #ifdef HAVE_TIMES      
                          times(&m->times);
 #endif 
+                         m->Tparse = GDKusec();
                        }
        sql SCOLON      { mvc *m = (mvc*)parm;
                          m->sym = $$ = $3; YYACCEPT; 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to