aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoralondria2008-01-12 17:18:42 +0000
committeralondria2008-01-12 17:18:42 +0000
commitd3fa814458b142b9e8f5822356515d6f1f63e0c0 (patch)
treead461e158356a557142d98fc682911ceeb7a416e
parentIf OpenSim.ini uses OpenSim.DataStore.MonoSqlite.dll, have it use OpenSim.Fra... (diff)
downloadopensim-SC_OLD-d3fa814458b142b9e8f5822356515d6f1f63e0c0.zip
opensim-SC_OLD-d3fa814458b142b9e8f5822356515d6f1f63e0c0.tar.gz
opensim-SC_OLD-d3fa814458b142b9e8f5822356515d6f1f63e0c0.tar.bz2
opensim-SC_OLD-d3fa814458b142b9e8f5822356515d6f1f63e0c0.tar.xz
Added notice on console to change storage_plugin if set to OpenSim.DataStore.MonoSqlite.dll before replacing with OpenSim.Framework.Data.SQLite.dll
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 1f0dd28..7249322 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -244,6 +244,8 @@ namespace OpenSim
244 if (m_storageDll == "OpenSim.DataStore.MonoSqlite.dll") 244 if (m_storageDll == "OpenSim.DataStore.MonoSqlite.dll")
245 { 245 {
246 m_storageDll = "OpenSim.Framework.Data.SQLite.dll"; 246 m_storageDll = "OpenSim.Framework.Data.SQLite.dll";
247 Console.WriteLine("WARNING: OpenSim.DataStore.MonoSqlite.dll is depreciated. Set storage_plugin to OpenSim.Framework.Data.SQLite.dll.");
248 Thread.Sleep(3000);
247 } 249 }
248 m_storageConnectionString 250 m_storageConnectionString
249 = startupConfig.GetString("storage_connection_string", "URI=file:OpenSim.db,version=3"); 251 = startupConfig.GetString("storage_connection_string", "URI=file:OpenSim.db,version=3");