Skip to content

Commit 3e4e11a

Browse files
apkardongxinEric
authored andcommitted
Resolves #84: Cursor ID should always be long (#125)
1 parent e01838f commit 3e4e11a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ExtCmd.actor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ struct ListIndexesCmd {
13191319
// clang-format off
13201320
reply->addDocument(BSON(
13211321
"cursor" << BSON(
1322-
"id" << 0 <<
1322+
"id" << (long long) 0 <<
13231323
"ns" << msg->ns.first + ".$cmd.listIndexes." + msg->ns.second <<
13241324
"firstBatch" << indexList.arr()) <<
13251325
"ok" << 1.0

0 commit comments

Comments
 (0)