diff options
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"); |