diff options
author | Egor Bogatov <egorbo@gmail.com> | 2017-03-10 15:48:59 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-03-10 15:48:59 +0300 |
commit | ea5c5fe093876b1c5b631de9f42076383eee36ba (patch) | |
tree | b47e5f44cf4dda6ab5356ad71fc5ad58d1b1a3cf /mcs/class/referencesource | |
parent | aad9126f5fc92cbd24f795d6fa7c471d04e6a00a (diff) |
Fix [Bug 52795] Infinite loop on MySqlDataReader.ReadAsync() (#4504)
Diffstat (limited to 'mcs/class/referencesource')
-rw-r--r-- | mcs/class/referencesource/System.Data/System/Data/Common/AdapterUtil.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/referencesource/System.Data/System/Data/Common/AdapterUtil.cs b/mcs/class/referencesource/System.Data/System/Data/Common/AdapterUtil.cs index 32bc1e964e2..1ba61d95a6a 100644 --- a/mcs/class/referencesource/System.Data/System/Data/Common/AdapterUtil.cs +++ b/mcs/class/referencesource/System.Data/System/Data/Common/AdapterUtil.cs @@ -81,7 +81,7 @@ namespace System.Data.Common { static internal Task<bool> s_trueTask = Task.FromResult<bool>(true); - static internal Task<bool> s_falseTask = Task.FromResult<bool>(true); + static internal Task<bool> s_falseTask = Task.FromResult<bool>(false); [BidMethod] // this method accepts BID format as an argument, this attribute allows FXCopBid rule to validate calls to it static private void TraceException( |