Update of /cvsroot/monetdb/pathfinder/compiler/sql
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3794

Modified Files:
        lalg2sql.brg 
Log Message:


Introducing dup_step in SQL generation.


Index: lalg2sql.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/sql/lalg2sql.brg,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- lalg2sql.brg        9 Jul 2007 13:12:12 -0000       1.48
+++ lalg2sql.brg        17 Jul 2007 11:43:47 -0000      1.49
@@ -66,7 +66,6 @@
      bottom-up labeling is backed up here */
   #define CHILD_STATE_LABEL(p,i) ((p)->child_state_label[i])
 
-
   /* if an error occurs, call PFoops */
   #define PANIC(...) PFoops (OOPS_BURG, __VA_ARGS__)
 
@@ -76,7 +75,7 @@
 %start Query
 
 %term serialize      =  1 /**< serialize algebra expression
[...6103 lines suppressed...]
     default:
@@ -5805,12 +5852,12 @@
   if (p->kind == la_empty_frag)
     return select
       (select_list
-       (column_name (sql_special_name_new (sql_col_name)->ident),
-       column_name (sql_special_name_new (sql_col_value)->ident),
-       column_name (sql_special_name_new (sql_col_kind)->ident),
-       column_name (sql_special_name_new (sql_col_level)->ident),
-       column_name (sql_special_name_new (sql_col_size)->ident),
-       column_name (sql_special_name_new (sql_col_pre)->ident),),
+       (COLUMN_SPEC (sql_col_name),
+       COLUMN_SPEC (sql_col_value),
+       COLUMN_SPEC (sql_col_kind),
+       COLUMN_SPEC (sql_col_level),
+       COLUMN_SPEC (sql_col_size),
+       COLUMN_SPEC (sql_col_pre),),
        fragrelation (), NULL, NULL);
 
   PFsql_t *ret = NULL;


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to