diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLUserData.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs index 78d1092..7a44d3c 100644 --- a/OpenSim/Data/MySQL/MySQLUserData.cs +++ b/OpenSim/Data/MySQL/MySQLUserData.cs | |||
@@ -162,6 +162,15 @@ namespace OpenSim.Data.MySQL | |||
162 | m_usersTableName = "users"; | 162 | m_usersTableName = "users"; |
163 | m_userFriendsTableName = "userfriends"; | 163 | m_userFriendsTableName = "userfriends"; |
164 | database = new MySQLManager(m_connectString); | 164 | database = new MySQLManager(m_connectString); |
165 | |||
166 | m_log.Info("Creating " + m_maxConnections + " DB connections..."); | ||
167 | for (int i = 0; i < m_maxConnections; i++) | ||
168 | { | ||
169 | m_log.Info("Connecting to DB... [" + i + "]"); | ||
170 | MySQLSuperManager msm = new MySQLSuperManager(); | ||
171 | msm.Manager = new MySQLManager(m_connectString); | ||
172 | m_dbconnections.Add(i, msm); | ||
173 | } | ||
165 | } | 174 | } |
166 | 175 | ||
167 | // This actually does the roll forward assembly stuff | 176 | // This actually does the roll forward assembly stuff |