From 4692e92312ceacf414629eb78f6d0725a2eb2ca5 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 1 May 2008 14:45:56 +0000 Subject: * Assorted spring cleanings. --- OpenSim/Data/SQLite/SQLiteRegionData.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Data/SQLite/SQLiteRegionData.cs') 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; using System.Data; using System.IO; using System.Reflection; +using System.Threading; using libsecondlife; using log4net; using Mono.Data.SqliteClient; @@ -990,13 +991,13 @@ namespace OpenSim.Data.SQLite m_log.Error("[REGION DB]: The land table was recently updated. You need to restart the simulator. Exiting now."); - System.Threading.Thread.Sleep(10000); + Thread.Sleep(10000); // ICK! but it's better then A thousand red SQLITE error messages! Environment.Exit(0); } - catch (System.Exception) + catch (Exception) { // ICK! but it's better then A thousand red SQLITE error messages! m_log.Error("[REGION DB]: The land table was recently updated. You need to restart the simulator"); -- cgit v1.1