Skip to content

Inline comments improperly removed during query #332

Open
@ibennetch

Description

@ibennetch

Describe the bug

The query:
select * from /*!i*/nformation_schema.tables;

Executes as if it were:
select * from information_schema.tables;

This is improper.

Expected behavior

MySQL and MariaDB return an error message, this is probably the most expected result. Perhaps a syntax error should be generated from the parser.

Server configuration

  • Operating system: Debian
  • Web server: Apache
  • Database version: MariaDB 10.4.10
  • PHP version: 7.4
  • phpMyAdmin version: 5.0.0

Client configuration

  • Browser: Firefox
  • Operating system: MacOS

This was originally reported by email.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions