GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix https://github.com/phpmyadmin/phpmyadmin/issues/11977 · phpmyadmin/sql-parser@e20ce2e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • Parser.php
    • Statements
      • DropStatement.php
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/Parser.php‎

Copy file name to clipboardExpand all lines: src/Parser.php
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ class Parser
185185
'class' => 'SqlParser\\Components\\JoinKeyword',
186186
'field' => 'join',
187187
),
188+
'ON' => array(
189+
'class' => 'SqlParser\\Components\\Expression',
190+
'field' => 'table',
191+
'options' => array('parseField' => 'table'),
192+
),
188193
'RIGHT JOIN' => array(
189194
'class' => 'SqlParser\\Components\\JoinKeyword',
190195
'field' => 'join',
Collapse file

‎src/Statements/DropStatement.php‎

Copy file name to clipboardExpand all lines: src/Statements/DropStatement.php
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class DropStatement extends Statement
5959
'_OPTIONS' => array('_OPTIONS', 1),
6060
// Used for select expressions.
6161
'DROP_' => array('DROP', 1),
62+
'ON' => array('ON', 3),
6263
);
6364

6465
/**
@@ -67,4 +68,11 @@ class DropStatement extends Statement
6768
* @var Expression[]
6869
*/
6970
public $fields;
71+
72+
/**
73+
* Table of the dropped index.
74+
*
75+
* @var Expression
76+
*/
77+
public $table;
7078
}

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.