Add copyright headers. Formatting cleanup. Fix a compiler warning.

This commit is contained in:
Jeff Ames
2009-08-17 10:29:06 +09:00
parent b324f88f86
commit 82c888fc6c
7 changed files with 63 additions and 10 deletions

View File

@@ -301,7 +301,7 @@ namespace OpenSim.Data.SQLite
DataTable inventoryFolderTable = ds.Tables["inventoryfolders"];
inventoryRow = inventoryFolderTable.Rows.Find(item.Folder.ToString());
if(inventoryRow != null) //MySQL doesn't throw an exception here, so sqlite shouldn't either.
if (inventoryRow != null) //MySQL doesn't throw an exception here, so sqlite shouldn't either.
inventoryRow["version"] = (int)inventoryRow["version"] + 1;
invFoldersDa.Update(ds, "inventoryfolders");