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

Modified Files:
        milgen.brg 
Log Message:
Bug fix: [ 1835717 ] XQ: compilation fails on various platforms
submited on 2007-11-21.
Handle the default case of the switch for update functions correctly
in the milgen.brg file.


Index: milgen.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milgen.brg,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- milgen.brg  20 Nov 2007 16:57:28 -0000      1.87
+++ milgen.brg  21 Nov 2007 15:17:42 -0000      1.88
@@ -3999,7 +3999,9 @@
                         case alg_fun_upd_replace_node:
                              update_str = UPDATE_REPLACENODE;
                              break;
-                        default: break;
+                        default:
+                             update_str = 0; /* should never reach here */
+                             break;     /* this is just to fool the compiler */
                     }
 
                     execute (


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to