diff options
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLEstateData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/MySQLUserData.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLEstateData.cs b/OpenSim/Data/MySQL/MySQLEstateData.cs index 8eddec6..57151b3 100644 --- a/OpenSim/Data/MySQL/MySQLEstateData.cs +++ b/OpenSim/Data/MySQL/MySQLEstateData.cs | |||
@@ -185,7 +185,7 @@ namespace OpenSim.Data.MySQL | |||
185 | else | 185 | else |
186 | m_FieldMap[name].SetValue(es, false); | 186 | m_FieldMap[name].SetValue(es, false); |
187 | } | 187 | } |
188 | else if(m_FieldMap[name].GetValue(es) is OpenMetaverse.UUID) | 188 | else if (m_FieldMap[name].GetValue(es) is OpenMetaverse.UUID) |
189 | { | 189 | { |
190 | UUID uuid = UUID.Zero; | 190 | UUID uuid = UUID.Zero; |
191 | 191 | ||
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]; |