Kaynağa Gözat

2004-08-04 Umadevi S ([email protected])
* OdbcDataReader.cs - Fixed bug 61832 - Column names were not filled, due to which name based lookup of columns failed.

svn path=/trunk/mcs/; revision=31855

Umadevi S 21 yıl önce
ebeveyn
işleme
18599ae4de

+ 4 - 0
mcs/class/System.Data/System.Data.Odbc/ChangeLog

@@ -1,3 +1,7 @@
+2004-08-04 Umadevi S ([email protected])
+        * OdbcDataReader.cs - Fixed bug 61832 - Column names were not filled, due to which name based lookup of columns failed.
+                                                                                                  
+
 2004-08-04 Umadevi S ([email protected])
         * OdbcDataReader.cs - Fixed bug 61405 - Handling smallint column type.
 

+ 2 - 0
mcs/class/System.Data/System.Data.Odbc/OdbcDataReader.cs

@@ -606,6 +606,8 @@ namespace System.Data.Odbc
 				currentRow=-1;
 			else
 				currentRow++;
+			GetSchemaTable();
+			
 			// Clear cached values from last record
 			foreach (OdbcColumn col in cols)
 			{