Commit 55eba98
committed
Fix SYSTEM SYNC REPLICA mode parsing (PULL/LIGHTWEIGHT/STRICT)
Add special case handling in parseSystem() to correctly parse SYNC REPLICA
commands with mode suffixes. The mode keywords (PULL, LIGHTWEIGHT, STRICT)
were incorrectly being parsed as table names instead of being included
in the command string.
Now correctly outputs the actual table name (e.g., rmt2) in the Identifier
instead of the mode keyword.
Fixes 5 statements in 02438_sync_replica_lightweight plus 23+ additional
tests across other files (03047_*, 02486_*, 02440_*, 02265_*, etc.).1 parent 69f8e06 commit 55eba98
17 files changed
Lines changed: 45 additions & 91 deletions
File tree
- parser
- testdata
- 00502_custom_partitioning_replicated_zookeeper_long
- 00509_extended_storage_definition_syntax_zookeeper
- 00620_optimize_on_nonleader_replica_zookeeper
- 02265_column_ttl
- 02438_sync_replica_lightweight
- 02440_mutations_finalization
- 02441_alter_delete_and_drop_column
- 02486_truncate_and_unexpected_parts
- 03047_on_fly_mutations_events
- 03047_on_fly_mutations_materialized
- 03047_on_fly_mutations_multiple_updates_rmt
- 03047_on_fly_mutations_projections
- 03047_on_fly_mutations_skip_index
- 03047_on_fly_update_delete
- 03100_lwu_12_sequential_consistency
- 03223_system_tables_set_not_ready
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5881 | 5881 | | |
5882 | 5882 | | |
5883 | 5883 | | |
| 5884 | + | |
| 5885 | + | |
| 5886 | + | |
| 5887 | + | |
| 5888 | + | |
| 5889 | + | |
| 5890 | + | |
| 5891 | + | |
| 5892 | + | |
| 5893 | + | |
| 5894 | + | |
| 5895 | + | |
| 5896 | + | |
| 5897 | + | |
| 5898 | + | |
| 5899 | + | |
| 5900 | + | |
| 5901 | + | |
| 5902 | + | |
| 5903 | + | |
| 5904 | + | |
| 5905 | + | |
| 5906 | + | |
| 5907 | + | |
| 5908 | + | |
| 5909 | + | |
| 5910 | + | |
| 5911 | + | |
| 5912 | + | |
5884 | 5913 | | |
5885 | 5914 | | |
5886 | 5915 | | |
| |||
Lines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 1 | + | |
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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
Lines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 1 | + | |
| 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 | + | |
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
0 commit comments