Skip to content

Commit daf7112

Browse files
committed
logictest: make one query in show_ranges deterministic
Two rows have the same `range_id` which was previously the only column in ORDER BY clause, so we include an extra column to make the order deterministic. Release note: None
1 parent 832527c commit daf7112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sql/logictest/testdata/logic_test/show_ranges

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ start_key end_key raw_start_key raw_end_key range_id schema_name table_nam
268268
query TTITTITT colnames
269269
SELECT start_key, end_key, range_id, schema_name, table_name, table_id, table_start_key, table_end_key
270270
FROM [SHOW RANGES WITH TABLES]
271-
ORDER BY range_id
271+
ORDER BY range_id, table_id
272272
----
273273
start_key end_key range_id schema_name table_name table_id table_start_key table_end_key
274274
/Table/72 /Table/106/1/10 74 public t 106 /Table/106 /Table/106/1/10

0 commit comments

Comments
 (0)