From 56fb7821ad021879d005da5ba65901c29c10de7f Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sat, 20 Feb 2010 21:24:18 -0800 Subject: Restored mising m_Connection. --- OpenSim/Data/SQLite/SQLiteAuthenticationData.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'OpenSim/Data/SQLite/SQLiteAuthenticationData.cs') diff --git a/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs b/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs index 7dab6bf..d71c7eb 100644 --- a/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs +++ b/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs @@ -57,8 +57,8 @@ namespace OpenSim.Data.SQLite using (SqliteConnection dbcon = new SqliteConnection(m_connectionString)) { - dbcon.Open(); - Migration m = new Migration(dbcon, GetType().Assembly, "AuthStore"); + //dbcon.Open(); + Migration m = new Migration(m_Connection, GetType().Assembly, "AuthStore"); m.Update(); } @@ -149,8 +149,9 @@ namespace OpenSim.Data.SQLite return false; } } - catch + catch (Exception e) { + Console.WriteLine(e.ToString()); cmd.Dispose(); return false; } @@ -174,8 +175,9 @@ namespace OpenSim.Data.SQLite return false; } } - catch + catch (Exception e) { + Console.WriteLine(e.ToString()); cmd.Dispose(); return false; } -- cgit v1.1