aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs13
1 files changed, 1 insertions, 12 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs b/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs
index 918cb3d..86eaca1 100644
--- a/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs
+++ b/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs
@@ -54,11 +54,8 @@ namespace OpenSim.Data.SQLite
54 m_Realm = realm; 54 m_Realm = realm;
55 if (storeName != String.Empty) 55 if (storeName != String.Empty)
56 { 56 {
57<<<<<<< HEAD:OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs
58 Assembly assem = GetType().Assembly;
59=======
60 m_Connection = new SqliteConnection(connectionString); 57 m_Connection = new SqliteConnection(connectionString);
61 Console.WriteLine(string.Format("OPENING CONNECTION FOR {0} USING {1}", storeName, connectionString)); 58 //Console.WriteLine(string.Format("OPENING CONNECTION FOR {0} USING {1}", storeName, connectionString));
62 m_Connection.Open(); 59 m_Connection.Open();
63 60
64 if (storeName != String.Empty) 61 if (storeName != String.Empty)
@@ -74,10 +71,6 @@ namespace OpenSim.Data.SQLite
74 //newConnection.Close(); 71 //newConnection.Close();
75 //newConnection.Dispose(); 72 //newConnection.Dispose();
76 } 73 }
77>>>>>>> cc67de5... rename SQLiteNG to SQLite and SQLite to SQLiteLegacy:OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs
78
79 Migration m = new Migration(m_Connection, assem, storeName);
80 m.Update();
81 } 74 }
82 75
83 Type t = typeof(T); 76 Type t = typeof(T);
@@ -200,11 +193,7 @@ namespace OpenSim.Data.SQLite
200 result.Add(row); 193 result.Add(row);
201 } 194 }
202 195
203<<<<<<< HEAD:OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs
204 CloseReaderCommand(cmd);
205=======
206 //CloseCommand(cmd); 196 //CloseCommand(cmd);
207>>>>>>> cc67de5... rename SQLiteNG to SQLite and SQLite to SQLiteLegacy:OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs
208 197
209 return result.ToArray(); 198 return result.ToArray();
210 } 199 }