Changeset: 3a44bc8b85df for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/3a44bc8b85df
Modified Files:
        monetdb5/mal/mal_client.c
        monetdb5/mal/mal_client.h
        monetdb5/mal/mal_scenario.c
Branch: default
Log Message:

Remove unused structure element


diffs (39 lines):

diff --git a/monetdb5/mal/mal_client.c b/monetdb5/mal/mal_client.c
--- a/monetdb5/mal/mal_client.c
+++ b/monetdb5/mal/mal_client.c
@@ -258,7 +258,6 @@ MCinitClientRecord(Client c, oid user, b
        }
        c->promptlength = strlen(prompt);
 
-       c->actions = 0;
        c->profticks = c->profstmt = NULL;
        c->error_row = c->error_fld = c->error_msg = c->error_input = NULL;
        c->sqlprofiler = 0;
diff --git a/monetdb5/mal/mal_client.h b/monetdb5/mal/mal_client.h
--- a/monetdb5/mal/mal_client.h
+++ b/monetdb5/mal/mal_client.h
@@ -145,13 +145,6 @@ typedef struct CLIENT {
        Symbol      curprg;     /* container for the malparser */
        Symbol      backup;     /* saving the parser context for 
functions,commands/patterns */
        MalStkPtr   glb;        /* global variable stack */
-       /*
-        * Some statistics on client behavior becomes relevant for server
-        * maintenance. The scenario loop is used as a frame of reference.
-        * We measure the elapsed time after a request has been received and
-        * we have to wait for the next one.
-        */
-       int             actions;
 
        /*
         * Here are pointers to scenario backends contexts.  For the time
diff --git a/monetdb5/mal/mal_scenario.c b/monetdb5/mal/mal_scenario.c
--- a/monetdb5/mal/mal_scenario.c
+++ b/monetdb5/mal/mal_scenario.c
@@ -489,7 +489,6 @@ runScenarioBody(Client c, int once)
                if( GDKerrbuf && GDKerrbuf[0])
                        mnstr_printf(c->fdout,"!GDKerror: %s\n",GDKerrbuf);
                assert(c->curprg->def->errors == NULL);
-               c->actions++;
                if( once) break;
        }
        if (once == 0)
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to