Skip to content

Commit 3338e98

Browse files
derickrjmikola
authored andcommitted
PHPC-716: Support new readConcern level 'linearizable'
1 parent e293f61 commit 3338e98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/MongoDB/ReadConcern.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ PHP_MINIT_FUNCTION(ReadConcern)
201201

202202
zend_declare_class_constant_stringl(php_phongo_readconcern_ce, ZEND_STRL("LOCAL"), ZEND_STRL(MONGOC_READ_CONCERN_LEVEL_LOCAL) TSRMLS_CC);
203203
zend_declare_class_constant_stringl(php_phongo_readconcern_ce, ZEND_STRL("MAJORITY"), ZEND_STRL(MONGOC_READ_CONCERN_LEVEL_MAJORITY) TSRMLS_CC);
204+
zend_declare_class_constant_stringl(php_phongo_readconcern_ce, ZEND_STRL("LINEARIZABLE"), ZEND_STRL(MONGOC_READ_CONCERN_LEVEL_LINEARIZABLE) TSRMLS_CC);
204205

205206
return SUCCESS;
206207
}

0 commit comments

Comments
 (0)