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.
afrisby
Sean Dague 2007-12-09 21:48:29 +00:00
parent 696f5e27a9
commit 934c54de5a
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ namespace OpenSim.Framework.Data.SQLite
// nicer to print some message to this effect, but this feels like it's too low a // nicer to print some message to this effect, but this feels like it's too low a
// to put such a message out, and it's too minor right now to spare the time to // to put such a message out, and it's too minor right now to spare the time to
// suitably refactor. // suitably refactor.
if (folders.Count > 1) if (folders.Count > 0)
{ {
return folders[0]; return folders[0];
} }