Update of /cvsroot/monetdb/sql/src/server
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25983

Modified Files:
        rel_optimizer.mx rel_select.mx 
Log Message:
GCC 4.3.0 complains about these functions being defined but never used.  Niels 
should check if they can go...

Index: rel_select.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/rel_select.mx,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- rel_select.mx       14 Mar 2008 12:55:17 -0000      1.69
+++ rel_select.mx       21 Mar 2008 14:47:57 -0000      1.70
@@ -155,6 +155,7 @@
        set_subquery(r);
 }
 
+#if 0
 static sql_subtype *
 rel_subtype( sql_rel *r )
 {
@@ -167,6 +168,7 @@
        }
        return NULL;
 }
+#endif
 
 static sql_exp*
 exp_label( sql_exp *e, int nr)

Index: rel_optimizer.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/rel_optimizer.mx,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- rel_optimizer.mx    14 Mar 2008 12:55:16 -0000      1.13
+++ rel_optimizer.mx    21 Mar 2008 14:47:57 -0000      1.14
@@ -241,6 +241,7 @@
        }
 }
 
+#if 0
 static void
 get_tables(mvc *sql, sql_rel *rel, list *tables) 
 {
@@ -269,6 +270,7 @@
                break;
        }
 }
+#endif
 
 static void
 get_relations(sql_rel *rel, list *rels)
@@ -751,6 +753,7 @@
        return rel;
 }
 
+#if 0
 static sql_exp *
 exp_remove_alias(sql_exp *e, list *exps) 
 {
@@ -798,6 +801,7 @@
        }
        return NULL;
 }
+#endif
 
 /*
 static sql_exp *
@@ -807,6 +811,7 @@
 }
 */
 
+#if 0
 /* push the expression down, ie translate colum references from relation f 
into expression of relation t */ 
 static sql_exp *
 exp_push_down(mvc *sql, sql_exp *e, sql_rel *f, sql_rel *t) 
@@ -870,6 +875,7 @@
        }
        return NULL;
 }
+#endif
 
 sql_rel *
 rel_push_select_down(mvc *sql, sql_rel *rel) 


-------------------------------------------------------------------------
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-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to