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

SQL Editor unexpected token with numeric db suffix and table name prefix #19172

Open
ChrisHSandN opened this issue May 17, 2024 · 0 comments
Open

Comments

@ChrisHSandN
Copy link

Describe the bug

A numeric database suffix combined with a numeric table name prefix causes a false positive SQL editor error.

To Reproduce

Steps to reproduce the behavior:

  1. Go to any SQL Editor page
  2. Enter
    INSERT INTO foo_1.2_bar SELECT * FROM foo;
    or
    UPDATE foo_1.2_bar SET a = 1;
  3. See error

Unexpected token (near .2)

Expected behavior

Neither of these should flag as syntax errors

The bug does not affect SELECTs e.g.
SELECT * FROM foo_1.2_bar;

Screenshots

image

Server configuration

  • Operating system: el8
  • Database version: 10.11.7-MariaDB
  • PHP version: 8.3.6
  • phpMyAdmin version: 5.2.1-1

Client configuration

  • Browser: Chrome
  • Operating system: Win 10
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

1 participant