diff options
author | Sean Dague | 2008-09-29 21:55:59 +0000 |
---|---|---|
committer | Sean Dague | 2008-09-29 21:55:59 +0000 |
commit | 97107961e0c92fc26ae70fc8d01b79014c894f38 (patch) | |
tree | c7ee527a42b0c267f2815b7feac21511f7ed49b5 /OpenSim/Data/SQLite/SQLiteRegionData.cs | |
parent | * Add missing mssql migration files from http://opensimulator.org/mantis/view... (diff) | |
download | opensim-SC-97107961e0c92fc26ae70fc8d01b79014c894f38.zip opensim-SC-97107961e0c92fc26ae70fc8d01b79014c894f38.tar.gz opensim-SC-97107961e0c92fc26ae70fc8d01b79014c894f38.tar.bz2 opensim-SC-97107961e0c92fc26ae70fc8d01b79014c894f38.tar.xz |
add a test for updating region settings and fix a bug in uuid
translation in sqlite uncovered by this test.
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteRegionData.cs')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index 157a4b8..74715c0 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -258,7 +258,7 @@ namespace OpenSim.Data.SQLite | |||
258 | { | 258 | { |
259 | DataTable regionsettings = ds.Tables["regionsettings"]; | 259 | DataTable regionsettings = ds.Tables["regionsettings"]; |
260 | 260 | ||
261 | DataRow settingsRow = regionsettings.Rows.Find(Util.ToRawUuidString(rs.RegionUUID)); | 261 | DataRow settingsRow = regionsettings.Rows.Find(rs.RegionUUID.ToString()); |
262 | if (settingsRow == null) | 262 | if (settingsRow == null) |
263 | { | 263 | { |
264 | settingsRow = regionsettings.NewRow(); | 264 | settingsRow = regionsettings.NewRow(); |