aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLite/SQLiteAssetData.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteAssetData.cs b/OpenSim/Data/SQLite/SQLiteAssetData.cs
index 40e51db..16e560c 100644
--- a/OpenSim/Data/SQLite/SQLiteAssetData.cs
+++ b/OpenSim/Data/SQLite/SQLiteAssetData.cs
@@ -196,9 +196,16 @@ namespace OpenSim.Data.SQLite
196 cmd.Parameters.Add(new SqliteParameter(":UUID", uuid.ToString())); 196 cmd.Parameters.Add(new SqliteParameter(":UUID", uuid.ToString()));
197 using (IDataReader reader = cmd.ExecuteReader()) 197 using (IDataReader reader = cmd.ExecuteReader())
198 { 198 {
199 bool ok = reader.Read(); 199 if (reader.Read())
200 reader.Close(); 200 {
201 return ok; 201 reader.Close();
202 return true;
203 }
204 else
205 {
206 reader.Close();
207 return false;
208 }
202 } 209 }
203 } 210 }
204 } 211 }