aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Storage
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Storage')
-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)