Aleksander Machniak
2015-02-19 81d4ff214e7cf2253c270a8f8de533bebbf88c15
program/lib/Roundcube/rcube_cache.php
@@ -605,8 +605,8 @@
            $this->max_packet = 2097152; // default/max is 2 MB
            if ($this->type == 'db') {
                $value = $this->db->get_variable('max_allowed_packet', 1048500);
                $this->max_packet = min($value, $this->max_packet) - 2000;
                $value = $this->db->get_variable('max_allowed_packet', $this->max_packet);
                $this->max_packet = max($value, $this->max_packet) - 2000;
            }
            else if ($this->type == 'memcache') {
                $stats = $this->db->getStats();