* Temporary fix for SQLite error -- temporarily disables terrain storage.
parent
5dad0ed729
commit
b02fa17acc
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue