Make offline gives work in SQLite standalones

0.6.5-rc1
Melanie Thielker 2009-03-22 18:35:16 +00:00
parent 48e87b6448
commit 16a6d60a21
1 changed files with 8 additions and 0 deletions

View File

@ -295,7 +295,15 @@ namespace OpenSim.Data.SQLite
fillItemRow(inventoryRow, item); fillItemRow(inventoryRow, item);
} }
invItemsDa.Update(ds, "inventoryitems"); 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");
} }
} }