aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteInventoryStore.cs
diff options
context:
space:
mode:
authorJeff Ames2009-08-17 10:29:06 +0900
committerJeff Ames2009-08-17 10:29:06 +0900
commit82c888fc6c103ec345bf656cd469f4260b678bcb (patch)
treee36ea04103469ba31501e7a7fe3b10e5e856dbe5 /OpenSim/Data/SQLite/SQLiteInventoryStore.cs
parentAdd UUIDs in bin/ScriptEngines to .gitignore. (diff)
downloadopensim-SC_OLD-82c888fc6c103ec345bf656cd469f4260b678bcb.zip
opensim-SC_OLD-82c888fc6c103ec345bf656cd469f4260b678bcb.tar.gz
opensim-SC_OLD-82c888fc6c103ec345bf656cd469f4260b678bcb.tar.bz2
opensim-SC_OLD-82c888fc6c103ec345bf656cd469f4260b678bcb.tar.xz
Add copyright headers. Formatting cleanup. Fix a compiler warning.
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteInventoryStore.cs')
-rw-r--r--OpenSim/Data/SQLite/SQLiteInventoryStore.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs
index 557dec7..e5f7a50 100644
--- a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs
+++ b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs
@@ -301,7 +301,7 @@ namespace OpenSim.Data.SQLite
301 DataTable inventoryFolderTable = ds.Tables["inventoryfolders"]; 301 DataTable inventoryFolderTable = ds.Tables["inventoryfolders"];
302 302
303 inventoryRow = inventoryFolderTable.Rows.Find(item.Folder.ToString()); 303 inventoryRow = inventoryFolderTable.Rows.Find(item.Folder.ToString());
304 if(inventoryRow != null) //MySQL doesn't throw an exception here, so sqlite shouldn't either. 304 if (inventoryRow != null) //MySQL doesn't throw an exception here, so sqlite shouldn't either.
305 inventoryRow["version"] = (int)inventoryRow["version"] + 1; 305 inventoryRow["version"] = (int)inventoryRow["version"] + 1;
306 306
307 invFoldersDa.Update(ds, "inventoryfolders"); 307 invFoldersDa.Update(ds, "inventoryfolders");