From af899e50c2a9f9cf150e598c1305d8bd1658f9fe Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 13 Sep 2008 22:29:36 +0000 Subject: * Adds regiondata and estatedata persistence in Sqlite. This commit is actually an assist. 99% of the work was already done by Melanie. --- OpenSim/Data/SQLite/SQLiteRegionData.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Data/SQLite') diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index a8ec417..41d108e 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs @@ -660,6 +660,7 @@ namespace OpenSim.Data.SQLite terrainDa.Update(ds, "terrain"); landDa.Update(ds, "land"); landAccessListDa.Update(ds, "landaccesslist"); + regionSettingsDa.Update(ds, "regionsettings"); ds.AcceptChanges(); } } @@ -1901,6 +1902,8 @@ namespace OpenSim.Data.SQLite { da.InsertCommand = createInsertCommand("regionsettings", ds.Tables["regionsettings"]); da.InsertCommand.Connection = conn; + da.UpdateCommand = createUpdateCommand("regionsettings", "regionUUID=:regionUUID", ds.Tables["regionsettings"]); + da.UpdateCommand.Connection = conn; } /// -- cgit v1.1