* Adds regiondata and estatedata persistence in Sqlite. This commit is actually an assist. 99% of the work was already done by Melanie.

0.6.0-stable
Teravus Ovares 2008-09-13 22:29:36 +00:00
parent b4141f9e56
commit af899e50c2
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}
/// <summary>