diff options
author | Robert Adams | 2013-09-24 13:41:44 -0700 |
---|---|---|
committer | Robert Adams | 2013-09-25 17:30:51 -0700 |
commit | 7fa64cce7dbf19d8b5886afd58e42be790f12dea (patch) | |
tree | 425a4223825f01f5f07be0b304cb7a9a45bc5117 /OpenSim/Data/MSSQL/MSSQLSimulationData.cs | |
parent | varregion: go back to using Constants.RegionSize so as not to break (diff) | |
download | opensim-SC_OLD-7fa64cce7dbf19d8b5886afd58e42be790f12dea.zip opensim-SC_OLD-7fa64cce7dbf19d8b5886afd58e42be790f12dea.tar.gz opensim-SC_OLD-7fa64cce7dbf19d8b5886afd58e42be790f12dea.tar.bz2 opensim-SC_OLD-7fa64cce7dbf19d8b5886afd58e42be790f12dea.tar.xz |
Remove time based terrain storage in SQLite so revision number can be used
to denote terrain format revision.
Add terrain DB format revision codes to ISimulationDataStore.cs.
Setup so legacy compatible terrain storage and fetch is possible while
allowing future format extensions.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLSimulationData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLSimulationData.cs b/OpenSim/Data/MSSQL/MSSQLSimulationData.cs index f41f60c..8adddc9 100644 --- a/OpenSim/Data/MSSQL/MSSQLSimulationData.cs +++ b/OpenSim/Data/MSSQL/MSSQLSimulationData.cs | |||
@@ -576,7 +576,7 @@ ELSE | |||
576 | /// <param name="regionID">regionID.</param> | 576 | /// <param name="regionID">regionID.</param> |
577 | public void StoreTerrain(double[,] terrain, UUID regionID) | 577 | public void StoreTerrain(double[,] terrain, UUID regionID) |
578 | { | 578 | { |
579 | int revision = Util.UnixTimeSinceEpoch(); | 579 | int revision = (int)DBTerrainRevision.Legacy256; |
580 | 580 | ||
581 | //Delete old terrain map | 581 | //Delete old terrain map |
582 | string sql = "delete from terrain where RegionUUID=@RegionUUID"; | 582 | string sql = "delete from terrain where RegionUUID=@RegionUUID"; |