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
Ctrl+C to cancel queries [CORE704] #1076
Comments
Commented by: @mkubecek Patch against 2.1.0.13360: if isql is interactive, SIGINT interrupts a query (only select). For non-interactive isql, program is terminated. |
Modified by: @mkubecekAttachment: firebird-2.1.0.13360-isqlint.patch [ 10021 ] |
Commented by: @mkubecek Fixed wrong initial value of Interrupt_flag. |
Modified by: @mkubecekAttachment: firebird-2.1.0.13360-isqlint.patch [ 10022 ] |
Commented by: @asfernandes Thanks Michal! |
Commented by: @asfernandes Michal, at first glance I've think your patch is posix specific, but it works in Windows too. I do have only one comment, why remove "#include <signal.h>"? |
Commented by: @mkubecek It is not removed, it was included twice: once unconditionally and once depending on HAVE_SIGNAL_H. So I removed first #include and left only the second (conditional). |
Modified by: @asfernandesstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.1 [ 10041 ] assignee: Dmitry Yemanov [ dimitr ] SF_ID: 929233 => |
Modified by: @pcisarassignee: Dmitry Yemanov [ dimitr ] => |
Modified by: @pcisarFix Version: 2.1 Alpha 1 [ 10150 ] SF_ID: 929233 => Fix Version: 2.1.0 [ 10041 ] => |
Modified by: @pcisarWorkflow: jira [ 10728 ] => Firebird [ 15103 ] |
Submitted by: @asfernandes
Is related to QA105
Attachments:
firebird-2.1.0.13360-isqlint.patch
firebird-2.1.0.13360-isqlint.patch
SFID: 929233#
Submitted By: asfernandes
At this moment, pressing Ctrl+C in ISQL causes the
program termination.
Is more useful if Ctrl+C cancel the running query (i.e.
abort the output display).
Adriano.
Commits: ad4113e
The text was updated successfully, but these errors were encountered: