Restored mising m_Connection.
parent
d761d1624b
commit
56fb7821ad
|
@ -57,8 +57,8 @@ namespace OpenSim.Data.SQLite
|
||||||
|
|
||||||
using (SqliteConnection dbcon = new SqliteConnection(m_connectionString))
|
using (SqliteConnection dbcon = new SqliteConnection(m_connectionString))
|
||||||
{
|
{
|
||||||
dbcon.Open();
|
//dbcon.Open();
|
||||||
Migration m = new Migration(dbcon, GetType().Assembly, "AuthStore");
|
Migration m = new Migration(m_Connection, GetType().Assembly, "AuthStore");
|
||||||
m.Update();
|
m.Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -149,8 +149,9 @@ namespace OpenSim.Data.SQLite
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
Console.WriteLine(e.ToString());
|
||||||
cmd.Dispose();
|
cmd.Dispose();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -174,8 +175,9 @@ namespace OpenSim.Data.SQLite
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
Console.WriteLine(e.ToString());
|
||||||
cmd.Dispose();
|
cmd.Dispose();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,7 @@ namespace OpenSim.Data.SQLite
|
||||||
{
|
{
|
||||||
protected Object m_lockObject = new Object();
|
protected Object m_lockObject = new Object();
|
||||||
|
|
||||||
|
protected static SqliteConnection m_Connection;
|
||||||
protected SQLiteFramework(string connectionString)
|
protected SQLiteFramework(string connectionString)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue