diff options
Diffstat (limited to 'mcs/class/System.Data/System.Data.SqlClient/SqlDataReader.cs')
-rw-r--r-- | mcs/class/System.Data/System.Data.SqlClient/SqlDataReader.cs | 3 |
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); |