Changeset: 30a21badbb47 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=30a21badbb47
Modified Files:
        sql/backends/monet5/sql_user.c
Branch: default
Log Message:

create_user: fix inversed logic preventing any sql user creation


diffs (12 lines):

diff --git a/sql/backends/monet5/sql_user.c b/sql/backends/monet5/sql_user.c
--- a/sql/backends/monet5/sql_user.c
+++ b/sql/backends/monet5/sql_user.c
@@ -106,7 +106,7 @@ monet5_create_user(ptr _mvc, str user, s
 
        if (!enc) {
                pwd = mcrypt_BackendSum(passwd, strlen(passwd));
-               if (pwd != NULL) {
+               if (pwd == NULL) {
                        BBPunfix(bid);
                        throw(MAL, "sql.create_user", "crypt backend hash not 
found");
                }
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to