Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12892/compiler/include
Modified Files:
Tag: PF_ROX
sql.h sql_mnemonic.h
Log Message:
propagated changes of Thursday Mar 06 2008 - Monday Mar 17 2008
from the development trunk to the PF_ROX branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/03/10 - mayrm: compiler/sql/lalg2sql.brg,1.123
Bugfix: Since SQL lacks support for boolean types we have to bind the input
operators
of joins trying to join over boolean values.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/03/11 - mayrm: tests/BugsViaSourgeforce/Tests/All,1.37
Add test for Bug 1908622 from Sourceforge.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/03/14 - mayrm: compiler/include/sql.h,1.47
compiler/include/sql_mnemonic.h,1.38 compiler/sql/lalg2sql.brg,1.124
compiler/sql/sql.c,1.56 compiler/sql/sqlprint.c,1.48
Use the DB2 specific `raise_error' function to throw errors durings runtime.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/03/17 - sjoerd: runtime/pathfinder.mx,1.406
propagated changes of Friday Mar 07 2008 - Monday Mar 17 2008
from the XQuery_0-22 branch to the development trunk
===================================================================
2008/03/14 - nielsnes: runtime/pathfinder.mx,1.399.2.6
sum now returns NULL for empty bats
so, introduced an old_sum which has the old semantics
===================================================================
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: sql.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/sql.h,v
retrieving revision 1.42.4.3
retrieving revision 1.42.4.4
diff -u -d -r1.42.4.3 -r1.42.4.4
--- sql.h 1 Mar 2008 11:23:39 -0000 1.42.4.3
+++ sql.h 17 Mar 2008 16:49:13 -0000 1.42.4.4
@@ -52,6 +52,7 @@
, sql_col_pos
, sql_col_guide
, sql_col_max
+ , sql_col_err
, sql_col_dist
};
typedef enum PFsql_special_t PFsql_special_t;
@@ -211,6 +212,7 @@
, sql_else /* ELSE .. clause */
, sql_values /* Table Functions */
, sql_db2_selectivity /* DB2 selectivity hint */
+ , sql_db2_raise_error /* DB2 runtime errors */
};
/* SQL operator kinds. */
typedef enum PFsql_kind_t PFsql_kind_t;
@@ -958,6 +960,10 @@
*/
PFsql_t * PFsql_selectivity (PFsql_t *pred, PFsql_t *sel);
/**
+ * Create a DB2 runtime error
+ */
+PFsql_t * PFsql_raise_error (PFsql_t *state, PFsql_t *message);
+/**
* Duplicate a given SQL tree.
*/
PFsql_t * PFsql_op_duplicate (PFsql_t *expr);
Index: sql_mnemonic.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/sql_mnemonic.h,v
retrieving revision 1.34.2.3
retrieving revision 1.34.2.4
diff -u -d -r1.34.2.3 -r1.34.2.4
--- sql_mnemonic.h 26 Feb 2008 01:26:13 -0000 1.34.2.3
+++ sql_mnemonic.h 17 Mar 2008 16:49:13 -0000 1.34.2.4
@@ -153,6 +153,7 @@
#define when(be,e) PFsql_when(be,e)
#define else_(e) PFsql_else(e)
#define selectivity(pred,sel) PFsql_selectivity(pred,sel)
+#define raise_error(s,m) PFsql_raise_error((s),(m))
#define duplicate(e) PFsql_op_duplicate(e)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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