diff options
author | Adam Frisby | 2008-05-01 14:45:56 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-01 14:45:56 +0000 |
commit | 4692e92312ceacf414629eb78f6d0725a2eb2ca5 (patch) | |
tree | 34da13ca5f7f19fc447f4fd341a43703183cfd55 /OpenSim/Data/SQLite | |
parent | Update svn properties. Minor formatting cleanup. (diff) | |
download | opensim-SC_OLD-4692e92312ceacf414629eb78f6d0725a2eb2ca5.zip opensim-SC_OLD-4692e92312ceacf414629eb78f6d0725a2eb2ca5.tar.gz opensim-SC_OLD-4692e92312ceacf414629eb78f6d0725a2eb2ca5.tar.bz2 opensim-SC_OLD-4692e92312ceacf414629eb78f6d0725a2eb2ca5.tar.xz |
* Assorted spring cleanings.
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index 5a3d350..ea12a48 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -30,6 +30,7 @@ using System.Collections.Generic; | |||
30 | using System.Data; | 30 | using System.Data; |
31 | using System.IO; | 31 | using System.IO; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using System.Threading; | ||
33 | using libsecondlife; | 34 | using libsecondlife; |
34 | using log4net; | 35 | using log4net; |
35 | using Mono.Data.SqliteClient; | 36 | using Mono.Data.SqliteClient; |
@@ -990,13 +991,13 @@ namespace OpenSim.Data.SQLite | |||
990 | 991 | ||
991 | m_log.Error("[REGION DB]: The land table was recently updated. You need to restart the simulator. Exiting now."); | 992 | m_log.Error("[REGION DB]: The land table was recently updated. You need to restart the simulator. Exiting now."); |
992 | 993 | ||
993 | System.Threading.Thread.Sleep(10000); | 994 | Thread.Sleep(10000); |
994 | 995 | ||
995 | // ICK! but it's better then A thousand red SQLITE error messages! | 996 | // ICK! but it's better then A thousand red SQLITE error messages! |
996 | Environment.Exit(0); | 997 | Environment.Exit(0); |
997 | 998 | ||
998 | } | 999 | } |
999 | catch (System.Exception) | 1000 | catch (Exception) |
1000 | { | 1001 | { |
1001 | // ICK! but it's better then A thousand red SQLITE error messages! | 1002 | // ICK! but it's better then A thousand red SQLITE error messages! |
1002 | m_log.Error("[REGION DB]: The land table was recently updated. You need to restart the simulator"); | 1003 | m_log.Error("[REGION DB]: The land table was recently updated. You need to restart the simulator"); |