Changeset: abf74d33a3b9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=abf74d33a3b9
Modified Files:
monetdb5/mal/mal_authorize.c
Branch: default
Log Message:
Remove assert that prevents a database upgrade.
diffs (31 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
@@ -159,9 +159,6 @@ AUTHinitTables(str *passwd) {
isNew = 0;
}
assert(user);
- if( user->htype != TYPE_void){
- throw(MAL, "initTables", INTERNAL_AUTHORIZATION " authorization
table outdated !");
- }
/* load/create password BAT */
bid = BBPindex("M5system_auth_passwd_v2");
@@ -183,7 +180,7 @@ AUTHinitTables(str *passwd) {
}
assert(pass);
- // automagically convert an old authorization table
+ /* convert an old authorization table */
if (user->htype == TYPE_oid) {
BAT *b;
char name[10];
@@ -225,7 +222,7 @@ AUTHinitTables(str *passwd) {
BBPrename(BBPcacheid(duser), "M5system_auth_deleted");
BATmode(duser, PERSISTENT);
- if (!isNew)
+ if (!isNew)
AUTHcommit();
} else {
duser = BATdescriptor(bid);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list