From 3bd6c363de1d923c6b464761111060dcb0b57f73 Mon Sep 17 00:00:00 2001 From: Arjun Balgovind <32061677+arjunbalgovind@users.noreply.github.com> Date: Tue, 25 Aug 2020 12:07:17 -0700 Subject: [PATCH] Added missing ! to condition check (#6162) --- .../Microsoft.Plugin.Indexer/SearchHelper/OleDBSearch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/SearchHelper/OleDBSearch.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/SearchHelper/OleDBSearch.cs index f029167ea6..ff6f873963 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/SearchHelper/OleDBSearch.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/SearchHelper/OleDBSearch.cs @@ -29,7 +29,7 @@ namespace Microsoft.Plugin.Indexer.SearchHelper { if (!wDSResults.IsClosed && wDSResults.HasRows) { - while (wDSResults.IsClosed && wDSResults.Read()) + while (!wDSResults.IsClosed && wDSResults.Read()) { List fieldData = new List(wDSResults.FieldCount); for (int i = 0; i < wDSResults.FieldCount; i++)