diff options
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index 440ca3a..7d45a30 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | |||
@@ -57,14 +57,23 @@ namespace OpenSim.DataStore.MonoSqliteStorage | |||
57 | // TODO: see if the linkage actually holds. | 57 | // TODO: see if the linkage actually holds. |
58 | // primDa.FillSchema(ds, SchemaType.Source, "PrimSchema"); | 58 | // primDa.FillSchema(ds, SchemaType.Source, "PrimSchema"); |
59 | TestTables(conn); | 59 | TestTables(conn); |
60 | 60 | ||
61 | ds.Tables.Add(createPrimTable()); | 61 | ds.Tables.Add(createPrimTable()); |
62 | primDa.Fill(ds.Tables["prims"]); | 62 | primDa.Fill(ds.Tables["prims"]); |
63 | setupPrimCommands(primDa, conn); | 63 | setupPrimCommands(primDa, conn); |
64 | MainLog.Instance.Verbose("DATASTORE", "Populated Prim Definitions"); | 64 | MainLog.Instance.Verbose("DATASTORE", "Populated Prim Definitions"); |
65 | 65 | ||
66 | ds.Tables.Add(createShapeTable()); | 66 | ds.Tables.Add(createShapeTable()); |
67 | shapeDa.Fill(ds.Tables["primshapes"]); | 67 | |
68 | try | ||
69 | { | ||
70 | shapeDa.Fill(ds.Tables["primshapes"]); | ||
71 | } | ||
72 | catch (Exception) | ||
73 | { | ||
74 | MainLog.Instance.Verbose("DATASTORE", "Caught fill error on primshapes table"); | ||
75 | } | ||
76 | |||
68 | setupShapeCommands(shapeDa, conn); | 77 | setupShapeCommands(shapeDa, conn); |
69 | MainLog.Instance.Verbose("DATASTORE", "Populated Prim Shapes"); | 78 | MainLog.Instance.Verbose("DATASTORE", "Populated Prim Shapes"); |
70 | 79 | ||