We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b8d4f7 commit 4a79ba6Copy full SHA for 4a79ba6
1 file changed
php_memcached.c
@@ -868,6 +868,7 @@ zend_bool s_compress_value (php_memc_compression_type compression_type, zend_str
868
869
/* This means the value was too small to be compressed, still a success */
870
if (ZSTR_LEN(payload) < (compressed_size * MEMC_G(compression_factor))) {
871
+ MEMC_VAL_DEL_FLAG(*flags, MEMC_VAL_COMPRESSION_FASTLZ | MEMC_VAL_COMPRESSION_ZLIB);
872
efree (buffer);
873
return 1;
874
}
0 commit comments