Skip to content

Commit 963d3f0

Browse files
committed
Add logging for #344
1 parent 3839e5d commit 963d3f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DbConnection.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ void DbConnection::cancel_query() {
100100
PGcancel* cancel = PQgetCancel(pConn_);
101101
if (cancel == NULL) stop("Connection error detected via PQgetCancel()");
102102

103+
LOG_DEBUG;
104+
103105
// PQcancel() actually issues the cancel command to the backend.
104106
char errbuf[256];
105107
if (!PQcancel(cancel, errbuf, sizeof(errbuf))) {

0 commit comments

Comments
 (0)