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

Don't bail out too early


diffs (19 lines):

diff --git a/monetdb5/modules/mal/oltp.c b/monetdb5/modules/mal/oltp.c
--- a/monetdb5/modules/mal/oltp.c
+++ b/monetdb5/modules/mal/oltp.c
@@ -136,7 +136,6 @@ OLTPlock(Client cntxt, MalBlkPtr mb, Mal
 #ifdef _DEBUG_OLTP_
                mnstr_printf(cntxt->fdout,"#OLTP %6d lock does not cause 
conflict\n", GDKms());
 #endif
-               break;
 
                MT_lock_set(&mal_oltpLock);
                // check if all the locks are available 
@@ -202,7 +201,6 @@ OLTPrelease(Client cntxt, MalBlkPtr mb, 
        if ( oltp_delay == FALSE )
                return MAL_SUCCEED;
 
-       MT_sleep_ms(LOCKDELAY); // testing
        MT_lock_set(&mal_oltpLock);
 #ifdef _DEBUG_OLTP_
        mnstr_printf(cntxt->fdout,"#OLTP %6d release the locks %d:", GDKms(), 
cntxt->idx);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to