Update of /cvsroot/monetdb/sql/src/common
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10320/src/common
Modified Files:
Tag: SQL_2-22
sql_list.mx
Log Message:
fixed bug in list_order. This solves [ 1926074 ] Select with triple where
clause error.
U sql_list.mx
Index: sql_list.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/common/sql_list.mx,v
retrieving revision 1.16
retrieving revision 1.16.2.1
diff -u -d -r1.16 -r1.16.2.1
--- sql_list.mx 27 Jan 2008 15:19:59 -0000 1.16
+++ sql_list.mx 27 Mar 2008 08:14:31 -0000 1.16.2.1
@@ -293,7 +293,7 @@
/* use simple insert sort */
for (n = l->h; n; n = n->next) {
int append = 1;
- for (m = res->h; m; m = m->next) {
+ for (m = res->h; m && append; m = m->next) {
if (cmp(n->data, m->data) > 0) {
list_append_before(res, m, dup(n->data));
append = 0;
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins