diff --git a/src/plugins/accounting_storage/mysql/accounting_storage_mysql.c b/src/plugins/accounting_storage/mysql/accounting_storage_mysql.c index 6525eedfdd01e243b9a7ef29334cfb07d98d3a57..548863a552c3ac11126d964577c8c9eb77b2a722 100644 --- a/src/plugins/accounting_storage/mysql/accounting_storage_mysql.c +++ b/src/plugins/accounting_storage/mysql/accounting_storage_mysql.c @@ -2994,7 +2994,7 @@ extern int acct_storage_p_commit(mysql_conn_t *mysql_conn, bool commit) case ACCT_ADD_WCKEY: case ACCT_MODIFY_WCKEY: case ACCT_REMOVE_WCKEY: - rc = assoc_mgr_update_local_wckeys(object); + rc = assoc_mgr_update_wckeys(object); break; case ACCT_UPDATE_NOTSET: default: @@ -7923,7 +7923,8 @@ extern List acct_storage_p_get_wckeys(mysql_conn_t *mysql_conn, uid_t uid, >= ACCT_ADMIN_OPERATOR) is_admin = 1; else { - assoc_mgr_fill_in_user(mysql_conn, &user, 1); + assoc_mgr_fill_in_user(mysql_conn, &user, + 1, NULL); } } }