File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,21 +185,21 @@ static async Task<QueryResult<Queue<object[]>>> RetrieveAsyncInternal(DbDataRead
185185 var t = token ?? CancellationToken . None ;
186186 var buffer = new Queue < object [ ] > ( ) ;
187187
188- if ( ! readStarted )
189- readStarted = useReadAsync
190- ? await reader . ReadAsync ( t )
191- : ( ! t . IsCancellationRequested && reader . Read ( ) ) ;
188+ if ( ! readStarted )
189+ readStarted = useReadAsync
190+ ? await reader . ReadAsync ( t )
191+ : ( ! t . IsCancellationRequested && reader . Read ( ) ) ;
192192
193- if ( readStarted )
194- {
195- do
196- {
197- buffer . Enqueue ( handler ( reader ) ) ;
198- }
199- while ( useReadAsync
200- ? await reader . ReadAsync ( t )
201- : ( ! t . IsCancellationRequested && reader . Read ( ) ) ) ;
202- }
193+ if ( readStarted )
194+ {
195+ do
196+ {
197+ buffer . Enqueue ( handler ( reader ) ) ;
198+ }
199+ while ( useReadAsync
200+ ? await reader . ReadAsync ( t )
201+ : ( ! t . IsCancellationRequested && reader . Read ( ) ) ) ;
202+ }
203203
204204 if ( ! useReadAsync )
205205 t . ThrowIfCancellationRequested ( ) ;
You can’t perform that action at this time.
0 commit comments