Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21770/compiler/include
Modified Files:
builtins.h mil.h
Log Message:
* add to the implty enum definition the new update types. Append union was
complaining about this.
* made a dummy implementation for the fn:error function. It returns null, so
any call to fn:error will result to segmentation fault for now:)
* re-order the enum for bat access mode in mil.h. It should be
BAT_WRITE=0
BAT_READ=1
BAT_APPEND=2
but it was: BAT_READ=0, BAT_APPEND=1, BAT_WRITE=2
Index: mil.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/mil.h,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- mil.h 26 Nov 2007 16:25:48 -0000 1.48
+++ mil.h 27 Nov 2007 17:12:59 -0000 1.49
@@ -444,9 +444,9 @@
typedef enum PFmil_type_t PFmil_type_t;
enum PFmil_access_t {
- BAT_READ /**< BAT is read-only */
+ BAT_WRITE /**< full read/write access to this BAT */
+ , BAT_READ /**< BAT is read-only */
, BAT_APPEND /**< BUNs may be inserted, but no updates or deletions */
- , BAT_WRITE /**< full read/write access to this BAT */
};
typedef enum PFmil_access_t PFmil_access_t;
Index: builtins.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/builtins.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- builtins.h 20 Nov 2007 16:57:27 -0000 1.39
+++ builtins.h 27 Nov 2007 17:12:59 -0000 1.40
@@ -107,6 +107,13 @@
struct PFla_pair_t *args);
/* 3. THE ERROR FUNCTION */
+struct PFla_pair_t PFbui_fn_error (const PFla_op_t *loop,
+ bool ordering,
+ struct PFla_pair_t *args);
+
+struct PFla_pair_t PFbui_fn_error_str (const PFla_op_t *loop,
+ bool ordering,
+ struct PFla_pair_t *args);
/* 6. FUNCTIONS AND OPERATORS ON NUMERICS */
/* 6.2. Operators on Numeric Values */
-------------------------------------------------------------------------
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