mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
improve stringbuilder needed size estimation
This commit is contained in:
@@ -294,7 +294,7 @@ namespace OpenSim.Data.MySQL
|
||||
string sqlparams;
|
||||
if (uuids.Count > 1)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder(uuids.Count * 37);
|
||||
StringBuilder sb = new StringBuilder(uuids.Count * 39 + 5);
|
||||
sb.Append("IN (");
|
||||
for(int i = 0; i < uuids.Count - 1; ++i )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user