aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLUserData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLUserData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLUserData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs
index 42983b1..81acbfb 100644
--- a/OpenSim/Data/MySQL/MySQLUserData.cs
+++ b/OpenSim/Data/MySQL/MySQLUserData.cs
@@ -79,7 +79,7 @@ namespace OpenSim.Data.MySQL
79 m_lastConnect++; 79 m_lastConnect++;
80 80
81 // Overflow protection 81 // Overflow protection
82 if(m_lastConnect == int.MaxValue) 82 if (m_lastConnect == int.MaxValue)
83 m_lastConnect = 0; 83 m_lastConnect = 0;
84 84
85 MySQLSuperManager x = m_dbconnections[m_lastConnect%m_maxConnections]; 85 MySQLSuperManager x = m_dbconnections[m_lastConnect%m_maxConnections];