diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteAssetData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteAssetData.cs b/OpenSim/Data/SQLite/SQLiteAssetData.cs index 1f32376..2834bcf 100644 --- a/OpenSim/Data/SQLite/SQLiteAssetData.cs +++ b/OpenSim/Data/SQLite/SQLiteAssetData.cs | |||
@@ -226,11 +226,11 @@ namespace OpenSim.Data.SQLite | |||
226 | HashSet<UUID> exist = new HashSet<UUID>(); | 226 | HashSet<UUID> exist = new HashSet<UUID>(); |
227 | 227 | ||
228 | string ids = "'" + string.Join("','", uuids) + "'"; | 228 | string ids = "'" + string.Join("','", uuids) + "'"; |
229 | string sql = string.Format("SELECT id FROM assets WHERE id IN ({0})", ids); | 229 | string sql = string.Format("select UUID from assets where UUID in ({0})", ids); |
230 | 230 | ||
231 | lock (this) | 231 | lock (this) |
232 | { | 232 | { |
233 | using (SqliteCommand cmd = new SqliteCommand(SelectAssetSQL, m_conn)) | 233 | using (SqliteCommand cmd = new SqliteCommand(sql, m_conn)) |
234 | { | 234 | { |
235 | using (IDataReader reader = cmd.ExecuteReader()) | 235 | using (IDataReader reader = cmd.ExecuteReader()) |
236 | { | 236 | { |