From 5ce3fc959d11bbc14918cc7b08e7f4ef63439304 Mon Sep 17 00:00:00 2001 From: Ziming Zhang Date: Mon, 29 Apr 2024 17:50:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dhandle=5Fsigint=E5=88=86?= =?UTF-8?q?=E6=94=AF=E5=88=A4=E6=96=AD=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bin/psql/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/psql/common.cpp b/src/bin/psql/common.cpp index 4014e3d6f..6936c85b1 100644 --- a/src/bin/psql/common.cpp +++ b/src/bin/psql/common.cpp @@ -313,7 +313,7 @@ static void handle_sigint(SIGNAL_ARGS) } } - if (readline_status == WAIT_INPUT) { + if (readline_status == COMPLETE_QUERY) { readline_status = COMPLETE_CANCELLED; }