Commit 5f9616c
committed
Add ALTER DATABASE ADD FILE parsing with file declarations and options
- Add FileDeclarations, FileGroup, IsLog, UseCurrent fields to AlterDatabaseAddFileStatement
- Parse file declarations for ADD FILE and ADD LOG FILE
- Parse TO FILEGROUP clause for file group destination
- Handle NAME option with string literal (IdentifierOrValueExpression)
- Only marshal complete file declarations to avoid outputting incomplete parses
- Enable AlterCreateDatabaseFilePath150 and Baselines150_AlterCreateDatabaseFilePath1501 parent 14bfcdd commit 5f9616c
6 files changed
Lines changed: 77 additions & 11 deletions
File tree
- ast
- parser
- testdata
- AlterCreateDatabaseFilePath150
- Baselines150_AlterCreateDatabaseFilePath150
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10016 | 10016 | | |
10017 | 10017 | | |
10018 | 10018 | | |
| 10019 | + | |
| 10020 | + | |
| 10021 | + | |
| 10022 | + | |
| 10023 | + | |
| 10024 | + | |
| 10025 | + | |
| 10026 | + | |
| 10027 | + | |
| 10028 | + | |
| 10029 | + | |
| 10030 | + | |
| 10031 | + | |
| 10032 | + | |
| 10033 | + | |
| 10034 | + | |
| 10035 | + | |
| 10036 | + | |
| 10037 | + | |
| 10038 | + | |
| 10039 | + | |
| 10040 | + | |
10019 | 10041 | | |
10020 | 10042 | | |
10021 | 10043 | | |
| 10044 | + | |
| 10045 | + | |
| 10046 | + | |
10022 | 10047 | | |
10023 | 10048 | | |
10024 | 10049 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1626 | 1626 | | |
1627 | 1627 | | |
1628 | 1628 | | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
1629 | 1644 | | |
1630 | 1645 | | |
1631 | 1646 | | |
| |||
1636 | 1651 | | |
1637 | 1652 | | |
1638 | 1653 | | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
1639 | 1660 | | |
| 1661 | + | |
1640 | 1662 | | |
1641 | 1663 | | |
1642 | 1664 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6404 | 6404 | | |
6405 | 6405 | | |
6406 | 6406 | | |
6407 | | - | |
6408 | | - | |
6409 | | - | |
6410 | | - | |
6411 | | - | |
6412 | | - | |
6413 | | - | |
6414 | | - | |
| 6407 | + | |
| 6408 | + | |
| 6409 | + | |
| 6410 | + | |
| 6411 | + | |
| 6412 | + | |
| 6413 | + | |
| 6414 | + | |
| 6415 | + | |
| 6416 | + | |
| 6417 | + | |
| 6418 | + | |
| 6419 | + | |
| 6420 | + | |
| 6421 | + | |
| 6422 | + | |
| 6423 | + | |
| 6424 | + | |
| 6425 | + | |
| 6426 | + | |
| 6427 | + | |
| 6428 | + | |
| 6429 | + | |
6415 | 6430 | | |
6416 | 6431 | | |
6417 | 6432 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments