Modified:
branches/5.1/TestSuite/Source/StoredProcedure.cs
Log:
fixed error where I wasn't closing the datareader at the end of the test.
Modified: branches/5.1/TestSuite/Source/StoredProcedure.cs
===================================================================
--- branches/5.1/TestSuite/Source/StoredProcedure.cs 2007-11-05 19:16:28 UTC (rev 1066)
+++ branches/5.1/TestSuite/Source/StoredProcedure.cs 2007-11-05 19:17:13 UTC (rev 1067)
@@ -1353,7 +1353,9 @@
END");
MySqlCommand command = new MySqlCommand("spTest", conn);
command.CommandType = CommandType.StoredProcedure;
- MySqlDataReader reader = command.ExecuteReader();
+ using (MySqlDataReader reader = command.ExecuteReader())
+ {
+ }
}
/// <summary>
| Thread |
|---|
| • Connector/NET commit: r1067 - branches/5.1/TestSuite/Source | rburnett | 5 Nov |