Update of /cvsroot/monetdb/sql/src/storage/bpm
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19756/src/storage/bpm
Modified Files:
bpm_storage.mx
Log Message:
the relational version now does use the hash indices on selects
U bpm_storage.mx
Index: bpm_storage.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/bpm/bpm_storage.mx,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- bpm_storage.mx 24 Apr 2008 20:44:57 -0000 1.10
+++ bpm_storage.mx 14 May 2008 20:18:30 -0000 1.11
@@ -820,7 +820,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