Commit 430cb17
committed
Fix ALTER DATABASE statement handling
- Add UseCurrent field to AlterDatabaseRemoveFileGroupStatement
- Differentiate READONLY/READWRITE (old syntax) from READ_ONLY/READ_WRITE
- READONLY -> ReadOnlyOld
- READ_ONLY -> ReadOnly
- READWRITE -> ReadWriteOld
- READ_WRITE -> ReadWrite
- Always output UseCurrent in AlterDatabaseModifyFileGroupStatement
- Update PhaseOne tests to include new fields1 parent c86de0b commit 430cb17
7 files changed
Lines changed: 17 additions & 8 deletions
File tree
- ast
- parser
- testdata
- PhaseOne_AlterDatabaseModifyFilegroup1StatementTest
- PhaseOne_AlterDatabaseModifyFilegroup2StatementTest
- PhaseOne_AlterDatabaseModifyFilegroup3StatementTest
- PhaseOne_AlterDatabaseRemoveFilegroupStatementTest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6331 | 6331 | | |
6332 | 6332 | | |
6333 | 6333 | | |
6334 | | - | |
6335 | | - | |
6336 | | - | |
6337 | | - | |
| 6334 | + | |
6338 | 6335 | | |
6339 | 6336 | | |
6340 | 6337 | | |
| |||
6380 | 6377 | | |
6381 | 6378 | | |
6382 | 6379 | | |
| 6380 | + | |
6383 | 6381 | | |
6384 | 6382 | | |
6385 | 6383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1580 | 1580 | | |
1581 | 1581 | | |
1582 | 1582 | | |
1583 | | - | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
1584 | 1587 | | |
1585 | 1588 | | |
1586 | | - | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
1587 | 1593 | | |
1588 | 1594 | | |
1589 | 1595 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments