Aleksander Machniak
a1f679adca
Fixed redundancy in sql caching system and compatibility with Galera Cluster ( #5439 )
...
- Removed redundant 'created' column from cache and cache_shared tables
- Removed use of redundant data records
- Added missing primary keys (dictionary, cache, cache_shared tables)
2016-11-26 09:14:16 +01:00
Aleksander Machniak
e306328340
Fix storing "empty" values in rcube_cache/rcube_cache_shared ( #5519 )
2016-11-16 09:04:24 +01:00
Aleksander Machniak
7e90de4ef5
write_record() should return boolean value
2016-11-12 16:34:11 +01:00
Aleksander Machniak
4e0532808d
Fix bug where it wasn't possible to store more that 2MB objects in memcache/apc ( #5452 )
...
Added memcache_max_allowed_packet and apc_max_allowed_packet settings
2016-10-16 11:19:30 +02:00
Aleksander Machniak
c1c0a0d815
Implemented rcube::sleep() method for disconnecting all external connection in long-running/sleeping scripts
2016-09-21 11:20:43 -04:00
Aleksander Machniak
c478536741
Make SQL selects less expensive in memory for some cases where we fetch big data chunks
2016-06-10 18:45:28 +02:00
Aleksander Machniak
9335f9cede
Reset internal cache index in close()
2015-07-22 06:15:48 -04:00
Aleksander Machniak
a958748947
CS fixes
2015-06-07 15:26:33 +02:00
Aleksander Machniak
a84f0b65dc
Fix undefined variable use after recent changes ( #1490401 )
2015-05-23 11:34:00 +02:00
Aleksander Machniak
b120d42f5b
Improved cache index changes detection (again)
2015-05-14 10:41:00 +02:00
Aleksander Machniak
044c1a0523
Simplified code + some CS fixes
2015-05-14 09:06:57 +02:00
Aleksander Machniak
652e11f82e
Fix missing index update after write() call
2015-05-13 04:46:21 -04:00
Aleksander Machniak
b1e35a685c
Performance: Improve changes detection, so we update index only if needed
2015-05-12 14:33:02 -04:00
Aleksander Machniak
11d5e7c100
Implemented memcache_debug also for session operations
2015-05-12 13:50:02 -04:00
Aleksander Machniak
9ed8584c3e
Count memcache/apc debug lines
2015-05-12 04:14:39 -04:00
Aleksander Machniak
fff8e0f2ae
Fix possible memcache/apc cache data consistency issues ( #1490390 )
...
And removed unused code
2015-05-12 09:09:13 +02:00
Aleksander Machniak
44708ec647
Implemented memcache_debug and apc_debug options for cache operations tracking
2015-05-08 08:51:56 -04:00
Aleksander Machniak
2a31f6dbd7
Reset default db_max_allowed_packet, fix max packet size detection
2015-02-25 21:08:16 +01:00
Aleksander Machniak
81d4ff214e
Fix setting max packet size for DB caches and check packet size also in shared cache
2015-02-19 10:24:09 +01:00
Aleksander Machniak
34a0902089
Use consistent column/table quoting in sql queries
2014-09-12 14:37:51 +02:00
Aleksander Machniak
60b6d7c389
Fix database cache expunge issues ( #1489149 ) - added 'expires' column
2013-06-09 11:07:46 +02:00
Aleksander Machniak
a6b0ca60a4
Fix bug where serialized strings were truncated in PDO::quote() ( #1489142 )
2013-06-02 14:33:11 +02:00
Aleksander Machniak
b3e3422e9f
Fix class name
2013-05-26 11:57:28 +02:00
Aleksander Machniak
00cb22cf92
Expunge all cache instances in shutdown
2013-05-25 15:46:20 +02:00
Aleksander Machniak
50abd55718
Added shared (cross-user) cache
2013-05-25 15:37:46 +02:00