* Fix for Mantis #2087, Standalone MySQL broken with threading improvements. (Didnt realise this code was being shared with the gridservers)

This commit is contained in:
Adam Frisby
2008-08-30 14:27:28 +00:00
parent b63922dcfe
commit e471a33961

View File

@@ -162,6 +162,15 @@ namespace OpenSim.Data.MySQL
m_usersTableName = "users";
m_userFriendsTableName = "userfriends";
database = new MySQLManager(m_connectString);
m_log.Info("Creating " + m_maxConnections + " DB connections...");
for (int i = 0; i < m_maxConnections; i++)
{
m_log.Info("Connecting to DB... [" + i + "]");
MySQLSuperManager msm = new MySQLSuperManager();
msm.Manager = new MySQLManager(m_connectString);
m_dbconnections.Add(i, msm);
}
}
// This actually does the roll forward assembly stuff