Update of /cvsroot/monetdb/pathfinder/compiler
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21927/compiler

Modified Files:
      Tag: XQuery_0-24
        main.c 
Log Message:

analogously to Peter's fix for
[ 1995879 ] algebra kills admin GUI
http://sourceforge.net/tracker/index.php?func=detail&aid=1995879&group_id=56967&atid=482468
that falls back to MPS for XRPC and cachable queries,
even if ALG is default:

For StandOff extensions, we no proceed as follows:
In case
(1) Pathfinder is configured with --with-default-backend=algebra AND
(2) StandOff extensions are enabled at runtime via
    `Mserver --set standoff=enabled` and/or `pf --enable-standoff` AND
(3) the Algebra back-end is NOT explicitly requested via
    `Mserver --set xquery_backend=algebra`, `pf -A`, or `mclient -G`
then,
Pathfinder automatically falls back to MPS
to enable support for the StandOff extensions.


U main.c
Index: main.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/main.c,v
retrieving revision 1.104
retrieving revision 1.104.2.1
diff -u -d -r1.104 -r1.104.2.1
--- main.c      2 Apr 2008 16:13:42 -0000       1.104
+++ main.c      18 Jun 2008 15:30:11 -0000      1.104.2.1
@@ -867,6 +867,10 @@
 
             case 'b':
                 status->standoff_axis_steps = true;
+#if ALGEBRA_IS_DEFAULT
+                if (status->output_format == PFoutput_format_not_specified)
+                    status->output_format = PFoutput_format_milprint_summer;
+#endif
                 break;
 
             case 'c':


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to