Commit a874217
Add IF EXISTS support for RENAME COLUMN in ALTER TABLE
RENAME COLUMN IF EXISTS was not being parsed correctly - the IF token
was being treated as the column name. This fix adds proper IF EXISTS
handling for RENAME COLUMN, similar to DROP COLUMN.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 37d572e commit a874217
File tree
3 files changed
+8
-10
lines changed- parser
- testdata
- 03595_alter_if_exists_mixed_commands
- 03595_alter_if_exists_runtime_check
3 files changed
+8
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5899 | 5899 | | |
5900 | 5900 | | |
5901 | 5901 | | |
| 5902 | + | |
| 5903 | + | |
| 5904 | + | |
| 5905 | + | |
| 5906 | + | |
| 5907 | + | |
5902 | 5908 | | |
5903 | 5909 | | |
5904 | 5910 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
0 commit comments