* Fix for Mantis #2087, Standalone MySQL broken with threading improvements. (Didnt realise this code was being shared with the gridservers)
parent
b63922dcfe
commit
e471a33961
|
@ -162,6 +162,15 @@ namespace OpenSim.Data.MySQL
|
||||||
m_usersTableName = "users";
|
m_usersTableName = "users";
|
||||||
m_userFriendsTableName = "userfriends";
|
m_userFriendsTableName = "userfriends";
|
||||||
database = new MySQLManager(m_connectString);
|
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
|
// This actually does the roll forward assembly stuff
|
||||||
|
|
Loading…
Reference in New Issue