Fix copy-and-past thinko (src/interfaces/libpq/fe-cancel.c)
Hi.
In the function *PQcancelCreate* there is a copy-and-past thinko.
The pointer that must be checked is cancelConn.
Trivial patch attached.
best regards,
Ranier Vilela
Attachments:
fix-copy-and-past-thinko-fe-cancel.patchapplication/octet-stream; name=fix-copy-and-past-thinko-fe-cancel.patchDownload+1-1
On 17 Jun 2025, at 15:40, Ranier Vilela <ranier.vf@gmail.com> wrote:
In the function *PQcancelCreate* there is a copy-and-past thinko.
The pointer that must be checked is cancelConn.Trivial patch attached.
Nice catch, will fix.
--
Daniel Gustafsson
Em ter., 17 de jun. de 2025 às 10:42, Daniel Gustafsson <daniel@yesql.se>
escreveu:
On 17 Jun 2025, at 15:40, Ranier Vilela <ranier.vf@gmail.com> wrote:
In the function *PQcancelCreate* there is a copy-and-past thinko.
The pointer that must be checked is cancelConn.Trivial patch attached.
Nice catch, will fix.
v1 attached, thanks.
best regards,
Ranier Vilela
Attachments:
v1-fix-copy-and-past-thinko-fe-cancel.patchapplication/octet-stream; name=v1-fix-copy-and-past-thinko-fe-cancel.patchDownload+1-1
Em ter., 17 de jun. de 2025 às 10:42, Daniel Gustafsson <daniel@yesql.se>
escreveu:
On 17 Jun 2025, at 15:40, Ranier Vilela <ranier.vf@gmail.com> wrote:
In the function *PQcancelCreate* there is a copy-and-past thinko.
The pointer that must be checked is cancelConn.Trivial patch attached.
Nice catch, will fix.
Thanks for the commit, Daniel.
best regards,
Ranier Vilela