Update of /cvsroot/monetdb/sql/src/include
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv8090/src/include
Modified Files:
Tag: Nov2009
sql_list.h
Log Message:
new optimizer to fix (performance) bug. We should always start grouping with
a sorted column (if its part of a group by list).
Index: sql_list.h
===================================================================
RCS file: /cvsroot/monetdb/sql/src/include/sql_list.h,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -d -r1.18 -r1.18.2.1
--- sql_list.h 14 Sep 2009 18:20:28 -0000 1.18
+++ sql_list.h 20 Nov 2009 13:06:35 -0000 1.18.2.1
@@ -81,6 +81,9 @@
extern list *list_sort(list *l, fkeyvalue key, fdup dup);
/* The sort function sorts the list using the key function, which
* translates the list item values into integer keyvalues. */
+/* sometimes more complex functions are needed to compute a key, then
+ * we can pass the key's via an array, to keysort */
+extern list *list_keysort(list *l, int *key, fdup dup);
extern list *list_dup(list *l, fdup dup);
extern list *list_merge(list *l, list *data, fdup dup);
------------------------------------------------------------------------------
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