[Mono-bugs] [Bug 63209][Nor] Changed - Some bugs on the
GetSchemaTable method in the SqliteDataReader class.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri May 20 11:02:31 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 tsureshkumar at novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=63209
--- shadow/63209 2005-05-20 11:00:30.000000000 -0400
+++ shadow/63209.tmp.15966 2005-05-20 11:02:31.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 63209
Product: Mono: Class Libraries
Version: unspecified
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Normal
Component: Sys.Data
AssignedTo: tsureshkumar at novell.com
ReportedBy: tapia at eitig.com
QAContact: mono-bugs at ximian.com
@@ -62,6 +62,44 @@
./compile.sh
mono Database.exe
Greetings.
C.
+
+------- Additional Comments From tsureshkumar at novell.com 2005-05-20 11:02 -------
+the test file is not available in that site. i know i am looking there
+late ;-).
+
+anyway, it seems this issue is fixed with the current svn. Can you
+please check this with the svn copy.
+
+I've added a similar test case in svn.
+
+ [Test]
+ public void GetSchemaTableTest ()
+ {
+ _conn.ConnectionString = _connectionString;
+ SqliteDataReader reader = null;
+ using (_conn) {
+ _conn.Open ();
+ SqliteCommand cmd =
+_conn.CreateCommand ();
+ cmd.CommandText = "select * from test";
+ reader = cmd.ExecuteReader ();
+ try {
+ DataTable dt =
+reader.GetSchemaTable ();
+ Assert.IsNotNull (dt, "#GS1
+should return valid table");
+ Assert.IsTrue (dt.Rows.Count >
+0, "#GS2 should return with rows ;-)");
+ } finally {
+ if (reader != null &&
+!reader.IsClosed)
+ reader.Close ();
+ _conn.Close ();
+ }
+ }
+ }
+
+I cheked with revision 44820.
More information about the mono-bugs
mailing list