File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,8 @@ let test_stress n nb_loop =
198
198
199
199
(* test 5 *)
200
200
201
+ (* * Various tests make accesses in random order to exercise the internal splay
202
+ tree based transaction log handling. *)
201
203
let in_place_shuffle array =
202
204
let n = Array. length array in
203
205
for i = 0 to n - 2 do
@@ -247,16 +249,6 @@ let test_presort_and_is_in_log_xt () =
247
249
248
250
let locs = Array. init n_locs (fun _ -> Loc. make 0 ) in
249
251
250
- let in_place_shuffle array =
251
- let n = Array. length array in
252
- for i = 0 to n - 2 do
253
- let j = Random. int (n - i) + i in
254
- let t = array .(i) in
255
- array .(i) < - array .(j);
256
- array .(j) < - t
257
- done
258
- in
259
-
260
252
let thread () =
261
253
let locs = Array. copy locs in
262
254
Random. self_init () ;
You can’t perform that action at this time.
0 commit comments