From 2a31f6dbd7c63232918d175fb2879682217946ea Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 25 Feb 2015 15:08:16 -0500
Subject: [PATCH] Reset default db_max_allowed_packet, fix max packet size detection

---
 config/defaults.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/defaults.inc.php b/config/defaults.inc.php
index edc5b32..50c392d 100644
--- a/config/defaults.inc.php
+++ b/config/defaults.inc.php
@@ -55,7 +55,7 @@
 // Use them if your server is not MySQL or for better performance.
 // For example Roundcube uses max_allowed_packet value (in bytes)
 // which limits query size for database cache operations.
-$config['db_max_allowed_packet'] = 23423440;
+$config['db_max_allowed_packet'] = null;
 
 
 // ----------------------------------

--
Gitblit v1.9.1