diff options
author | Justin Clark-Casey (justincc) | 2010-04-30 20:05:57 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-04-30 20:05:57 +0100 |
commit | 0b8b302aa0f2ee25be5cbdfefe232459e6e5b778 (patch) | |
tree | 8108a73ddf306c5f011e7bf91fb8ead5b6a678aa /OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs | |
parent | take out some debug logging in the sqlite db adaptor (diff) | |
download | opensim-SC-0b8b302aa0f2ee25be5cbdfefe232459e6e5b778.zip opensim-SC-0b8b302aa0f2ee25be5cbdfefe232459e6e5b778.tar.gz opensim-SC-0b8b302aa0f2ee25be5cbdfefe232459e6e5b778.tar.bz2 opensim-SC-0b8b302aa0f2ee25be5cbdfefe232459e6e5b778.tar.xz |
Fix a bunch of issues that crop up after the naive porting of the new sqlite db from master to 0.6.9
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs | 13 |
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 | } |