aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorTeravus Ovares2008-09-13 22:29:36 +0000
committerTeravus Ovares2008-09-13 22:29:36 +0000
commitaf899e50c2a9f9cf150e598c1305d8bd1658f9fe (patch)
tree5b675c0d124dc2b4d0b32ae0ad28723cbf337c1a /OpenSim
parentFormatting cleanup. (diff)
downloadopensim-SC-af899e50c2a9f9cf150e598c1305d8bd1658f9fe.zip
opensim-SC-af899e50c2a9f9cf150e598c1305d8bd1658f9fe.tar.gz
opensim-SC-af899e50c2a9f9cf150e598c1305d8bd1658f9fe.tar.bz2
opensim-SC-af899e50c2a9f9cf150e598c1305d8bd1658f9fe.tar.xz
* Adds regiondata and estatedata persistence in Sqlite. This commit is actually an assist. 99% of the work was already done by Melanie.
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLite/SQLiteRegionData.cs3
1 files changed, 3 insertions, 0 deletions
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
660 terrainDa.Update(ds, "terrain"); 660 terrainDa.Update(ds, "terrain");
661 landDa.Update(ds, "land"); 661 landDa.Update(ds, "land");
662 landAccessListDa.Update(ds, "landaccesslist"); 662 landAccessListDa.Update(ds, "landaccesslist");
663 regionSettingsDa.Update(ds, "regionsettings");
663 ds.AcceptChanges(); 664 ds.AcceptChanges();
664 } 665 }
665 } 666 }
@@ -1901,6 +1902,8 @@ namespace OpenSim.Data.SQLite
1901 { 1902 {
1902 da.InsertCommand = createInsertCommand("regionsettings", ds.Tables["regionsettings"]); 1903 da.InsertCommand = createInsertCommand("regionsettings", ds.Tables["regionsettings"]);
1903 da.InsertCommand.Connection = conn; 1904 da.InsertCommand.Connection = conn;
1905 da.UpdateCommand = createUpdateCommand("regionsettings", "regionUUID=:regionUUID", ds.Tables["regionsettings"]);
1906 da.UpdateCommand.Connection = conn;
1904 } 1907 }
1905 1908
1906 /// <summary> 1909 /// <summary>