diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index cc0ff7a..e5b9cc0 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | |||
@@ -90,7 +90,6 @@ namespace OpenSim.DataStore.MonoSqlite | |||
90 | 90 | ||
91 | ds.Tables.Add(createTerrainTable()); | 91 | ds.Tables.Add(createTerrainTable()); |
92 | setupTerrainCommands(terrainDa, conn); | 92 | setupTerrainCommands(terrainDa, conn); |
93 | terrainDa.Fill(ds.Tables["terrain"]); | ||
94 | 93 | ||
95 | // WORKAROUND: This is a work around for sqlite on | 94 | // WORKAROUND: This is a work around for sqlite on |
96 | // windows, which gets really unhappy with blob columns | 95 | // windows, which gets really unhappy with blob columns |
@@ -99,10 +98,11 @@ namespace OpenSim.DataStore.MonoSqlite | |||
99 | try | 98 | try |
100 | { | 99 | { |
101 | shapeDa.Fill(ds.Tables["primshapes"]); | 100 | shapeDa.Fill(ds.Tables["primshapes"]); |
101 | terrainDa.Fill(ds.Tables["terrain"]); | ||
102 | } | 102 | } |
103 | catch (Exception) | 103 | catch (Exception) |
104 | { | 104 | { |
105 | MainLog.Instance.Verbose("DATASTORE", "Caught fill error on primshapes table"); | 105 | MainLog.Instance.Verbose("DATASTORE", "Caught fill error on primshapes or terrain table"); |
106 | } | 106 | } |
107 | return; | 107 | return; |
108 | } | 108 | } |