Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Data/System.Data.SqlClient/SqlDataReader.cs')
-rw-r--r--mcs/class/System.Data/System.Data.SqlClient/SqlDataReader.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/mcs/class/System.Data/System.Data.SqlClient/SqlDataReader.cs b/mcs/class/System.Data/System.Data.SqlClient/SqlDataReader.cs
index abe23c3aebf..52b6a0a589a 100644
--- a/mcs/class/System.Data/System.Data.SqlClient/SqlDataReader.cs
+++ b/mcs/class/System.Data/System.Data.SqlClient/SqlDataReader.cs
@@ -131,9 +131,6 @@ namespace System.Data.SqlClient {
public void Close ()
{
- // skip to end & read output parameters
- while (NextResult ())
- ;
isClosed = true;
command.Connection.DataReader = null;
command.CloseDataReader (moreResults);