Changeset: 79570ade7bae for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=79570ade7bae
Modified Files:
        monetdb5/modules/kernel/algebra.mx
Branch: Jul2012
Log Message:

Layout.


diffs (24 lines):

diff --git a/monetdb5/modules/kernel/algebra.mx 
b/monetdb5/modules/kernel/algebra.mx
--- a/monetdb5/modules/kernel/algebra.mx
+++ b/monetdb5/modules/kernel/algebra.mx
@@ -1773,16 +1773,16 @@ CMDlike(BAT **ret, BAT *b, str s)
        BATaccessBegin(b,USE_HEAD|USE_TAIL,MMAP_SEQUENTIAL);
        if (b->hvarsized) {
                BATloop(b, u, v)
-                       if (like(BUNtvar(bi, u), t, yy))
-                       if (BUNfastins(c, BUNhvar(bi, u), BUNtvar(bi, u)) == 
NULL) {
+                       if (like(BUNtvar(bi, u), t, yy) &&
+                               BUNfastins(c, BUNhvar(bi, u), BUNtvar(bi, u)) 
== NULL) {
                                BBPreclaim(c);
                                GDKfree(t);
                                return GDK_FAIL;
                        }
        } else {
                BATloop(b, u, v)
-                       if (like(BUNtvar(bi, u), t, yy))
-                       if (BUNfastins(c, BUNhloc(bi, u), BUNtvar(bi, u)) == 
NULL) {
+                       if (like(BUNtvar(bi, u), t, yy) &&
+                               BUNfastins(c, BUNhloc(bi, u), BUNtvar(bi, u)) 
== NULL) {
                                BBPreclaim(c);
                                GDKfree(t);
                                return GDK_FAIL;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to