Re: [Monetdb-developers] [Monetdb-pf-checkins] pathfinder/runtime serialize.mx, , 1.119, 1.120 xrpc_server.mx, , 1.85, 1.86
On Thu, Jan 22, 2009 at 12:30:21PM +0000, Ying Zhang wrote:
Update of /cvsroot/monetdb/pathfinder/runtime In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16608
Modified Files: serialize.mx xrpc_server.mx Log Message: Added a new env. var. to make the root directory, from which the XRPC HTTP server serves files, configurable.
This was (mainly) needed to get the xrpc admin tests run with RunMtest, since RunMtest doesn't have monet installed yet (i.e., there is no $prefix/share/ MonetDB/xrpc/ yet), so we need a way to tell the xrpc server to serve file from a different directory, in this case, from $srcdir/runtime/xrpc.
[...]
U xrpc_server.mx Index: xrpc_server.mx =================================================================== RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_server.mx,v retrieving revision 1.85 retrieving revision 1.86 diff -u -d -r1.85 -r1.86 --- xrpc_server.mx 8 Jan 2009 16:54:18 -0000 1.85 +++ xrpc_server.mx 22 Jan 2009 12:30:19 -0000 1.86 @@ -89,6 +89,10 @@ xrpc_trusted.append(prefix); }
+proc set_xrpc_docroot(str new_docroot) : void { + +} +
Jennie, what is the purpose of the above *empty* MIL proc? Stefan
proc get_xrpc_open() : bit { if (monet_environment.exist("xrpc_open")){ return bit(monet_environment.find("xrpc_open")); [...]
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
On Thu, Jan 22, 2009 at 02:15:17PM +0100, Stefan Manegold wrote:
On Thu, Jan 22, 2009 at 12:30:21PM +0000, Ying Zhang wrote:
Update of /cvsroot/monetdb/pathfinder/runtime In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16608
Modified Files: serialize.mx xrpc_server.mx Log Message: Added a new env. var. to make the root directory, from which the XRPC HTTP server serves files, configurable.
This was (mainly) needed to get the xrpc admin tests run with RunMtest, since RunMtest doesn't have monet installed yet (i.e., there is no $prefix/share/ MonetDB/xrpc/ yet), so we need a way to tell the xrpc server to serve file from a different directory, in this case, from $srcdir/runtime/xrpc.
[...]
U xrpc_server.mx Index: xrpc_server.mx =================================================================== RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_server.mx,v retrieving revision 1.85 retrieving revision 1.86 diff -u -d -r1.85 -r1.86 --- xrpc_server.mx 8 Jan 2009 16:54:18 -0000 1.85 +++ xrpc_server.mx 22 Jan 2009 12:30:19 -0000 1.86 @@ -89,6 +89,10 @@ xrpc_trusted.append(prefix); }
+proc set_xrpc_docroot(str new_docroot) : void { + +} +
Jennie,
what is the purpose of the above *empty* MIL proc?
Thanks for noticing this. It should have been removed => the xrpc_docroot shouldn't be made changable via a MIL proc. I will correct this. Jennie
Stefan
proc get_xrpc_open() : bit { if (monet_environment.exist("xrpc_open")){ return bit(monet_environment.find("xrpc_open")); [...]
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
participants (2)
-
Stefan Manegold
-
Ying Zhang