mirror of https://github.com/citusdata/citus.git
Fix call with constant instead of var
thanks to the careful review by @eaydingolpull/7918/head
parent
79428172cf
commit
1e39a2b063
|
@ -2452,7 +2452,7 @@ EnsureTablePermissions(Oid relationId, AclMode mode, AclMaskHow mask)
|
|||
* right but user is still allowed to lock table as needed. PostgreSQL will
|
||||
* still enforce ACL later so it's safe.
|
||||
*/
|
||||
aclresult = pg_attribute_aclcheck_all(relationId, GetUserId(), mode, ACLMASK_ANY);
|
||||
aclresult = pg_attribute_aclcheck_all(relationId, GetUserId(), mode, mask);
|
||||
|
||||
if (aclresult != ACLCHECK_OK)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue