aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSean Dague2007-08-09 19:06:48 +0000
committerSean Dague2007-08-09 19:06:48 +0000
commit1681e3ac154aaa0747f593799bee0f540ad0747e (patch)
tree3446749965eb05935c15b6dc0d7eeb79313c5d76
parentForgot to remove reference to .dll that was merged (diff)
downloadopensim-SC_OLD-1681e3ac154aaa0747f593799bee0f540ad0747e.zip
opensim-SC_OLD-1681e3ac154aaa0747f593799bee0f540ad0747e.tar.gz
opensim-SC_OLD-1681e3ac154aaa0747f593799bee0f540ad0747e.tar.bz2
opensim-SC_OLD-1681e3ac154aaa0747f593799bee0f540ad0747e.tar.xz
pull out some uneeded attributes, and setup keys on primshapes dataset
-rw-r--r--OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
index f7a579f..195ecbb 100644
--- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
+++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs
@@ -22,9 +22,6 @@ namespace OpenSim.DataStore.MonoSqliteStorage
22 private const string primSelect = "select * from prims"; 22 private const string primSelect = "select * from prims";
23 private const string shapeSelect = "select * from primshapes"; 23 private const string shapeSelect = "select * from primshapes";
24 24
25 private Dictionary<string, DbType> primDataDefs;
26 private Dictionary<string, DbType> shapeDataDefs;
27
28 private DataSet ds; 25 private DataSet ds;
29 private SqliteDataAdapter primDa; 26 private SqliteDataAdapter primDa;
30 private SqliteDataAdapter shapeDa; 27 private SqliteDataAdapter shapeDa;
@@ -57,6 +54,9 @@ namespace OpenSim.DataStore.MonoSqliteStorage
57 54
58 // shapeDa.FillSchema(ds, SchemaType.Source, "ShapeSchema"); 55 // shapeDa.FillSchema(ds, SchemaType.Source, "ShapeSchema");
59 shapeDa.Fill(ds, "primshapes"); 56 shapeDa.Fill(ds, "primshapes");
57 DataTable shapes = ds.Tables["primshapes"];
58 shapes.PrimaryKey = new DataColumn[] { shapes.Columns["UUID"] };
59 setupShapeCommands(shapeDa, conn);
60 60
61 return; 61 return;
62 } 62 }