mirror of
https://github.com/php-win-ext/php-memcached.git
synced 2026-03-24 00:52:18 +01:00
Fixed test (tests/experimental/setmulti_badserialize.phpt)
This commit is contained in:
@@ -1786,7 +1786,7 @@ static void php_memc_setMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_ke
|
||||
}
|
||||
|
||||
if (!s_memc_write_zval (intern, MEMC_OP_SET, server_key, str_key, value, expiration)) {
|
||||
php_error_docref(NULL, E_WARNING, "failed to set key %s", str_key->val);
|
||||
php_error_docref(NULL, E_WARNING, "failed to set key %s", ZSTR_VAL(str_key));
|
||||
}
|
||||
|
||||
if (!skey) {
|
||||
|
||||
@@ -42,6 +42,6 @@ try {
|
||||
var_dump($m->getByKey('kef', 'foo'));
|
||||
|
||||
--EXPECT--
|
||||
|
||||
Memcached::setMultiByKey(): failed to set key foo
|
||||
1234
|
||||
int(10)
|
||||
|
||||
Reference in New Issue
Block a user