aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorSean Dague2007-08-07 14:39:00 +0000
committerSean Dague2007-08-07 14:39:00 +0000
commitf54049ceb87bfc9b4bda7ebc08eba12e64d94f98 (patch)
treec40f545d8a00dd8cb40e62bd5dba89dfc768f872 /OpenSim/Region
parentOpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs (diff)
downloadopensim-SC_OLD-f54049ceb87bfc9b4bda7ebc08eba12e64d94f98.zip
opensim-SC_OLD-f54049ceb87bfc9b4bda7ebc08eba12e64d94f98.tar.gz
opensim-SC_OLD-f54049ceb87bfc9b4bda7ebc08eba12e64d94f98.tar.bz2
opensim-SC_OLD-f54049ceb87bfc9b4bda7ebc08eba12e64d94f98.tar.xz
some more sqlite stuff. Checking in to get it to another computer
to do a bit more live hacking on data flow
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Storage/OpenSim.DataStore.Sqlite/SqliteDataStore.cs31
1 files changed, 30 insertions, 1 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.Sqlite/SqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.Sqlite/SqliteDataStore.cs
index e80252b..5e571d2 100644
--- a/OpenSim/Region/Storage/OpenSim.DataStore.Sqlite/SqliteDataStore.cs
+++ b/OpenSim/Region/Storage/OpenSim.DataStore.Sqlite/SqliteDataStore.cs
@@ -65,11 +65,39 @@ namespace OpenSim.DataStore.SqliteStorage
65 return; 65 return;
66 } 66 }
67 67
68 public void StoreObject(SceneObject obj) 68 private void StoreSceneObject(SceneObject obj)
69 {
70
71 }
72
73 public void StoreObject(AllNewGroupSceneObject obj)
69 { 74 {
70 // TODO: Serializing code 75 // TODO: Serializing code
76 DataTable prims = ds.Tables["prims"];
77 DataTable shapes = ds.Tables["shapes"];
78
79
80
81 }
82
83 private void addPrim(Primitive prim)
84 {
85 DataTable prims = ds.Tables["prims"];
86 DataTable shapes = ds.Tables["shapes"];
87 DataRow row;
88 }
89
90 public void StoreObject(SceneObject obj)
91 {
92 foreach (Primitive prim in obj.ChildPrimitives.Values)
93 {
94 addPrim(prim);
95 }
96 MainLog.Instance.Verbose("Dump of prims: {0}", ds.GetXml());
71 } 97 }
72 98
99
100
73 public void RemoveObject(LLUUID obj) 101 public void RemoveObject(LLUUID obj)
74 { 102 {
75 // TODO: remove code 103 // TODO: remove code
@@ -81,6 +109,7 @@ namespace OpenSim.DataStore.SqliteStorage
81 109
82 MainLog.Instance.Verbose("DATASTORE", "Sqlite - LoadObjects found " + " objects"); 110 MainLog.Instance.Verbose("DATASTORE", "Sqlite - LoadObjects found " + " objects");
83 111
112 return retvals;
84 } 113 }
85 114
86 public void StoreTerrain(double[,] ter) 115 public void StoreTerrain(double[,] ter)