aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteInventoryStore.cs
diff options
context:
space:
mode:
authorMelanie Thielker2009-03-22 18:35:16 +0000
committerMelanie Thielker2009-03-22 18:35:16 +0000
commit16a6d60a21860d8ae49715f9077c22a3f1bc54bc (patch)
tree6e22f8e59dcd67f20c3088a3953482f3323e33de /OpenSim/Data/SQLite/SQLiteInventoryStore.cs
parentMake single item inventory gives work across regions (diff)
downloadopensim-SC_OLD-16a6d60a21860d8ae49715f9077c22a3f1bc54bc.zip
opensim-SC_OLD-16a6d60a21860d8ae49715f9077c22a3f1bc54bc.tar.gz
opensim-SC_OLD-16a6d60a21860d8ae49715f9077c22a3f1bc54bc.tar.bz2
opensim-SC_OLD-16a6d60a21860d8ae49715f9077c22a3f1bc54bc.tar.xz
Make offline gives work in SQLite standalones
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteInventoryStore.cs')
-rw-r--r--OpenSim/Data/SQLite/SQLiteInventoryStore.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs
index 3be320f..34a6364 100644
--- a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs
+++ b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs
@@ -295,7 +295,15 @@ namespace OpenSim.Data.SQLite
295 295
296 fillItemRow(inventoryRow, item); 296 fillItemRow(inventoryRow, item);
297 } 297 }
298
298 invItemsDa.Update(ds, "inventoryitems"); 299 invItemsDa.Update(ds, "inventoryitems");
300
301 DataTable inventoryFolderTable = ds.Tables["inventoryfolders"];
302
303 inventoryRow = inventoryFolderTable.Rows.Find(Util.ToRawUuidString(item.Folder));
304 inventoryRow["version"] = (int)inventoryRow["version"] + 1;
305
306 invFoldersDa.Update(ds, "inventoryfolders");
299 } 307 }
300 } 308 }
301 309