some more sqlite stuff. Checking in to get it to another computer

to do a bit more live hacking on data flow
afrisby
Sean Dague 2007-08-07 14:39:00 +00:00
parent b55e01b939
commit f54049ceb8
1 changed files with 30 additions and 1 deletions

View File

@ -65,11 +65,39 @@ namespace OpenSim.DataStore.SqliteStorage
return; return;
} }
public void StoreObject(SceneObject obj) private void StoreSceneObject(SceneObject obj)
{
}
public void StoreObject(AllNewGroupSceneObject obj)
{ {
// TODO: Serializing code // TODO: Serializing code
DataTable prims = ds.Tables["prims"];
DataTable shapes = ds.Tables["shapes"];
} }
private void addPrim(Primitive prim)
{
DataTable prims = ds.Tables["prims"];
DataTable shapes = ds.Tables["shapes"];
DataRow row;
}
public void StoreObject(SceneObject obj)
{
foreach (Primitive prim in obj.ChildPrimitives.Values)
{
addPrim(prim);
}
MainLog.Instance.Verbose("Dump of prims: {0}", ds.GetXml());
}
public void RemoveObject(LLUUID obj) public void RemoveObject(LLUUID obj)
{ {
// TODO: remove code // TODO: remove code
@ -81,6 +109,7 @@ namespace OpenSim.DataStore.SqliteStorage
MainLog.Instance.Verbose("DATASTORE", "Sqlite - LoadObjects found " + " objects"); MainLog.Instance.Verbose("DATASTORE", "Sqlite - LoadObjects found " + " objects");
return retvals;
} }
public void StoreTerrain(double[,] ter) public void StoreTerrain(double[,] ter)