Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 89c096c

Browse files
committed
Strip whitespace from SQL blocks in the isolation test suite. This is purely
cosmetic, it removes a lot of IMHO ugly whitespace from the expected output.
1 parent 7ce4abf commit 89c096c

12 files changed

+2942
-2942
lines changed

src/test/isolation/expected/classroom-scheduling.out

Lines changed: 120 additions & 120 deletions
Large diffs are not rendered by default.
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
Parsed test spec with 4 sessions
22

33
starting permutation: rx1 wx2 c2 wx3 ry3 wy4 rz4 c4 c3 wz1 c1
4-
step rx1: SELECT * FROM t WHERE id = 1000000;
4+
step rx1: SELECT * FROM t WHERE id = 1000000;
55
id txt
66

77
1000000
8-
step wx2: UPDATE t SET txt = 'b' WHERE id = 1000000;
9-
step c2: COMMIT;
10-
step wx3: UPDATE t SET txt = 'c' WHERE id = 1000000;
11-
step ry3: SELECT * FROM t WHERE id = 500000;
8+
step wx2: UPDATE t SET txt = 'b' WHERE id = 1000000;
9+
step c2: COMMIT;
10+
step wx3: UPDATE t SET txt = 'c' WHERE id = 1000000;
11+
step ry3: SELECT * FROM t WHERE id = 500000;
1212
id txt
1313

1414
500000
15-
step wy4: UPDATE t SET txt = 'd' WHERE id = 500000;
16-
step rz4: SELECT * FROM t WHERE id = 1;
15+
step wy4: UPDATE t SET txt = 'd' WHERE id = 500000;
16+
step rz4: SELECT * FROM t WHERE id = 1;
1717
id txt
1818

1919
1
20-
step c4: COMMIT;
21-
step c3: COMMIT;
22-
step wz1: UPDATE t SET txt = 'a' WHERE id = 1;
20+
step c4: COMMIT;
21+
step c3: COMMIT;
22+
step wz1: UPDATE t SET txt = 'a' WHERE id = 1;
2323
ERROR: could not serialize access due to read/write dependencies among transactions
24-
step c1: COMMIT;
24+
step c1: COMMIT;

0 commit comments

Comments
 (0)