Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit effd143

Browse files
committed
Sort order was fixed.
1 parent 007c4e2 commit effd143

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

src/test/isolation/expected/snapfs_truncate_table.out

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pg_switch_to_snapshot
4141

4242

4343
step s1_sel:
44-
select * from t1;
44+
select * from t1 order by id;
4545

4646
id name
4747

@@ -56,7 +56,7 @@ id name
5656
9 009
5757
10 010
5858
step s2_sel:
59-
select * from t1;
59+
select * from t1 order by id;
6060

6161
id name
6262

@@ -77,12 +77,12 @@ pg_switch_to_snapshot
7777

7878

7979
step s1_sel:
80-
select * from t1;
80+
select * from t1 order by id;
8181

8282
id name
8383

8484
step s2_sel:
85-
select * from t1;
85+
select * from t1 order by id;
8686

8787
id name
8888

@@ -93,7 +93,7 @@ pg_switch_to_snapshot
9393

9494

9595
step s1_sel:
96-
select * from t1;
96+
select * from t1 order by id;
9797

9898
id name
9999

@@ -109,7 +109,7 @@ id name
109109
29 029
110110
30 030
111111
step s2_sel:
112-
select * from t1;
112+
select * from t1 order by id;
113113

114114
id name
115115

@@ -131,7 +131,7 @@ pg_switch_to_snapshot
131131

132132

133133
step s1_sel:
134-
select * from t1;
134+
select * from t1 order by id;
135135

136136
id name
137137

@@ -142,7 +142,7 @@ id name
142142
29 029_update_1
143143
30 030_update_1
144144
step s2_sel:
145-
select * from t1;
145+
select * from t1 order by id;
146146

147147
id name
148148

@@ -194,7 +194,7 @@ pg_set_backend_snapshot
194194

195195

196196
step s1_sel:
197-
select * from t1;
197+
select * from t1 order by id;
198198

199199
id name
200200

@@ -205,7 +205,7 @@ id name
205205
29 029_update_1
206206
30 030_update_1
207207
step s2_sel:
208-
select * from t1;
208+
select * from t1 order by id;
209209

210210
id name
211211

@@ -226,7 +226,7 @@ pg_set_backend_snapshot
226226

227227

228228
step s1_sel:
229-
select * from t1;
229+
select * from t1 order by id;
230230

231231
id name
232232

@@ -237,7 +237,7 @@ id name
237237
29 029_update_1
238238
30 030_update_1
239239
step s2_sel:
240-
select * from t1;
240+
select * from t1 order by id;
241241

242242
id name
243243

@@ -248,7 +248,7 @@ pg_set_backend_snapshot
248248

249249

250250
step s1_sel:
251-
select * from t1;
251+
select * from t1 order by id;
252252

253253
id name
254254

@@ -259,7 +259,7 @@ id name
259259
29 029_update_1
260260
30 030_update_1
261261
step s2_sel:
262-
select * from t1;
262+
select * from t1 order by id;
263263

264264
id name
265265

@@ -281,7 +281,7 @@ pg_set_backend_snapshot
281281

282282

283283
step s1_sel:
284-
select * from t1;
284+
select * from t1 order by id;
285285

286286
id name
287287

@@ -292,7 +292,7 @@ id name
292292
29 029_update_1
293293
30 030_update_1
294294
step s2_sel:
295-
select * from t1;
295+
select * from t1 order by id;
296296

297297
id name
298298

@@ -338,7 +338,7 @@ step s1_upd:
338338
where id > 25;
339339

340340
step s1_sel:
341-
select * from t1;
341+
select * from t1 order by id;
342342

343343
id name
344344

@@ -349,7 +349,7 @@ id name
349349
29 029_update_1
350350
30 030_update_1
351351
step s2_sel:
352-
select * from t1;
352+
select * from t1 order by id;
353353

354354
id name
355355

@@ -366,7 +366,7 @@ pg_recover_to_snapshot
366366

367367

368368
step s1_sel:
369-
select * from t1;
369+
select * from t1 order by id;
370370

371371
id name
372372

@@ -382,7 +382,7 @@ id name
382382
29 029
383383
30 030
384384
step s2_sel:
385-
select * from t1;
385+
select * from t1 order by id;
386386

387387
id name
388388

@@ -404,12 +404,12 @@ pg_recover_to_snapshot
404404

405405

406406
step s1_sel:
407-
select * from t1;
407+
select * from t1 order by id;
408408

409409
id name
410410

411411
step s2_sel:
412-
select * from t1;
412+
select * from t1 order by id;
413413

414414
id name
415415

@@ -420,7 +420,7 @@ pg_recover_to_snapshot
420420

421421

422422
step s1_sel:
423-
select * from t1;
423+
select * from t1 order by id;
424424

425425
id name
426426

@@ -435,7 +435,7 @@ id name
435435
9 009
436436
10 010
437437
step s2_sel:
438-
select * from t1;
438+
select * from t1 order by id;
439439

440440
id name
441441

src/test/isolation/specs/snapfs_truncate_table.spec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ setup {
1010
teardown {
1111
select pg_switch_to_snapshot( 0 );
1212
select pg_remove_snapshot( ( select recent_snapshot from pg_control_snapshot() ) );
13-
DROP TABLE t1;
13+
DROP TABLE IF EXISTS t1;
1414
}
1515

1616
session "s1"
1717
step "s1_sel" {
18-
select * from t1;
18+
select * from t1 order by id;
1919
}
2020

2121
step "s1_ins" {
@@ -48,7 +48,7 @@ step "s1_sb_3" {
4848

4949
session "s2"
5050
step "s2_sel" {
51-
select * from t1;
51+
select * from t1 order by id;
5252
}
5353
step "s2_sb_0" {
5454
select pg_set_backend_snapshot( 0 );

0 commit comments

Comments
 (0)