Changeset: 397ba2136750 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=397ba2136750
Modified Files:
        monetdb5/mal/mal_authorize.c
Branch: headless
Log Message:

Use COLset_str convention


diffs (30 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
@@ -473,7 +473,7 @@
                throw(MAL, "changeUsername", "user '%s' already exists", 
*newuser);
 
        /* ok, just do it! (with force, because sql makes view over it) */
-       COLputString(user,id,*newuser);
+       COLset_str(user,id,*newuser);
        AUTHcommit();
 
        return(MAL_SUCCEED);
@@ -521,7 +521,7 @@
        }
 
        /* ok, just overwrite the password field for this user */
-       COLputString(pass, id, hash);
+       COLset_str(pass, id, hash);
        GDKfree(hash);
        AUTHcommit();
 
@@ -563,7 +563,7 @@
        /* cypher the password */
        rethrow("setPassword", tmp, AUTHcypherValue(&hash, passwd));
        /* ok, just overwrite the password field for this user */
-       COLputString(pass,id,hash);
+       COLset_str(pass,id,hash);
        GDKfree(hash);
        AUTHcommit();
 
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to