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

Don't unclock baskets[0]. It's never used, hence never locked


diffs (15 lines):

diff --git a/sql/backends/monet5/sql_basket.c b/sql/backends/monet5/sql_basket.c
--- a/sql/backends/monet5/sql_basket.c
+++ b/sql/backends/monet5/sql_basket.c
@@ -515,10 +515,8 @@ BSKTunlock(Client cntxt, MalBlkPtr mb, M
        (void) mb;
 
        idx = BSKTlocate(sch, tbl);
-       if( idx ==0) {
-               MT_lock_unset(&baskets[idx].lock);
+       if( idx ==0)
                throw(SQL,"basket.lock",SQLSTATE(3F000) "Stream table %s.%s not 
accessible\n",sch,tbl);
-       }
 
        /* this is also the place to administer the size of the basket */
        b = BSKTbindColumn(sch,tbl, baskets[idx].cols[0]->base.name);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to