From 138bcf6fffdb16e3962c03f995aff7cda15a7800 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 17 Oct 2008 16:44:05 +0000 Subject: * Apply a modified version of http://opensimulator.org/mantis/view.php?id=2290 * This allows multiple user profile providers to be specified in OpenSim.ini separated by commas * If multiple providers are specified then a request for a user profile will query each in turn until the profile is either found or all have been queried * Unfortunately I don't believe this order can currently be specified, which if true is something that will need to be fixed. * Thanks to smeans for the original patch. --- bin/OpenSim.ini.example | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bin') diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index c9d97a5..5457af2 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -144,6 +144,7 @@ asset_plugin = "OpenSim.Data.SQLite.dll" inventory_plugin = "OpenSim.Data.SQLite.dll" ; inventory_plugin = "OpenSim.Data.MySQL.dll" ; inventory_plugin = "OpenSim.Data.NHibernate.dll" ; for nhibernate + ; Inventory Source NHibernate example (DIALECT;DRIVER;CONNECTSTRING) ; inventory_source = "SQLiteDialect;SqliteClientDriver;URI=file:Inventory.db,version=3" ; Inventory Source MySQL example @@ -151,9 +152,17 @@ inventory_plugin = "OpenSim.Data.SQLite.dll" ; User Data Database provider +; +; Multiple providers can be specified by separating them with commas (whitespace is unimportant) +; If multiple providers are specified then if a profile is requested, each is queried until one +; provides a valid profile, or until all providers have been queried. +; Unfortunately the order of querying is currently undefined (it may not be the order in which +; providers are specified here). This needs to be fixed +; userDatabase_plugin = "OpenSim.Data.SQLite.dll" ; userDatabase_plugin = "OpenSim.Data.MySQL.dll" ; userDatabase_plugin = "OpenSim.Data.NHibernate.dll" ; for nhibernate + ; User Source NHibernate Example (DIALECT;DRIVER;CONNECTSTRING) ; user_source = "SQLiteDialect;SqliteClientDriver;URI=file:User.db,version=3" ; User Source MySQL example -- cgit v1.1