We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 163e5c6 commit 51a5ae2Copy full SHA for 51a5ae2
Database/MongoDB/Internal/Protocol.hs
@@ -309,8 +309,7 @@ callOpMsg pipe request flagBit params = do
309
let (docs, docs') =
310
( fromJust $ cast $ valueAt "nextBatch" doc :: [Document]
311
, fromJust $ cast $ valueAt "nextBatch" doc' :: [Document])
312
- id' = fromJust $ cast $ valueAt "id" doc' :: Int32
313
- (rt, check id' (rt, rep{ sections = docs' ++ docs })) -- todo: avoid (++)
+ (rt, rep{sections= docs' ++ docs}) -- todo: avoid (++)
314
-- Since we use this to process moreToCome messages, we
315
-- know that there will be a nextBatch key in the document
316
_ -> error "Impossible"
0 commit comments