Changeset: dad8d3afcfcb for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=dad8d3afcfcb
Modified Files:
        monetdb5/mal/mal_authorize.c
Branch: Oct2020
Log Message:

Check for embedded, not for in memory.


diffs (21 lines):

diff --git a/monetdb5/mal/mal_authorize.c b/monetdb5/mal/mal_authorize.c
--- a/monetdb5/mal/mal_authorize.c
+++ b/monetdb5/mal/mal_authorize.c
@@ -521,7 +521,7 @@ AUTHaddUser(oid *uid, Client cntxt, cons
                throw(MAL, "addUser", "user '%s' already exists", username);
 
        /* we assume the BATs are still aligned */
-       if (!GDKinmemory()) {
+       if (!GDKembedded()) {
                rethrow("addUser", tmp, AUTHcypherValue(&hash, passwd));
        } else {
                hash = GDKstrdup("hash");
@@ -537,7 +537,7 @@ AUTHaddUser(oid *uid, Client cntxt, cons
        p = AUTHfindUser(username);
 
        /* make the stuff persistent */
-       if (!GDKinmemory())
+       if (!GDKembedded())
                AUTHcommit();
 
        *uid = p;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to