-
Notifications
You must be signed in to change notification settings - Fork 193
Fix for malformed query leading to CLI hanging. #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a regression test?
yield self.tabular_results_generator(column_info=None, result_rows=None, | ||
query=query, message=query_response.error_message, | ||
is_error=True) | ||
elif isinstance(query_response, queryservice.QueryMessageEvent): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are we deleting this? We need it to hamdle Error response events #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Fixing queryexecution service to handle error during query execution. * Fixing format of for statement. * Fixing pep8 space after comma. * Adding 2 second sleep after connection. * Adding regression test. * Updating baseline. * Fixing baseline.
* Fixing queryexecution service to handle error during query execution. * Fixing format of for statement. * Fixing pep8 space after comma. * Adding 2 second sleep after connection. * Adding regression test. * Updating baseline. * Fixing baseline.
* Fixing queryexecution service to handle error during query execution. * Fixing format of for statement. * Fixing pep8 space after comma. * Adding 2 second sleep after connection. * Adding regression test. * Updating baseline. * Fixing baseline.
A query execute string request would not mark itself as finished when receiving a query execute error response event, leaving mssqlcliclient infinitely looping for a response.
If a error is returned during execute_single_batch_query, immediately return rather.
Fix for #136