Changeset: f5c0998234b2 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f5c0998234b2
Modified Files:
monetdb5/optimizer/opt_datacell.mx
sql/backends/monet5/datacell/petrinet.mx
Branch: default
Log Message:
datacell: fix compilation
diffs (32 lines):
diff --git a/monetdb5/optimizer/opt_datacell.mx
b/monetdb5/optimizer/opt_datacell.mx
--- a/monetdb5/optimizer/opt_datacell.mx
+++ b/monetdb5/optimizer/opt_datacell.mx
@@ -39,6 +39,7 @@
#define OPTDEBUGdatacell if ( optDebug & (1 <<DEBUG_OPT_DATACELL) )
opt_export str OPTdatacell(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr
p);
+opt_export int OPTdatacellImplementation(Client cntxt, MalBlkPtr mb, MalStkPtr
stk, InstrPtr pci);
#endif
@-
@@ -51,7 +52,7 @@
#include "mal_builder.h"
#include "opt_statistics.h"
-static int
+int
OPTdatacellImplementation(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr
pci)
{
int actions = 0;
diff --git a/sql/backends/monet5/datacell/petrinet.mx
b/sql/backends/monet5/datacell/petrinet.mx
--- a/sql/backends/monet5/datacell/petrinet.mx
+++ b/sql/backends/monet5/datacell/petrinet.mx
@@ -227,7 +227,7 @@
str mod = *(str*) getArgReference(stk,pci,1);
str fcn = *(str*) getArgReference(stk,pci,2);
Module scope;
- Symbol s;
+ Symbol s = NULL;
int ret;
int i,j;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list