| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The only time $db is needed in cache drivers is to navigate the
result set in sql_save. Pass it as a parameter in that function.
PHPBB3-11037
|
|
|
|
| |
PHPBB3-10103
|
|
|
|
| |
PHPBB3-10103
|
|
|
|
| |
PHPBB3-9983
|
|
|
|
|
|
|
|
|
|
|
| |
In order to not overwrite data in default redis store, at least
one of redis host or post must be explicitly specified.
Redis cache driver constructor has been modified to accept
host and port as parameters. This was not added to public API
as there are more parameters being passed via global constants.
PHPBB3-9983
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* bantu/ticket/10875:
[ticket/10875] tests/cache/cache_test.php: Use single quotes where possible.
[ticket/10875] Test for null cache driver and sql cache.
[ticket/10875] Revise sql cache test.
[ticket/10875] Must return query result on failure.
[ticket/10875] More documentation.
[ticket/10875] Spelling fix.
[ticket/10875] Add docblocks for phpbb_cache_driver_interface
[ticket/10875] Add comment about cache's sql_load() method.
[ticket/10875] Fix logic in phpbb_cache_driver_file::sql_save().
[ticket/10875] Fix phpbb_mock_cache::sql_save() to return $query_result.
[ticket/10875] Fix return value of phpbb_cache_driver_null::sql_save().
[ticket/10875] Remove useless assignment from phpbb_cache_driver_memory.
|
| |
| |
| |
| | |
PHPBB3-10875
|
| |
| |
| |
| | |
PHPBB3-10875
|
| |
| |
| |
| | |
PHPBB3-10875
|
| |
| |
| |
| | |
PHPBB3-10875
|
| |
| |
| |
| | |
PHPBB3-10875
|
| |
| |
| |
| |
| |
| |
| |
| | |
Previously (develop-olympus) $query_result was passed via reference into
sql_save(). Now the (possibly changed) result is returned by value.
Adjust logic to take this change into account correctly.
PHPBB3-10875
|
| |
| |
| |
| |
| |
| |
| | |
phpbb_cache_driver_null::sql_save() has to return $query_result as is instead
of null.
PHPBB3-10875
|
| |
| |
| |
| |
| |
| |
| | |
sql_save() no longer takes $query_result as a reference, thus this assignment
is a no-op.
PHPBB3-10875
|
| |
| |
| |
| |
| | |
* develop-olympus:
[ticket/11227] @return void -> @return null in develop-olympus.
|
| |
| |
| |
| | |
PHPBB3-10864
|
| |
| |
| |
| |
| |
| |
| | |
Previously it was matching against only container*, checking for the
underscore is consistent with the other checks.
PHPBB3-11199
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 303fc646adf9104d7c82cf8bcebbc8fc0d328624, reversing
changes made to 9c28470ad7b45c10ce3a32065650e4b17f9f27ea.
The correct fix should be to alter the container file name to start with
container_ prefix.
PHPBB3-11199
|
| |
| |
| |
| | |
PHPBB3-11199
|
| |
| |
| |
| | |
PHPBB3-11152
|
|/
|
|
| |
PHPBB3-11152
|
|\
| |
| |
| |
| | |
* github-igorw/ticket/11082:
[ticket/11082] Remove executable permission from redis driver file
|
| |
| |
| |
| | |
PHPBB3-11082
|
|/
|
|
| |
PHPBB3-11083
|
|
|
|
|
|
|
|
| |
Have to return the $query_id from sql_save so that the results can be pulled
Updated cache test to do some basic sql cache testing.
PHPBB3-10875
|
|
|
|
|
|
|
|
|
|
|
| |
The sql_save function cannot take arguments by reference since it is called
by call_user_func_array()
Replace use of isset($cache->sql_rowset[$query_id]) with $cache->sql_exists
Replace $cache->cache_dir with $cache->get_driver()->cache_dir
PHPBB3-10875
|
|
|
|
| |
PHPBB3-9916
|
|
|
|
|
|
|
|
| |
* develop-olympus:
[ticket/10110] Remove multi-server syntax from Redis ACM.
Conflicts:
phpBB/includes/cache/driver/redis.php
|
|
|
|
| |
PHPBB3-10110
|
|
|
|
|
| |
* develop-olympus:
[ticket/10014] Clearly indicate fatal errors in file acm.
|
|
|
|
| |
PHPBB3-9983
|
|
They are now refered to as cache drivers rather than ACM classes. The
additional utility functions from the original cache class have been
moved to the cache_service. The class loader is now instantiated without
a cache instance and passed one as soon as it is constructed to allow
autoloading the cache classes.
PHPBB3-9983
|