phpmyadmin / sql-parser

A validating SQL lexer and parser with a focus on MySQL dialect.
https://packagist.org/packages/phpmyadmin/sql-parser
GNU General Public License v2.0
442 stars 102 forks source link

Unrecognized statement type. (near KILL) #556

Closed liviuconcioiu closed 3 months ago

liviuconcioiu commented 7 months ago

Describe the bug

This is a valid query, but it fails parsing it.

KILL 2883486;

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://demo.phpmyadmin.net/QA_5_2/index.php?route=/server/sql
  2. Paste KILL 2883486;
  3. See error

Expected behavior

No error should happen.

Screenshots

kill

Server configuration