* Temporary fix for SQLite error -- temporarily disables terrain storage.

afrisby
Adam Frisby 2007-10-22 22:07:45 +00:00
parent 5dad0ed729
commit b02fa17acc
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,6 @@ namespace OpenSim.DataStore.MonoSqlite
ds.Tables.Add(createTerrainTable()); ds.Tables.Add(createTerrainTable());
setupTerrainCommands(terrainDa, conn); setupTerrainCommands(terrainDa, conn);
terrainDa.Fill(ds.Tables["terrain"]);
// WORKAROUND: This is a work around for sqlite on // WORKAROUND: This is a work around for sqlite on
// windows, which gets really unhappy with blob columns // windows, which gets really unhappy with blob columns
@ -99,10 +98,11 @@ namespace OpenSim.DataStore.MonoSqlite
try try
{ {
shapeDa.Fill(ds.Tables["primshapes"]); shapeDa.Fill(ds.Tables["primshapes"]);
terrainDa.Fill(ds.Tables["terrain"]);
} }
catch (Exception) catch (Exception)
{ {
MainLog.Instance.Verbose("DATASTORE", "Caught fill error on primshapes table"); MainLog.Instance.Verbose("DATASTORE", "Caught fill error on primshapes or terrain table");
} }
return; return;
} }