Parcourir la source

Create guid from the string fetched.

svn path=/trunk/mcs/; revision=49026
Boris Kirzner il y a 20 ans
Parent
commit
facda25eff

+ 4 - 0
mcs/class/System.Data/System.Data.ProviderBase.jvm/ChangeLog

@@ -1,3 +1,7 @@
+2005-28-08 Boris Kirzner <[email protected]>
+	* ReaderCache.cs: 
+		- Create Guid from the string fetched.
+
 2005-28-08 Boris Kirzner <[email protected]>
 	* AbstractDBCommand.cs: 
 		- Do not check for "select ... from", just add "for browse" if needed.

+ 1 - 1
mcs/class/System.Data/System.Data.ProviderBase.jvm/ReaderCache.cs

@@ -254,7 +254,7 @@ namespace System.Data.Common
 		{
 			string s = rs.getString(columnIndex);
 			if (s != null)
-				_g = new Guid();
+				_g = new Guid(s);
 		}
 
 		public override object GetValue()