From 348e5b7648037f9bb9b2a7e76e42753175131325 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 17 Dec 2007 23:06:41 +0000 Subject: Make region storage Sqlite by default rather than NullStorage --- OpenSim/Region/Application/OpenSimMain.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 478de56..b3daf0c 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -167,7 +167,8 @@ namespace OpenSim config.Set("physical_prim", true); config.Set("child_get_tasks", false); config.Set("serverside_object_permissions", false); - config.Set("storage_plugin", "OpenSim.DataStore.NullStorage.dll"); + config.Set("storage_plugin", "OpenSim.DataStore.MonoSqlite.dll"); + config.Set("storage_connection_string", "URI=file:OpenSim.db,version=3"); config.Set("startup_console_commands_file", ""); config.Set("shutdown_console_commands_file", ""); config.Set("script_engine", "DotNetEngine"); @@ -236,8 +237,9 @@ namespace OpenSim m_permissions = startupConfig.GetBoolean("serverside_object_permissions", false); - m_storageDll = startupConfig.GetString("storage_plugin", "OpenSim.DataStore.NullStorage.dll"); - m_storageConnectionString = startupConfig.GetString("storage_connection_string",""); + m_storageDll = startupConfig.GetString("storage_plugin", "OpenSim.DataStore.MonoSqlite.dll"); + m_storageConnectionString + = startupConfig.GetString("storage_connection_string", "URI=file:OpenSim.db,version=3"); m_startupCommandsFile = startupConfig.GetString("startup_console_commands_file", ""); m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", ""); @@ -477,7 +479,9 @@ namespace OpenSim { m_regionData.RemoveAt(RegionHandleElement); } - UDPServer restartingRegion = CreateRegion(whichRegion); + + CreateRegion(whichRegion); + //UDPServer restartingRegion = CreateRegion(whichRegion); //restartingRegion.ServerListener(); //m_sceneManager.SendSimOnlineNotification(restartingRegion.RegionHandle); } -- cgit v1.1