Fixed an issue where syntax error was not highlighting in query tool. #6887

This commit is contained in:
Pravesh Sharma
2023-11-23 15:55:23 +05:30
committed by GitHub
parent e66cb54a58
commit b51df0e5fd

View File

@@ -283,6 +283,9 @@ export class ResultSetUtils {
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.EXECUTION_END); this.eventBus.fireEvent(QUERY_TOOL_EVENTS.EXECUTION_END);
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.FOCUS_PANEL, PANELS.MESSAGES); this.eventBus.fireEvent(QUERY_TOOL_EVENTS.FOCUS_PANEL, PANELS.MESSAGES);
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.SET_CONNECTION_STATUS, CONNECTION_STATUS.TRANSACTION_STATUS_INERROR); this.eventBus.fireEvent(QUERY_TOOL_EVENTS.SET_CONNECTION_STATUS, CONNECTION_STATUS.TRANSACTION_STATUS_INERROR);
if (!flags.external) {
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.HIGHLIGHT_ERROR, parseApiError(error));
}
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.PUSH_HISTORY, { this.eventBus.fireEvent(QUERY_TOOL_EVENTS.PUSH_HISTORY, {
status: false, status: false,
start_time: this.startTime, start_time: this.startTime,