提交 21606ddc 编写于 作者: S serge-rider

#1712 PG grant/revoke command

上级 9cf52cee
......@@ -79,10 +79,9 @@ public class PostgreCommandGrantPrivilege extends DBECommandAbstract<PostgrePerm
@Override
public DBECommand<?> merge(DBECommand<?> prevCommand, Map<Object, Object> userParams)
{
/*
if (prevCommand instanceof PostgreCommandGrantPrivilege) {
PostgreCommandGrantPrivilege prevGrant = (PostgreCommandGrantPrivilege)prevCommand;
if (prevGrant.schema == schema && prevGrant.permission == permission && prevGrant.privilege == privilege) {
if (prevGrant.permission == permission && prevGrant.privilege == privilege) {
if (prevGrant.grant == grant) {
return prevCommand;
} else {
......@@ -90,7 +89,6 @@ public class PostgreCommandGrantPrivilege extends DBECommandAbstract<PostgrePerm
}
}
}
*/
return super.merge(prevCommand, userParams);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册