Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 338f6ce

Browse files
committed
Merge pull request #741
2 parents 650335b + 2802dce commit 338f6ce

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

‎php_phongo.c‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2901,6 +2901,22 @@ PHP_MINFO_FUNCTION(mongodb)
29012901
php_info_print_table_row(2, "libmongoc SASL", "disabled");
29022902
#endif
29032903

2904+
#ifdef MONGOC_ENABLE_COMPRESSION
2905+
php_info_print_table_row(2, "libmongoc compression", "enabled");
2906+
# ifdef MONGOC_ENABLE_COMPRESSION_SNAPPY
2907+
php_info_print_table_row(2, "libmongoc compression snappy", "enabled");
2908+
# else
2909+
php_info_print_table_row(2, "libmongoc compression snappy", "disabled");
2910+
# endif
2911+
# ifdef MONGOC_ENABLE_COMPRESSION_ZLIB
2912+
php_info_print_table_row(2, "libmongoc compression zlib", "enabled");
2913+
# else
2914+
php_info_print_table_row(2, "libmongoc compression zlib", "disabled");
2915+
# endif
2916+
#else
2917+
php_info_print_table_row(2, "libmongoc compression", "disabled");
2918+
#endif
2919+
29042920
php_info_print_table_end();
29052921

29062922
DISPLAY_INI_ENTRIES();

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /