From: Date: February 22 2008 6:56pm Subject: Connector/NET commit: r1188 - in branches/5.2: . MySql.Web/Providers/Source List-Archive: http://lists.mysql.com/commits/42857 X-Bug: 34451 Message-Id: <200802221756.m1MHu3Yq022925@bk-internal.mysql.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modified: branches/5.2/CHANGES branches/5.2/MySql.Web/Providers/Source/MembershipProvider.cs branches/5.2/MySql.Web/Providers/Source/ProfileProvider.cs branches/5.2/MySql.Web/Providers/Source/RoleProvider.cs Log: - Fixed web providers so that they don't attempt to check their schema or cache their application id if the connection string has not been set. (bug #34451) This change was actually in 5.1 but got removed so we now add it back in. Modified: branches/5.2/CHANGES =================================================================== --- branches/5.2/CHANGES 2008-02-22 16:45:10 UTC (rev 1187) +++ branches/5.2/CHANGES 2008-02-22 17:56:02 UTC (rev 1188) @@ -4,6 +4,8 @@ (bug #34699) - Fixed problem with Visual Studio 2008 integration that caused popup menus on server explorer nodes to not function +- Fixed web providers so that they don't attempt to check their schema or cache + their application id if the connection string has not been set. (bug #34451) Version 5.2 - 2/11/2008 . Added ClearPool and ClearAllPools features Modified: branches/5.2/MySql.Web/Providers/Source/MembershipProvider.cs =================================================================== --- branches/5.2/MySql.Web/Providers/Source/MembershipProvider.cs 2008-02-22 16:45:10 UTC (rev 1187) +++ branches/5.2/MySql.Web/Providers/Source/MembershipProvider.cs 2008-02-22 17:56:02 UTC (rev 1188) @@ -144,6 +144,8 @@ else connectionString = ""; + if (String.IsNullOrEmpty(connectionString)) return; + // make sure we have the correct schema SchemaManager.CheckSchema(connectionString, config); Modified: branches/5.2/MySql.Web/Providers/Source/ProfileProvider.cs =================================================================== --- branches/5.2/MySql.Web/Providers/Source/ProfileProvider.cs 2008-02-22 16:45:10 UTC (rev 1187) +++ branches/5.2/MySql.Web/Providers/Source/ProfileProvider.cs 2008-02-22 17:56:02 UTC (rev 1188) @@ -88,6 +88,8 @@ else connectionString = ""; + if (String.IsNullOrEmpty(connectionString)) return; + // make sure our schema is up to date SchemaManager.CheckSchema(connectionString, config); Modified: branches/5.2/MySql.Web/Providers/Source/RoleProvider.cs =================================================================== --- branches/5.2/MySql.Web/Providers/Source/RoleProvider.cs 2008-02-22 16:45:10 UTC (rev 1187) +++ branches/5.2/MySql.Web/Providers/Source/RoleProvider.cs 2008-02-22 17:56:02 UTC (rev 1188) @@ -94,6 +94,8 @@ else connectionString = ""; + if (String.IsNullOrEmpty(connectionString)) return; + // make sure our schema is up to date SchemaManager.CheckSchema(connectionString, config);