List:Commits« Previous MessageNext Message »
From:rburnett Date:September 19 2007 9:57pm
Subject:Connector/NET commit: r1007 - branches/5.1/Driver/Source
View as plain text  
Modified:
   branches/5.1/Driver/Source/SchemaProvider.cs
Log:
fixed a small bug in the reporting of version information through the
DataSourceInformation mechanism

Modified: branches/5.1/Driver/Source/SchemaProvider.cs
===================================================================
--- branches/5.1/Driver/Source/SchemaProvider.cs	2007-09-19 15:06:53 UTC (rev 1006)
+++ branches/5.1/Driver/Source/SchemaProvider.cs	2007-09-19 19:57:56 UTC (rev 1007)
@@ -575,12 +575,12 @@
 
             DBVersion v = connection.driver.Version;
             string ver = String.Format("{0:0}.{1:0}.{2:0}",
-                                       v.Major, v.Major, v.Build);
+                                       v.Major, v.Minor, v.Build);
 
             DataRow row = dt.NewRow();
             row["CompositeIdentifierSeparatorPattern"] = "\\.";
             row["DataSourceProductName"] = "MySQL";
-            row["DataSourceProductVersion"] = connection.ServerVersion;
+			row["DataSourceProductVersion"] = connection.ServerVersion;
             row["DataSourceProductVersionNormalized"] = ver;
             row["GroupByBehavior"] = GroupByBehavior.Unknown;
             row["IdentifierPattern"] =

Thread
Connector/NET commit: r1007 - branches/5.1/Driver/Sourcerburnett19 Sep