Skip to content

tablesAccess indicates that table was accessed for DROP DATABASE#3

Merged
rshriram merged 1 commit into
envoyproxy:masterfrom
cpakulski:drop-table
Jun 10, 2020
Merged

tablesAccess indicates that table was accessed for DROP DATABASE#3
rshriram merged 1 commit into
envoyproxy:masterfrom
cpakulski:drop-table

Conversation

@cpakulski
Copy link
Copy Markdown

The issue is that for statement:
DROP DATABASE testdb;
tablesAccessed returned that table testdb was accessed.

DropStatement::tablesAccessed does not check the type of drop operation and returns that table was accessed for all drop operations (database, index, view, etc). This fix checks that drop was for table only.

The issue is that for statement:
DROP DATABASE testdb;
tablesAccessed returned that table testdb was accessed.

Signed-off-by: Christoph Pakulski <christoph@tetrate.io>
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.

2 participants