From 03c7055902d98a7cfe16b6319e1adde91a5ca9c6 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 24 Apr 2008 15:52:22 +0000 Subject: do a max of 3 splits when first processing the nhibernate connect strings so the ; in the db connect strings pass to the native drivers correctly --- OpenSim/Data/NHibernate/NHibernateAssetData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Data/NHibernate/NHibernateAssetData.cs') diff --git a/OpenSim/Data/NHibernate/NHibernateAssetData.cs b/OpenSim/Data/NHibernate/NHibernateAssetData.cs index 740868b..c0dd322 100644 --- a/OpenSim/Data/NHibernate/NHibernateAssetData.cs +++ b/OpenSim/Data/NHibernate/NHibernateAssetData.cs @@ -59,7 +59,7 @@ namespace OpenSim.Data.NHibernate { // Split out the dialect, driver, and connect string char[] split = {';'}; - string[] parts = connect.Split(split); + string[] parts = connect.Split(split, 3); if (parts.Length != 3) { // TODO: make this a real exception type throw new Exception("Malformed Inventory connection string '" + connect + "'"); -- cgit v1.1