[go: nahoru, domu]

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

Linter doesn't recognize CREATE TABLE new_tbl SELECT * FROM orig_tbl; syntax #12109

Closed
AlexeyDemidov opened this issue Mar 19, 2016 · 2 comments
Assignees
Labels
Bug A problem or regression with an existing feature parser
Milestone

Comments

@AlexeyDemidov
Copy link

Steps to reproduce

  1. Open SQL tab
  2. Enter CREATE TABLE new_tbl SELECT * FROM orig_tbl;

Expected behaviour

No warnings should be shown

Actual behaviour

Linter shows two warnings

Linter Warnings

Server configuration

Operating system:

Web server:

Database:

PHP version:

phpMyAdmin version:

4.5.5.1, also reproducible on demo.phpmyadmin.net

Client configuration

Browser:

Operating system:

@ibennetch
Copy link
Member

This appears to be present on QA_4_6 and master as well.

@nijel nijel added Bug A problem or regression with an existing feature parser labels Mar 19, 2016
@nijel
Copy link
Contributor
nijel commented Mar 19, 2016

Indeed, still bug with latest parser:

#1: An opening bracket was expected. (near "SELECT" at position 21)
#2: At least one column definition was expected. (near " " at position 20)

@nijel nijel self-assigned this Mar 19, 2016
@nijel nijel added this to the 4.6.0 milestone Mar 19, 2016
nijel added a commit that referenced this issue Mar 19, 2016
- issue #12109 Fixed parsing of CREATE TABLE [AS] SELECT

Signed-off-by: Michal Čihař <michal@cihar.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature parser
Projects
None yet
Development

No branches or pull requests

3 participants