Thank you MrMonkE for a patch that seems to bring the MSSQL data layer up to speed with 0.7.x.

This commit is contained in:
Diva Canto
2011-04-28 07:28:29 -07:00
parent 50aa93137d
commit 7ecf689584
11 changed files with 199 additions and 32 deletions

View File

@@ -56,15 +56,15 @@ namespace OpenSim.Data.MSSQL
string realm, string storeName)
{
m_Realm = realm;
m_ConnectionString = connectionString;
if (storeName != String.Empty)
{
Assembly assem = GetType().Assembly;
m_ConnectionString = connectionString;
using (SqlConnection conn = new SqlConnection(m_ConnectionString))
{
conn.Open();
Migration m = new Migration(conn, assem, storeName);
Migration m = new Migration(conn, GetType().Assembly, storeName);
m.Update();
}