Update of /cvsroot/monetdb/sql/src/common
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32487/src/common
Modified Files:
sql_list.mx
Log Message:
cleanup nil semantics and has nil code
always output projection (also with out relation)
U sql_list.mx
Index: sql_list.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/common/sql_list.mx,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- sql_list.mx 7 Jan 2009 14:19:29 -0000 1.20
+++ sql_list.mx 14 Sep 2009 18:20:28 -0000 1.21
@@ -45,6 +45,14 @@
return l;
}
+int
+list_empty(list *l)
+{
+ if (l)
+ return list_length(l) == 0;
+ return 1;
+}
+
static void
node_destroy(list *l, node *n)
{
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins