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

ALTER statement is not constructed properly by the parser #33

Closed
007durgesh219 opened this issue Feb 18, 2016 · 1 comment
Closed

ALTER statement is not constructed properly by the parser #33

007durgesh219 opened this issue Feb 18, 2016 · 1 comment

Comments

@007durgesh219
Copy link
Contributor

  • var_dump of parser for the following query ALTER VIEW viewname AS SELECT * FROM tablename

alterview

Here AlterStatement is NULL

  • var_dump of ALTER TABLE abc ADD COLUMN a INT

altertable

Here it won't detect the table name properly

Fix is required for the Tracker phpmyadmin/phpmyadmin#11966

@elrossco22
Copy link
Contributor

@007durgesh219 I'm happy to look into this

007durgesh219 added a commit to 007durgesh219/sql-parser that referenced this issue Feb 19, 2016
@udan11 udan11 closed this as completed in 65a34d4 Feb 21, 2016
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

No branches or pull requests

2 participants