From 297887e1fc233ddfa2640aebd3432dbabe8f6ad8 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 13 Mar 2008 01:01:28 +0000 Subject: * Change opensim.ini.example guidance on asset_database setting to be "local" or "grid" * See OpenSim.ini.example for more details * The old sqlite/mssql settings were redundant and effectively ignored anyway. Hence, there's no need for you to change your current settings, which will still work * In fact, asset_database should probably be moved to [Network] since it's meaningless for standalone installations --- OpenSim/Region/Application/OpenSimMain.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index fd3a57f..1b8ed45 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -94,7 +94,7 @@ namespace OpenSim private string m_standaloneAssetPlugin; private string m_standaloneUserPlugin; - private string m_assetStorage = "sqlite"; + private string m_assetStorage = "local"; private string m_timedScript = "disabled"; private Timer m_scriptTimer; @@ -278,7 +278,7 @@ namespace OpenSim m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", String.Empty); m_scriptEngine = startupConfig.GetString("script_engine", "OpenSim.Region.ScriptEngine.DotNetEngine.dll"); - m_assetStorage = startupConfig.GetString("asset_database", "sqlite"); + m_assetStorage = startupConfig.GetString("asset_database", "local"); m_timedScript = startupConfig.GetString("timer_Script", "disabled"); } @@ -429,13 +429,6 @@ namespace OpenSim { assetServer = new GridAssetClient(m_networkServersInfo.AssetURL); } - else if (m_assetStorage == "mssql") - { - SQLAssetServer sqlAssetServer = new SQLAssetServer("OpenSim.Framework.Data.MSSQL.dll"); - sqlAssetServer.LoadDefaultAssets(); - assetServer = sqlAssetServer; - //assetServer = new GridAssetClient(String.Empty); - } else { SQLAssetServer sqlAssetServer = new SQLAssetServer(m_standaloneAssetPlugin); @@ -444,7 +437,6 @@ namespace OpenSim } m_assetCache = new AssetCache(assetServer); - // m_assetCache = new assetCache("OpenSim.Region.GridInterfaces.Local.dll", m_networkServersInfo.AssetURL, m_networkServersInfo.AssetSendKey); m_sceneManager.OnRestartSim += handleRestartRegion; } -- cgit v1.1