diff --git a/Arma2NETMySQLPlugin/SQL.cs b/Arma2NETMySQLPlugin/SQL.cs index 3230e1f..1088b75 100644 --- a/Arma2NETMySQLPlugin/SQL.cs +++ b/Arma2NETMySQLPlugin/SQL.cs @@ -28,7 +28,7 @@ protected Boolean validLength(string[][] check, int max_length) * callExtension is the method that is used by Arma2NET to pass information between itself and Arma2 * callExtension has a size limit for the max amount of data that can be passed: * http://community.bistudio.com/wiki/Extensions#A_few_technical_considerations - * The limit is 4 Kilobytes + * The limit is 16 Kilobytes (for Arma 2 beta 97299) * One character = one byte * The Wiki notes that this size limit could change through future patches. * https://dev-heaven.net/issues/25915 @@ -37,7 +37,7 @@ protected Boolean validLength(string[][] check, int max_length) * "From version 1.5, Arma2NET supports plugins requiring the maximum result size as an argument to the Run method. * You can use this to ensure that a plugin won't return a result that is too long for Arma 2 to handle." * - * In Arma2NET, 4095 characters is the limit + * In Arma2NET, 16383 characters is the limit * The last character is reserved for null * */ diff --git a/ReadMe.html b/ReadMe.html index c78ee60..0cc7282 100644 --- a/ReadMe.html +++ b/ReadMe.html @@ -180,7 +180,7 @@

Contents

Arma2NETMySQL Plugin uses the callExtension function, however, there are some technical considerations as part of this.

-

Returning results in Arma 2 beta 97299 has a limit of 16384 (16 KB) characters. If you try to run a query that will return a result longer than 16384 characters, +

Returning results in Arma 2 beta 97299 has a limit of 16383 (~16 KB) characters. If you try to run a query that will return a result longer than 16384 characters, it will return the string "TooLong". Then you know you will need to limit the number of results that are returned. In MySQL, you can use the limit parameter, or in SQLite, the limit parameter. This is a limitation of