You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adapter currently available (dummy, file, apc, memcached) of, file, apc on, save method, but the behavior of the data to be overwritten, memcached on, not over, they become new additions.
Maybe, but I think a small mistake, such as implementing a fundamentally different behavior using the same interface, so I think that is wrong, memcached think is right even if the override.
I think that ::set may be the correct method. The function save is quite ambiguous - you want the value to be stored even if the key already exists - but the ::add method on the PHP documents only adds if the value doesn't already exist. I will test to see if the ::set method will add if the value doesn't exist, which is my guess, and thus a set is the correct behavior.
Hi,
Adapter currently available (dummy, file, apc, memcached) of, file, apc on, save method, but the behavior of the data to be overwritten, memcached on, not over, they become new additions.
Maybe, but I think a small mistake, such as implementing a fundamentally different behavior using the same interface, so I think that is wrong, memcached think is right even if the override.
Memcache:: add instead the following Memcache:: set method that I think is right.
http://www.php.net/manual/en/memcache.set.php
=== system/libraries/Cache/drivers/Cache_file.php ===
{{{
!php
}}}
=== system/libraries/Cache/drivers/Cache_apc.php ===
{{{
!php
}}}
=== system/libraries/Cache/drivers/Cache_memcached.php ===
{{{
!php
}}}
The text was updated successfully, but these errors were encountered: