mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
add a test for updating region settings and fix a bug in uuid
translation in sqlite uncovered by this test.
This commit is contained in:
@@ -258,7 +258,7 @@ namespace OpenSim.Data.SQLite
|
||||
{
|
||||
DataTable regionsettings = ds.Tables["regionsettings"];
|
||||
|
||||
DataRow settingsRow = regionsettings.Rows.Find(Util.ToRawUuidString(rs.RegionUUID));
|
||||
DataRow settingsRow = regionsettings.Rows.Find(rs.RegionUUID.ToString());
|
||||
if (settingsRow == null)
|
||||
{
|
||||
settingsRow = regionsettings.NewRow();
|
||||
|
||||
Reference in New Issue
Block a user