From 16a6d60a21860d8ae49715f9077c22a3f1bc54bc Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 22 Mar 2009 18:35:16 +0000 Subject: Make offline gives work in SQLite standalones --- OpenSim/Data/SQLite/SQLiteInventoryStore.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenSim/Data/SQLite') 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 fillItemRow(inventoryRow, item); } + invItemsDa.Update(ds, "inventoryitems"); + + DataTable inventoryFolderTable = ds.Tables["inventoryfolders"]; + + inventoryRow = inventoryFolderTable.Rows.Find(Util.ToRawUuidString(item.Folder)); + inventoryRow["version"] = (int)inventoryRow["version"] + 1; + + invFoldersDa.Update(ds, "inventoryfolders"); } } -- cgit v1.1