diff options
Diffstat (limited to '')
-rw-r--r-- | src/bin/psql/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c index f5909f9..9d9d04b 100644 --- a/src/bin/psql/common.c +++ b/src/bin/psql/common.c @@ -1625,6 +1625,8 @@ ExecQueryAndProcessResults(const char *query, if (cancel_pressed) { + /* drop this next result, as well as any others not yet read */ + ClearOrSaveResult(result); ClearOrSaveAllResults(); break; } |