镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

erroneously reports syntax error when calling stored procedure with schema #372

Description

@mousumis

Describe the bug

The phpMyAdmin editor shows errors about tokens when running a call statement for stored procedure with the schema included. Example screenshot is included below

To Reproduce

Steps to reproduce the behavior:

  1. Go to phpMyAdmin
  2. Click on the SQL tab
  3. Run a stored procedure call script which includes a schema
  4. Observe parsing errors though the command is correct and can execute correctly

Expected behavior

No errors should be seen in the editor

Screenshots

image

Server configuration

  • Operating system: CentOS-7
  • Web server:
  • Database version: 10.5.10-MariaDB
  • PHP version: 7.4.24
  • phpMyAdmin version: 4.9.7

Client configuration

  • Browser: Chrome
  • Operating system: MacOS

Additional context

Activity

  1. ibennetch commented on Nov 18, 2021

    @ibennetch
    Member

    I confirm this issue (which actually exists in our sql-parser library):

    ./bin/lint-query --query 'call foo.bar'
    phpmyadmin/phpmyadmin#1: Unexpected token. (near "bar" at position 9)
    
  2. williamdes commented on Feb 7, 2022

    @williamdes
    Member

    Thank you for the report, I moved it in the right place

  3. added this to the 5.8.0 milestone on Apr 21, 2023
  4. changed the title [-]phpMyAdmin Editor erroneously reports syntax error when calling stored procedure with schema[/-] [+]erroneously reports syntax error when calling stored procedure with schema[/+] on Apr 21, 2023
  5. added 2 commits that reference this issue on May 8, 2023
    0515846
    7b1f1e5
  6. self-assigned this
    on May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions