-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92305 from cockroachdb/blathers/backport-release-…
…22.2-92300 Fixes #82921
- Loading branch information
Showing
3 changed files
with
54 additions
and
27 deletions.
There are no files selected for viewing
36 changes: 18 additions & 18 deletions
36
pkg/ccl/benchccl/rttanalysisccl/testdata/benchmark_expectations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
exp,benchmark | ||
15,AlterPrimaryRegion/alter_empty_database_alter_primary_region | ||
19,AlterPrimaryRegion/alter_empty_database_set_initial_primary_region | ||
15,AlterPrimaryRegion/alter_populated_database_alter_primary_region | ||
20,AlterPrimaryRegion/alter_populated_database_set_initial_primary_region | ||
13,AlterRegions/alter_empty_database_add_region | ||
15,AlterRegions/alter_empty_database_drop_region | ||
13,AlterRegions/alter_populated_database_add_region | ||
15,AlterRegions/alter_populated_database_drop_region | ||
15,AlterSurvivalGoals/alter_empty_database_from_region_to_zone | ||
15,AlterSurvivalGoals/alter_empty_database_from_zone_to_region | ||
35,AlterSurvivalGoals/alter_populated_database_from_region_to_zone | ||
35,AlterSurvivalGoals/alter_populated_database_from_zone_to_region | ||
16,AlterTableLocality/alter_from_global_to_rbr | ||
16,AlterTableLocality/alter_from_global_to_regional_by_table | ||
12,AlterTableLocality/alter_from_rbr_to_global | ||
12,AlterTableLocality/alter_from_rbr_to_regional_by_table | ||
16,AlterTableLocality/alter_from_regional_by_table_to_global | ||
16,AlterTableLocality/alter_from_regional_by_table_to_rbr | ||
14,AlterPrimaryRegion/alter_empty_database_alter_primary_region | ||
17,AlterPrimaryRegion/alter_empty_database_set_initial_primary_region | ||
14,AlterPrimaryRegion/alter_populated_database_alter_primary_region | ||
18,AlterPrimaryRegion/alter_populated_database_set_initial_primary_region | ||
12,AlterRegions/alter_empty_database_add_region | ||
14,AlterRegions/alter_empty_database_drop_region | ||
12,AlterRegions/alter_populated_database_add_region | ||
14,AlterRegions/alter_populated_database_drop_region | ||
14,AlterSurvivalGoals/alter_empty_database_from_region_to_zone | ||
14,AlterSurvivalGoals/alter_empty_database_from_zone_to_region | ||
34,AlterSurvivalGoals/alter_populated_database_from_region_to_zone | ||
34,AlterSurvivalGoals/alter_populated_database_from_zone_to_region | ||
15,AlterTableLocality/alter_from_global_to_rbr | ||
15,AlterTableLocality/alter_from_global_to_regional_by_table | ||
11,AlterTableLocality/alter_from_rbr_to_global | ||
11,AlterTableLocality/alter_from_rbr_to_regional_by_table | ||
15,AlterTableLocality/alter_from_regional_by_table_to_global | ||
15,AlterTableLocality/alter_from_regional_by_table_to_rbr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
pkg/sql/pgwire/testdata/pgtest/schema_changes_implicit_txn_with_bind
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# This test exercises running schema changes in an implicit transaction using | ||
# the extended protocol with Bind operations. This is a regression test for | ||
# issue #82921. | ||
|
||
send | ||
Query {"String": "CREATE TABLE \"User\"\r\n(\r\n \"UserID\" integer primary key\r\n);"} | ||
---- | ||
|
||
until | ||
ReadyForQuery | ||
---- | ||
{"Type":"CommandComplete","CommandTag":"CREATE TABLE"} | ||
{"Type":"ReadyForQuery","TxStatus":"I"} | ||
|
||
send | ||
Parse {"Query": "ALTER TABLE \"User\" ADD \"SponsorID\" INT NULL;"} | ||
Bind | ||
Execute | ||
Parse {"Query": "CREATE INDEX User_SponsorID_IDX ON \"User\" (\"SponsorID\");"} | ||
Bind | ||
Describe {"ObjectType": "P", "Name": ""} | ||
Execute | ||
Sync | ||
---- | ||
|
||
until | ||
ReadyForQuery | ||
---- | ||
{"Type":"ParseComplete"} | ||
{"Type":"BindComplete"} | ||
{"Type":"CommandComplete","CommandTag":"ALTER TABLE"} | ||
{"Type":"ParseComplete"} | ||
{"Type":"BindComplete"} | ||
{"Type":"NoData"} | ||
{"Type":"CommandComplete","CommandTag":"CREATE INDEX"} | ||
{"Type":"ReadyForQuery","TxStatus":"I"} |