Changeset: 2c2ae6622da0 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/2c2ae6622da0
Modified Files:
        sql/backends/monet5/sql_scenario.c
Branch: default
Log Message:

need to have the lock (else we do a double unlock)


diffs (11 lines):

diff --git a/sql/backends/monet5/sql_scenario.c 
b/sql/backends/monet5/sql_scenario.c
--- a/sql/backends/monet5/sql_scenario.c
+++ b/sql/backends/monet5/sql_scenario.c
@@ -398,6 +398,7 @@ SQLprepareClient(Client c, const char *p
 
                if (mvc_trans(m) < 0) {
                        // we have -1 here
+                       MT_lock_set(&sql_contextLock);
                        throw(INVCRED, "checkCredentials", INVCRED_INVALID_USER 
" '%s'", c->username);
                }
 
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to