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 management of ALTER USER when used with IDENTIFIED WITH option · phpmyadmin/sql-parser@4f23c41

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • Components
      • AlterOperation.php
    • Contexts
      • ContextMariaDb100000.php
      • ContextMariaDb100100.php
      • ContextMariaDb100200.php
      • ContextMariaDb100300.php
      • ContextMariaDb100400.php
      • ContextMariaDb100500.php
      • ContextMariaDb100600.php
      • ContextMySql50700.php
      • ContextMySql80000.php
  • tests
    • Lexer
      • LexerTest.php
    • data
      • lexer
        • lexSymbolUser1.in
        • lexSymbolUser1.out
        • lexSymbolUser2.in
        • lexSymbolUser2.out
        • lexSymbolUser3.in
        • lexSymbolUser3.out
      • parser
        • parseAlterUser.out
  • tools/contexts
    • MariaDb100000.txt
    • MariaDb100100.txt
    • MariaDb100200.txt
    • MariaDb100300.txt
    • MariaDb100400.txt
    • MariaDb100500.txt
    • MariaDb100600.txt
    • MySql50700.txt
    • MySql80000.txt
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/Components/AlterOperation.php‎

Copy file name to clipboardExpand all lines: src/Components/AlterOperation.php
+8-2Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,10 @@ class AlterOperation extends Component
159159
1,
160160
'var',
161161
],
162-
'BY' => [
162+
163+
'IDENTIFIED WITH' => [
163164
2,
164-
'expr',
165+
'var',
165166
],
166167
'PASSWORD' => [
167168
2,
@@ -172,6 +173,11 @@ class AlterOperation extends Component
172173
'var',
173174
],
174175

176+
'BY' => [
177+
4,
178+
'expr',
179+
],
180+
175181
'ACCOUNT' => 1,
176182
'DEFAULT' => 1,
177183

Collapse file

‎src/Contexts/ContextMariaDb100000.php‎

Copy file name to clipboardExpand all lines: src/Contexts/ContextMariaDb100000.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ class ContextMariaDb100000 extends Context
205205
'FULLTEXT KEY' => 23, 'UNIQUE INDEX' => 23,
206206
'SPATIAL INDEX' => 23,
207207
'FULLTEXT INDEX' => 23,
208+
'IDENTIFIED WITH' => 23,
208209

209210
'X' => 33, 'Y' => 33,
210211
'LN' => 33, 'PI' => 33,
Collapse file

‎src/Contexts/ContextMariaDb100100.php‎

Copy file name to clipboardExpand all lines: src/Contexts/ContextMariaDb100100.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ class ContextMariaDb100100 extends Context
216216
'FULLTEXT KEY' => 23, 'UNIQUE INDEX' => 23,
217217
'SPATIAL INDEX' => 23,
218218
'FULLTEXT INDEX' => 23,
219+
'IDENTIFIED WITH' => 23,
219220

220221
'X' => 33, 'Y' => 33,
221222
'LN' => 33, 'PI' => 33,
Collapse file

‎src/Contexts/ContextMariaDb100200.php‎

Copy file name to clipboardExpand all lines: src/Contexts/ContextMariaDb100200.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ class ContextMariaDb100200 extends Context
216216
'FULLTEXT KEY' => 23, 'UNIQUE INDEX' => 23,
217217
'SPATIAL INDEX' => 23,
218218
'FULLTEXT INDEX' => 23,
219+
'IDENTIFIED WITH' => 23,
219220

220221
'X' => 33, 'Y' => 33,
221222
'LN' => 33, 'PI' => 33,
Collapse file

‎src/Contexts/ContextMariaDb100300.php‎

Copy file name to clipboardExpand all lines: src/Contexts/ContextMariaDb100300.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ class ContextMariaDb100300 extends Context
216216
'FULLTEXT KEY' => 23, 'UNIQUE INDEX' => 23,
217217
'SPATIAL INDEX' => 23,
218218
'FULLTEXT INDEX' => 23,
219+
'IDENTIFIED WITH' => 23,
219220

220221
'X' => 33, 'Y' => 33,
221222
'LN' => 33, 'PI' => 33,
Collapse file

‎src/Contexts/ContextMariaDb100400.php‎

Copy file name to clipboardExpand all lines: src/Contexts/ContextMariaDb100400.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ class ContextMariaDb100400 extends Context
216216
'FULLTEXT KEY' => 23, 'UNIQUE INDEX' => 23,
217217
'SPATIAL INDEX' => 23,
218218
'FULLTEXT INDEX' => 23,
219+
'IDENTIFIED WITH' => 23,
219220

220221
'X' => 33, 'Y' => 33,
221222
'LN' => 33, 'PI' => 33,
Collapse file

‎src/Contexts/ContextMariaDb100500.php‎

Copy file name to clipboardExpand all lines: src/Contexts/ContextMariaDb100500.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ class ContextMariaDb100500 extends Context
216216
'FULLTEXT KEY' => 23, 'UNIQUE INDEX' => 23,
217217
'SPATIAL INDEX' => 23,
218218
'FULLTEXT INDEX' => 23,
219+
'IDENTIFIED WITH' => 23,
219220

220221
'X' => 33, 'Y' => 33,
221222
'LN' => 33, 'PI' => 33,
Collapse file

‎src/Contexts/ContextMariaDb100600.php‎

Copy file name to clipboardExpand all lines: src/Contexts/ContextMariaDb100600.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ class ContextMariaDb100600 extends Context
216216
'FULLTEXT KEY' => 23, 'UNIQUE INDEX' => 23,
217217
'SPATIAL INDEX' => 23,
218218
'FULLTEXT INDEX' => 23,
219+
'IDENTIFIED WITH' => 23,
219220

220221
'X' => 33, 'Y' => 33,
221222
'LN' => 33, 'PI' => 33,
Collapse file

‎src/Contexts/ContextMySql50700.php‎

Copy file name to clipboardExpand all lines: src/Contexts/ContextMySql50700.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ class ContextMySql50700 extends Context
216216
'FULLTEXT KEY' => 23, 'UNIQUE INDEX' => 23,
217217
'SPATIAL INDEX' => 23,
218218
'FULLTEXT INDEX' => 23,
219+
'IDENTIFIED WITH' => 23,
219220

220221
'X' => 33, 'Y' => 33,
221222
'LN' => 33, 'PI' => 33,
Collapse file

‎src/Contexts/ContextMySql80000.php‎

Copy file name to clipboardExpand all lines: src/Contexts/ContextMySql80000.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ class ContextMySql80000 extends Context
217217
'FULLTEXT KEY' => 23, 'UNIQUE INDEX' => 23,
218218
'SPATIAL INDEX' => 23,
219219
'FULLTEXT INDEX' => 23,
220+
'IDENTIFIED WITH' => 23,
220221

221222
'X' => 33, 'Y' => 33,
222223
'LN' => 33, 'PI' => 33,

0 commit comments

Comments
0 (0)
You are visitor 01402520 — 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.