Skip to content

Commit 22aef1c

Browse files
committed
BSONElement::chk() in MongoDB 2.6 doesn't like Timestamp and UTCDateTime _id values in the same collection
1 parent 0e8cf55 commit 22aef1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/cursor/cursor-tailable-003.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $startTime = microtime(true);
3434
echo "Awaiting results...\n";
3535
$it->next();
3636
printf("Waited for %.6f seconds\n", microtime(true) - $startTime);
37-
// Sometimes the cursor will wait for 0.09999 seconds and sometimes it will wait for 0.1000.
37+
// Sometimes the cursor will wait for 0.0099 seconds and sometimes it will wait for 0.01.
3838
?>
3939
===DONE===
4040
<?php exit(0); ?>

tests/writeResult/writeresult-getupsertedids-002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
MongoDB\Driver\WriteResult::getUpsertedIds() with client-generated values
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
5-
<?php NEEDS('STANDALONE'); CLEANUP(STANDALONE); ?>
5+
<?php NEEDS('STANDALONE'); NEEDS_ATLEAST_MONGODB_VERSION(STANDALONE, "3.0"); CLEANUP(STANDALONE); ?>
66
--FILE--
77
<?php
88
require_once __DIR__ . "/../utils/basic.inc";

0 commit comments

Comments
 (0)