aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSean Dague2007-12-09 21:48:29 +0000
committerSean Dague2007-12-09 21:48:29 +0000
commit934c54de5af4cc0180e154c2fa5a0780d358828d (patch)
treea02b4874c043d7c3869e7114826032c38f5ed21e
parentremoved old debugging code from IM and chat modules (diff)
downloadopensim-SC_OLD-934c54de5af4cc0180e154c2fa5a0780d358828d.zip
opensim-SC_OLD-934c54de5af4cc0180e154c2fa5a0780d358828d.tar.gz
opensim-SC_OLD-934c54de5af4cc0180e154c2fa5a0780d358828d.tar.bz2
opensim-SC_OLD-934c54de5af4cc0180e154c2fa5a0780d358828d.tar.xz
From Justin Casey (IBM)
This corrects an off by one mistake in my previous patch - with this patch the user root inventory folder should once again be correctly returned under sqlite. This was done correctly for mysql and mssql, my only (feeble) defence is that with sqlite the code was a little different and I was eliminating clauses rather than slightly modifying them.
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs b/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs
index 94084a6..ddc0694 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteInventoryStore.cs
@@ -243,7 +243,7 @@ namespace OpenSim.Framework.Data.SQLite
243 // nicer to print some message to this effect, but this feels like it's too low a 243 // nicer to print some message to this effect, but this feels like it's too low a
244 // to put such a message out, and it's too minor right now to spare the time to 244 // to put such a message out, and it's too minor right now to spare the time to
245 // suitably refactor. 245 // suitably refactor.
246 if (folders.Count > 1) 246 if (folders.Count > 0)
247 { 247 {
248 return folders[0]; 248 return folders[0];
249 } 249 }