Changeset: c9f39bb247f4 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c9f39bb247f4 Modified Files: monetdb5/modules/mal/profiler.mal Branch: compactprofiler Log Message:
Add overloaded profiler.openstream MAL call The interface to profiler.openstream changed recently by dropping the mode argument. Indeed there will be no need for this argument after the changes in the compactprofiler branch have been released, but it is still there in the November 2019, and most importantly pymonetdb assumes that it is there. This commits adds an overloaded/deprecated version of the profiler.openstream call with the mode argument, that is just ignored. diffs (14 lines): diff --git a/monetdb5/modules/mal/profiler.mal b/monetdb5/modules/mal/profiler.mal --- a/monetdb5/modules/mal/profiler.mal +++ b/monetdb5/modules/mal/profiler.mal @@ -38,6 +38,10 @@ pattern openstream():void address CMDopenProfilerStream comment "Start profiling the events, send to output stream"; +pattern openstream(mode:int):void +address CMDopenProfilerStream +comment "Start profiling the events, send to output stream"; + pattern closestream():void address CMDcloseProfilerStream comment "Stop offline proviling"; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list