Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit a716733

Browse files
committed
Fixed HHVM-157: The Ghost Bug
1 parent 4590f6c commit a716733

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bson.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ bool hippo_bson_visit_array(const bson_iter_t *iter __attribute__((unused)), con
521521
BsonToVariantConverter converter(bson_get_data(v_array), v_array->len, state->options);
522522
converter.convert(&array_v);
523523

524-
std::cerr << key << "\n";
525524
state->zchild.add(String::FromCStr(key), array_v);
526525

527526
return false;

ext_mongodb.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public function __debugInfo()
7979
}
8080
}
8181

82+
<<__NativeData("MongoDBDriverWriteResult")>>
8283
final class WriteResult {
8384
private $nUpserted = 0;
8485
private $nMatched = 0;
@@ -701,6 +702,7 @@ final class MinKey implements Type, \Serializable
701702
use DenySerialization;
702703
}
703704

705+
<<__NativeData("MongoDBBsonObjectID")>>
704706
final class ObjectID implements Type, \Serializable
705707
{
706708
use DenySerialization;

0 commit comments

Comments
 (0)