Skip to content
This repository
Browse code

[fix] stdlib: Fixed order of documents in Mongo log.

  • Loading branch information...
commit 02e4ae619b2fe653534e99d4540a694f86a50f77 1 parent a9a94ba
Norman Scaife nrs135 authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  libbase/mongo.ml
2  libbase/mongo.ml
@@ -57,7 +57,7 @@ let docmap b pos len num =
57 57 else
58 58 let size = geti32 b pos in
59 59 if len - pos < size
60   - then idxs
  60 + then List.rev idxs
61 61 else aux (i+1) (pos+size) ((pos,size)::idxs)
62 62 in
63 63 aux 0 pos []

0 comments on commit 02e4ae6

Please sign in to comment.
Something went wrong with that request. Please try again.