Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Labels
@cjhewett

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /