diff options
Diffstat (limited to 'OpenSim/Region/Storage')
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 6 |
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 | } |