Changeset: ed4ab3667fb9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ed4ab3667fb9
Modified Files:
        sql/backends/monet5/datacell/opt_datacell.h
        sql/backends/monet5/sql_gencode.c
        sql/backends/monet5/sql_gencode.h
Branch: Feb2013
Log Message:

Make backend-create-function visible to Datacell


diffs (43 lines):

diff --git a/sql/backends/monet5/datacell/opt_datacell.h 
b/sql/backends/monet5/datacell/opt_datacell.h
--- a/sql/backends/monet5/datacell/opt_datacell.h
+++ b/sql/backends/monet5/datacell/opt_datacell.h
@@ -23,7 +23,7 @@
 #include "opt_support.h"
 #include "opt_pipes.h"
 
-#define OPTDEBUGdatacell   if (1)
-//#define OPTDEBUGdatacell  if (optDebug & (1 << DEBUG_OPT_DATACELL))
+//#define OPTDEBUGdatacell   if (1)
+#define OPTDEBUGdatacell  if (optDebug & (1 << DEBUG_OPT_DATACELL))
 opt_export int OPTdatacellImplementation(Client cntxt, MalBlkPtr mb, MalStkPtr 
stk, InstrPtr pci);
 #endif
diff --git a/sql/backends/monet5/sql_gencode.c 
b/sql/backends/monet5/sql_gencode.c
--- a/sql/backends/monet5/sql_gencode.c
+++ b/sql/backends/monet5/sql_gencode.c
@@ -55,7 +55,6 @@
 
 static int _dumpstmt(backend *sql, MalBlkPtr mb, stmt *s);
 static int backend_dumpstmt(backend *be, MalBlkPtr mb, stmt *s);
-static int backend_create_func(backend *be, sql_func *f);
 
 /*
  * @+ MAL code support
@@ -2521,7 +2520,7 @@ monet5_resolve_function(ptr M, sql_func 
 }
 
 /* TODO handle aggr */
-static int
+int
 backend_create_func(backend *be, sql_func *f)
 {
        mvc *m = be->mvc;
diff --git a/sql/backends/monet5/sql_gencode.h 
b/sql/backends/monet5/sql_gencode.h
--- a/sql/backends/monet5/sql_gencode.h
+++ b/sql/backends/monet5/sql_gencode.h
@@ -33,5 +33,6 @@ sql5_export void backend_call(backend *b
 sql5_export void initSQLreferences(void);
 sql5_export str backend_name(cq *cq);
 sql5_export int monet5_resolve_function(ptr M, sql_func *f);
+sql5_export int backend_create_func(backend *be, sql_func *f);
 
 #endif /* _SQL2MAL_H */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to