Changeset: d934b3270579 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d934b3270579
Modified Files:
        sql/backends/monet5/sql.c
Branch: Apr2019
Log Message:

Missing BBPunfix call.


diffs (15 lines):

diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -1967,8 +1967,10 @@ SQLtid(Client cntxt, MalBlkPtr mb, MalSt
        if (store_funcs.count_del(tr, t)) {
                BAT *d = store_funcs.bind_del(tr, t, RD_INS);
                BAT *diff;
-               if (d == NULL)
+               if (d == NULL) {
+                       BBPunfix(tids->batCacheid);
                        throw(SQL,"sql.tid", SQLSTATE(45002) "Can not bind 
delete column");
+               }
 
                diff = BATdiff(tids, d, NULL, NULL, false, BUN_NONE);
                BBPunfix(d->batCacheid);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to