Skip to content

Commit

Permalink
Fixed 500 error when DESC syntax is used in query
Browse files Browse the repository at this point in the history
  • Loading branch information
elrossco22 committed Jan 19, 2016
1 parent 4bc4f16 commit 287e8d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class Parser

// MySQL Utility Statements
'DESCRIBE' => 'SqlParser\\Statements\\ExplainStatement',
'DESC' => 'SqlParser\\Statements\\ExplainStatement',
'EXPLAIN' => 'SqlParser\\Statements\\ExplainStatement',
'FLUSH' => '',
'GRANT' => '',
Expand Down

0 comments on commit 287e8d6

Please sign in to comment.