Update of /cvsroot/monetdb/pathfinder/compiler
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16753/compiler
Modified Files:
compile.c
Log Message:
For sake of recognition
-- The endless Odyssey through the pathfinder code checking
for correct initialization of global variables (Part 3).
This time---checking all files in folders:
o compiler/core
o compiler/sql
U compile.c
Index: compile.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/compile.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- compile.c 2 Apr 2008 16:13:41 -0000 1.145
+++ compile.c 3 Apr 2008 07:26:29 -0000 1.146
@@ -66,6 +66,7 @@
#include "types.h" /* type system */
#include "import.h" /* XML Schema import */
#include "simplify.h" /* core simplification */
+#include "core.h"
#include "coreopt.h"
#include "typecheck.h" /* type inference and check */
#include "core2alg.h" /* Compile Core to Relational Algebra */
@@ -325,6 +326,9 @@
.revalid = revalid_strict /* XQ update facility 1.0
[§2.3] */
};
+ /* Initialize data structures in the Core department */
+ PFcore_init ();
+
#if HAVE_SIGNAL_H
/* setup sementation fault signal handler */
signal (SIGSEGV, segfault_handler);
@@ -877,6 +881,9 @@
PFmem_init ();
+ /* initialize the datastructures in the Core department */
+ PFcore_init ();
+
#ifndef NDEBUG
PFarray_init ();
#endif
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins