Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change | Enclave caching key #1388

Merged
merged 2 commits into from
Jul 20, 2020
Merged

Change | Enclave caching key #1388

merged 2 commits into from
Jul 20, 2020

Conversation

rene-ye
Copy link
Member

@rene-ye rene-ye commented Jul 15, 2020

Added database name to caching key. The new key format is serverName + databaseName + attestationUrl.

Removed an unused package privatate SQLServerConnection getter getScatalog() which returned the same value as the public getter getCatalog.

Changed cache key lookup to occur before calling sp_de because doing so after would cause a new connection to call sp_de with 3 parameters which would create another enclave session.

@rene-ye rene-ye added this to the 8.4.0 milestone Jul 16, 2020
Copy link
Contributor

@lilgreenbird lilgreenbird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add tests

@rene-ye rene-ye merged commit 423be4a into microsoft:dev Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants