18 Oct
2015
18 Oct
'15
3:08 p.m.
On Oct 18, 2015, at 14:30, Niels Nes commits@monetdb.org wrote:
Changeset: d1da7aeae75e for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d1da7aeae75e Modified Files: sql/server/sql_privileges.c Branch: Jul2015 Log Message:
fixed problem with table privileges
What’s the problem? The diff is easy to read, but what’s the symptom of the problem at, say, SQL level? Thanks!
Jennie
diffs (12 lines):
diff --git a/sql/server/sql_privileges.c b/sql/server/sql_privileges.c --- a/sql/server/sql_privileges.c +++ b/sql/server/sql_privileges.c @@ -467,7 +467,7 @@ sql_grantable_(mvc *m, int grantorid, in int priv;
(void) sub;
- for (priv = 1; priv < privs; priv <<= 1) {
- for (priv = 1; priv <= privs; priv <<= 1) { if (!(priv & privs)) continue; rid = table_funcs.column_find_row(m->session->tr, priv_obj, &obj_id, priv_auth, &grantorid, priv_priv, &priv, NULL);
checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list