Skip to content

Commit 7970793

Browse files
committed
Merge pull request #746
2 parents 06aeecf + 343f6e2 commit 7970793

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/MongoDB/Command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static bool php_phongo_command_init(php_phongo_command_t *intern, zval *filter,
6464
php_phongo_zval_to_bson(filter, PHONGO_BSON_NONE, intern->bson, NULL TSRMLS_CC);
6565

6666
/* Note: if any exceptions are thrown, we can simply return as PHP will
67-
* invoke php_phongo_query_free_object to destruct the object. */
67+
* invoke php_phongo_query_free_object to destruct the object. */
6868
if (EG(exception)) {
6969
return false;
7070
}

tests/command/cursor-tailable-001.phpt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
MongoDB\Driver\Cursor tailable iteration with awaitData and maxAwaitTimeMS options
2+
MongoDB\Driver\Command tailable cursor iteration with maxAwaitTimeMS option
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
55
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
@@ -27,8 +27,6 @@ $command = new MongoDB\Driver\Command([
2727
'pipeline' => $pipeline,
2828
'cursor' => ['batchSize' => 0],
2929
], [
30-
'tailable' => true,
31-
'awaitData' => true,
3230
'maxAwaitTimeMS' => 100,
3331
]);
3432

0 commit comments

Comments
 (0)