Changeset: 8fde7f3111c1 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8fde7f3111c1
Modified Files:
        monetdb5/modules/mal/querylog.c
        monetdb5/modules/mal/querylog.h
        monetdb5/modules/mal/querylog.mal
Branch: default
Log Message:

interface of querlog.define changed


diffs (44 lines):

diff --git a/monetdb5/modules/mal/querylog.c b/monetdb5/modules/mal/querylog.c
--- a/monetdb5/modules/mal/querylog.c
+++ b/monetdb5/modules/mal/querylog.c
@@ -325,12 +325,13 @@ QLOGinsert(Client cntxt, MalBlkPtr mb, M
 }
 
 str
-QLOGdefineNaive(void *ret, str *qry, str *opt)
+QLOGdefineNaive(void *ret, str *qry, str *opt, int *nr)
 {
        // Nothing else to be done.
        (void) ret;
        (void) qry;
        (void) opt;
+       (void) nr;
        return MAL_SUCCEED;
 }
 
diff --git a/monetdb5/modules/mal/querylog.h b/monetdb5/modules/mal/querylog.h
--- a/monetdb5/modules/mal/querylog.h
+++ b/monetdb5/modules/mal/querylog.h
@@ -42,7 +42,7 @@ qlog_export int QLOGisset(void);
 qlog_export str QLOGissetFcn(int *ret);
 qlog_export str QLOGempty(void *ret);
 qlog_export str QLOGinsert(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr 
pci);
-qlog_export str QLOGdefineNaive(void *ret, str *qry, str *opt);
+qlog_export str QLOGdefineNaive(void *ret, str *qry, str *opt, int *nr);
 qlog_export str QLOGcall(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr 
pci);
 
 #endif /* _QLOG_H */
diff --git a/monetdb5/modules/mal/querylog.mal 
b/monetdb5/modules/mal/querylog.mal
--- a/monetdb5/modules/mal/querylog.mal
+++ b/monetdb5/modules/mal/querylog.mal
@@ -41,10 +41,6 @@ pattern insert(q:str, pipe:str, usr:str,
 address QLOGinsert
 comment "Add a new query call to the query log";
 
-command define(q:str, pipe:str)
-address QLOGdefineNaive
-comment "Noop operation, just marking the query";
-
 command define(q:str, pipe:str, size:int)
 address QLOGdefineNaive
 comment "Noop operation, just marking the query";
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to