Update of /cvsroot/monetdb/sql/src/include
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv28509/src/include

Modified Files:
        sql_list.h 
Log Message:
propagated changes of Friday Nov 20 2009 - Saturday Nov 28 2009
from the Nov2009 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/11/20 - nielsnes: src/include/sql_list.h,1.18.2.1
  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.19
diff -u -d -r1.18 -r1.19
--- sql_list.h  14 Sep 2009 18:20:28 -0000      1.18
+++ sql_list.h  28 Nov 2009 19:56:39 -0000      1.19
@@ -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

Reply via email to