Skip to content

Commit

Permalink
Fixed CORE-6083: USING PLUGIN clause does not work in RECREATE USER
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPeshkoff committed Jun 13, 2019
1 parent e646075 commit 7bed937
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/dsql/DdlNodes.h
Expand Up @@ -2255,6 +2255,16 @@ class DropUserNode : public UserNode
};


template <>
inline RecreateNode<CreateAlterUserNode, DropUserNode, isc_dsql_recreate_user_failed>::
RecreateNode(MemoryPool& p, CreateAlterUserNode* aCreateNode)
: DdlNode(p),
createNode(aCreateNode),
dropNode(p, createNode->name, createNode->plugin)
{
dropNode.silent = true;
}

typedef RecreateNode<CreateAlterUserNode, DropUserNode, isc_dsql_recreate_user_failed>
RecreateUserNode;

Expand Down

0 comments on commit 7bed937

Please sign in to comment.