Changeset: d35ece8a2fc0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d35ece8a2fc0
Modified Files:
        monetdb5/modules/mal/tokenizer.c
Branch: default
Log Message:

Get rid of unnecessary call to BATkey.


diffs (19 lines):

diff --git a/monetdb5/modules/mal/tokenizer.c b/monetdb5/modules/mal/tokenizer.c
--- a/monetdb5/modules/mal/tokenizer.c
+++ b/monetdb5/modules/mal/tokenizer.c
@@ -261,7 +261,6 @@ TKNZRappend(oid *pos, str *s)
                                GDKfree(url);
                                throw(MAL, "tokenizer.append", MAL_MALLOC_FAIL);
                        }
-                       BATkey(bVal, FALSE);
                        BATseqbase(bVal, 0);
                        
                        tokenBAT[i].val = bVal;
@@ -288,7 +287,6 @@ TKNZRappend(oid *pos, str *s)
                                GDKfree(url);
                                throw(MAL, "tokenizer.append", MAL_MALLOC_FAIL);
                        }
-                       BATkey(bIdx, FALSE);
                        BATseqbase(bIdx, 0);
                        
                        tokenBAT[i].idx = bIdx;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to