[Mono-bugs] [Bug 76066][Nor] Changed - All calls to Fill on the
DbDataAdapter result in a call to IDataReader.GetSchemaTable
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Sep 20 11:33:37 EDT 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by jbbugzilla at tuxinthebox.net.
http://bugzilla.ximian.com/show_bug.cgi?id=76066
--- shadow/76066 2005-09-20 11:19:09.000000000 -0400
+++ shadow/76066.tmp.25116 2005-09-20 11:33:37.000000000 -0400
@@ -46,6 +46,15 @@
MissingSchemaAction, GetSchemaTable should be called.
And also, I don't notice that is called multiple times. Eventhough
called, it is optimized at DataReader to cache that information.
+
+------- Additional Comments From jbbugzilla at tuxinthebox.net 2005-09-20 11:33 -------
+The attached patch demonstrates how to fill the DataSet without
+calling GetSchemaTable. There aren't multiple calls to
+GetSchemaTable, but the implementation could have multiple queries
+(and does for Npgsql). Please review the patch before dismissing this.
+
+The MS runtime does not rely on the implementation of the
+IDataReader.GetSchemaTable to know what columns belong in the DataSet.
More information about the mono-bugs
mailing list