Ensure the logFileLocation is set
`logFileLocation` was not set after a query finishes running. I don't know when this bug was introduced. I think it goes as far back as the refactor to remove the old query server.
This commit is contained in:
@@ -74,7 +74,10 @@ export class CompletedQueryInfo implements QueryWithResults {
|
|||||||
* Map from result set name to SortedResultSetInfo.
|
* Map from result set name to SortedResultSetInfo.
|
||||||
*/
|
*/
|
||||||
public sortedResultsInfo: Record<string, SortedResultSetInfo> = {},
|
public sortedResultsInfo: Record<string, SortedResultSetInfo> = {},
|
||||||
) {}
|
) {
|
||||||
|
// The log path is only set when loading from the query history.
|
||||||
|
this.logFileLocation = logFileLocation ?? this.query.logPath;
|
||||||
|
}
|
||||||
|
|
||||||
setResultCount(value: number) {
|
setResultCount(value: number) {
|
||||||
this.resultCount = value;
|
this.resultCount = value;
|
||||||
|
|||||||
Reference in New Issue
Block a user