Skip to content

Commit 8d70199

Browse files
committed
Add micro-optimization tip for the future
1 parent d2326b7 commit 8d70199

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

php_phongo.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ bool phongo_execute_write(mongoc_client_t *client, char *namespace, mongoc_bulk_
513513
bson_empty0(&writeresult->write_result.writeErrors)
514514
&& bson_empty0(&writeresult->write_result.writeConcernError)
515515
) {
516+
/* FIXME: Maybe we can look at write_result.error and not pass error at all? */
516517
phongo_throw_exception_from_bson_error_t(&error TSRMLS_CC);
517518
} else {
518519
zval *ex;

0 commit comments

Comments
 (0)