Skip to content

Commit 0a47eaa

Browse files
committed
Ordered flag has moved into 'flags' struct (CDRIVER-893)
1 parent 636659e commit 0a47eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB/BulkWrite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ HashTable *php_phongo_bulkwrite_get_debug_info(zval *object, int *is_temp TSRMLS
315315
add_assoc_null_ex(&retval, ZEND_STRS("collection"));
316316
}
317317

318-
add_assoc_bool_ex(&retval, ZEND_STRS("ordered"), intern->bulk->ordered);
318+
add_assoc_bool_ex(&retval, ZEND_STRS("ordered"), intern->bulk->flags.ordered);
319319
add_assoc_bool_ex(&retval, ZEND_STRS("executed"), intern->bulk->executed);
320320
add_assoc_long_ex(&retval, ZEND_STRS("server_id"), intern->bulk->hint);
321321

0 commit comments

Comments
 (0)