Yip Ng (JIRA) wrote:

> With the current logic of the statement cache, the compiled grant/revoke 
> statement 
> will not be reused for different connections since I think the equals method 
> is checking if the 
> statement's  compilation schema is the same.  Just an implementation note.

Do not equate different connections with different schemas.

There can be multiple connections that have the same current schema and
they could all have different user identifiers associated with them.

The basic rule is that statements are meant to be shared. The
GRANT/REVOKE statements are sharable and can be used by different
connections.

Dan.



Reply via email to