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

Properly flag queries as DROP DATABASE #54

Closed
nijel opened this issue Jul 11, 2016 · 1 comment
Closed

Properly flag queries as DROP DATABASE #54

nijel opened this issue Jul 11, 2016 · 1 comment
Assignees
Labels

Comments

@nijel
Copy link
Contributor

nijel commented Jul 11, 2016

Currently several SQL queries are not properly flagged as DROP DATABASE:

  • DROP SCHEMA IF EXISTS DBNAME
  • DROP /*! DATABASE */ DBNAME
  • DROP DATABASEDBNAME``
@devenbansod
Copy link
Member

The SQL Parser recognizes all of these correctly, but the flags set by SQL parser are not used correctly while flagging these queries.

Moved to phpmyadmin/phpmyadmin#12531

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants