Update of /cvsroot/monetdb/sql/src/storage/bat
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19756/src/storage/bat
Modified Files:
bat_storage.mx
Log Message:
the relational version now does use the hash indices on selects
U bat_storage.mx
Index: bat_storage.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/bat/bat_storage.mx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- bat_storage.mx 14 May 2008 20:03:20 -0000 1.14
+++ bat_storage.mx 14 May 2008 20:18:29 -0000 1.15
@@ -559,7 +559,7 @@
bat_destroy(b);
}
}
- if (ni->type == unique &&
+ if (ni->type == hash_idx &&
ni->key != NULL && list_length(ni->key->columns)==1) {
sql_kc *c = ni->columns->h->data;
BAT *b = bind_col(tr->parent, c->c, RDONLY);
-------------------------------------------------------------------------
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