# | Line 196 | Line 196 | begin | |
---|---|---|
196 | QueryResultsItem := Results.Find(isc_info_svc_to_eof); | |
197 | if QueryResultsItem <> nil then | |
198 | bytesWritten := QueryResultsItem.CopyTo(BakFile,0); | |
199 | < | until (bytesWritten = 0) or not WriteServiceQueryResult(Results); |
199 | > | until ((bytesWritten = 0) and (Results.Find(isc_info_svc_timeout) = nil)) |
200 | > | or not WriteServiceQueryResult(Results); |
201 | writeln(OutFile,'Local Backup Complete'); | |
202 | finally | |
203 | BakFile.Free; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |