From df5169784ff12a0828130c5a108f7791df1c6fa9 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 5 Jul 2017 12:06:17 -0400 Subject: [PATCH] Fixes error with large querys. (todo: find a better way to do this) --- Framework/Database/DatabaseLoader.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Framework/Database/DatabaseLoader.cs b/Framework/Database/DatabaseLoader.cs index f4f7c74e9..3601dfa3a 100644 --- a/Framework/Database/DatabaseLoader.cs +++ b/Framework/Database/DatabaseLoader.cs @@ -90,6 +90,8 @@ namespace Framework.Database _update.Add(() => { + //Hack used to allow big querys + database.Apply("SET GLOBAL max_allowed_packet=1073741824;"); if (!database.GetUpdater().Update()) { Log.outError(LogFilter.ServerLoading, "Could not update the {0} database, see log for details.", name);