Changeset: 2258d77bd826 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2258d77bd826
Modified Files:
        gdk/gdk_batop.c
Branch: Jul2015
Log Message:

Propagate error.


diffs (13 lines):

diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -915,7 +915,8 @@ BATreplace(BAT *b, BAT *p, BAT *n, bit f
        if (b == NULL || p == NULL || n == NULL || BATcount(n) == 0) {
                return GDK_SUCCEED;
        }
-       void_replace_bat(b, p, n, force);
+       if (void_replace_bat(b, p, n, force) == BUN_NONE)
+               return GDK_FAIL;
        return GDK_SUCCEED;
 }
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to